NO

Author Topic: POLINK: fatal error ?  (Read 5596 times)

Gerome

  • Guest
POLINK: fatal error ?
« on: January 09, 2005, 02:44:59 PM »
Hi,

I have a DLL sample i've made with those parameters :
Code: [Select]

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.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
POLINK: fatal error ?
« Reply #1 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
/Pelle

Gerome

  • Guest
POLINK: fatal error ?
« Reply #2 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

london_coder

  • Guest
Re: POLINK: fatal error ?
« Reply #3 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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: POLINK: fatal error ?
« Reply #4 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.
May the source be with you