Pelles C forum

Pelles C => General discussions => Topic started by: Gerome on January 09, 2005, 02:44:59 PM

Title: POLINK: fatal error ?
Post by: Gerome on January 09, 2005, 02:44:59 PM
Hi,

I have a DLL sample i've made with those parameters :

POC_PROJECT_EXECUTOR = #
CC = pocc.exe#
AS = ml.exe#
RC = porc.exe#
LINK = polink.exe#
CCFLAGS = -Tx86-coff -Ot -W1 -Gz -Ze -Zl #
ASFLAGS = -W1 -Cu -c -nologo -coff#
RCFLAGS = #
LINKFLAGS =  -subsystem:windows -machine:ix86 -entry:DllMain@12 -dll -def:SmallDLL.def kernel32.lib user32.lib#
WizCreator = Pelle Orinius#


And i encounter this error :
POLINK: fatal error: File not found: 'crt.lib'.

What does mean this error please ?
Thanks for your help.
Title: POLINK: fatal error ?
Post by: Pelle on January 09, 2005, 04:17:38 PM
Hello,

crt.lib is the name of the default Pelles C runtime library (single threaded). Sounds like a PATH problem. In the IDE, under Tools -> Options -> Folders, Type: libraries, check that you have a path to the Lib folder where Pelles C is installed (something like C:\Program Files\Pelles C\Lib). I can't see anything obviously wrong with the project options.

Pelle
Title: POLINK: fatal error ?
Post by: Gerome on January 09, 2005, 04:29:02 PM
Hi,

Thanks !
It was exactly that solution !
Thanks for your help !

Quote from: "Pelle"Hello,

crt.lib is the name of the default Pelles C runtime library (single threaded). Sounds like a PATH problem. In the IDE, under Tools -> Options -> Folders, Type: libraries, check that you have a path to the Lib folder where Pelles C is installed (something like C:\Program Files\Pelles C\Lib). I can't see anything obviously wrong with the project options.

Pelle
Title: Re: POLINK: fatal error ?
Post by: london_coder on November 03, 2009, 12:12:51 PM
Hello

I too am getting POLINK: fatal error: File not found

In my case, I have added the lib folder that contains the "apo32dll.dll" library that I am trying to link with, to the "Project options"->Folders->Libraries list.  I have also copied the dll to the Pelles C\Lib folder and still get the same error.  Can you please let me know what I am doing wrong?

Kind regards
Title: Re: POLINK: fatal error ?
Post by: TimoVJL on November 03, 2009, 02:12:51 PM
Have you make/find apo32dll.lib for that apo32dll.dll ?
Use polib.exe to make that apo32dll.lib if you haven't that already.