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.
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
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
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
Have you make/find apo32dll.lib for that apo32dll.dll ?
Use polib.exe to make that apo32dll.lib if you haven't that already.