[fpc-pascal] MPICH on Pascal

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Dec 19 21:53:54 CET 2007


On Wed, 19 Dec 2007 13:17:50 -0300
"Lourival Mendes" <mendes.lourival at gmail.com> wrote:

>    Dear Mattias... sorry to bother again, but as I'm new to Lazarus I
> can't see somethings.
> 
>    When I loaded the HelloWorld from the examples I got this error:
> 
>    helloworld.lpr(14,1) Error: Import library not found for c
> 
>    I do believe that I got this because I'm using the
> 
>    {$linklib c}

Replace this with
{$IFDEF Unix}
{$linklib c}
{$ENDIF}

and try again.
 
>   Under Windows and this library is for linux... am I right?? So doyou
> know what would be the lib for windows??

Maybe the IO functions need some specials under windows. The rest
should work out-of-the-box under windows.

Mattias



More information about the fpc-pascal mailing list