NO

Author Topic: Compiled LIB - External Symbol ___ftoll  (Read 4794 times)

mk-soft

  • Guest
Compiled LIB - External Symbol ___ftoll
« on: May 04, 2007, 12:40:26 AM »
I have compiled a LIB for Purebasic.
Now Purebasic Linker message:

POLINK:Error: Unresolved external symbol '___ftoll'

can help me to insert this symbol  into the lib


Thanks

GT :)

« Last Edit: May 04, 2007, 12:50:40 AM by mk-soft »

sp00n

  • Guest
Re: Compiled LIB - External Symbol ___ftoll
« Reply #1 on: May 04, 2007, 10:37:49 AM »
Can i ask you - whats a reason to write in this branch? :)
Pelles C > C language > Beginner questions > Compiled LIB - External Symbol ___ftoll

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2113
Re: Compiled LIB - External Symbol ___ftoll
« Reply #2 on: May 04, 2007, 11:41:22 AM »
The symbol ___ftoll is defined in the pocrt library.
This library is automatically included when you compile a project.
Where have been compiled the sources? Have you compiled from IDE or from command line?
In the last case you have to add the pocrt.lib in the linker flow (or crt.lib for static linking).
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

mk-soft

  • Guest
Re: Compiled LIB - External Symbol ___ftoll
« Reply #3 on: May 05, 2007, 03:40:19 AM »
Now run a LIB for PureBasic

Settings:
#pragma ftol(inlined) for external symbol ___ftoll

Compiler Option:
/Zl for external symbol _fltused

 ;)

Modify for Purebasic this Code. http://disphelper.sourceforge.net/

Is very top code 8)