[fpc-pascal] MPICH on Pascal

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 21 19:12:38 CET 2007


On Thu, 20 Dec 2007 08:58:49 -0300
"Lourival Mendes" <mendes.lourival at gmail.com> wrote:

> Dear Mattias,
> 
>  Replacing the {$linklib c} with
>   {$IFDEF Unix}
>   {$linklib c}
>   {$ENDIF}
> 
>   It really worked, thanks...
> 
>   Now some other interesting stuff happended, as you probably did on
> the -l option you created the mpich.dll but the program, even
> successufully compiled, it doens find the mpich.dll.
> 
>    Here is my tryes:
> 
> 1) I tryed to compile from the MPICH2 package from the inside of the
> Lazarus; I got the same error
> 
> 2) I followed your tutorial on the wiki
> (http://wiki.lazarus.freepascal.org/Creating_bindings_for_C_libraries)
> installing the H2Pas and creating the mpich.dll with the mpi.h and
> mpio.h; it runs but I get:

h2pas does not create a mpich.dll.

 
> File not Open
> 
> Press OK to ignore and risk data corruption
> Press Cancel to kill to program

Hmm. Maybe you can create a backtrace for me?

http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB

 
> 3) The same thing happens when I try to open the mpich2.h2p file that
> cames with the lazarus package.
> 
>    Do you know if someone got the same error?

No.


Mattias



More information about the fpc-pascal mailing list