PellesC - PureBASIC - External Symbol unresolved XLen/XRan

Started by freddix, October 19, 2007, 10:22:08 AM

Previous topic - Next topic

freddix

Hi all, I'm new here.

I use PureBASIC and, I'd like to integre DarkGDK in.
I managed to import many .LIB to resolve all external links needed but two of them remain unresolved.
I searched over the net, over PureBASIC forums, about this problem but no one was able to find the solution. ( I searched with terms : ?_Xran@_String_base@std@@QBEXXZ and with ?_Xlen@_String_base@std@@QBEXXZ separately )

Here is the linker error :

---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol '?_Xran@_String_base@std@@QBEXXZ'.
POLINK: error: Unresolved external symbol '?_Xlen@_String_base@std@@QBEXXZ'.
POLINK: error: Unresolved external symbol '___ImageBase'.
POLINK: fatal error: 3 unresolved external(s).
---------------------------
OK
---------------------------

Related topics used for me to search :
http://www.purebasic.fr/english/viewtopic.php?t=28544&highlight=
http://www.purebasic.fr/english/viewtopic.php?t=28571&highlight=
http://www.purebasic.fr/english/viewtopic.php?t=28747&highlight=
http://www.purebasic.fr/english/viewtopic.php?t=29045&highlight=
http://www.purebasic.fr/english/viewtopic.php?t=29189&highlight=
http://www.purebasic.fr/english/viewtopic.php?t=23380&highlight=

Is it a compatibility issue between PellesC and these functions ? or something else ?
I hope someone can help me :)

Thank you

Regards,
Fred
Odyssey-Creators
http://www.odyssey-creators.com

TimoVJL

PellesC is C compiler

'?_Xran@_String_base@std@@QBEXXZ'
'?_Xlen@_String_base@std@@QBEXXZ'

are exported C++ functions from msvcpxx.dll, like msvcp71.dll


May the source be with you

freddix

so, which .lib should I import to have these external symbols resolved ?

Thank you.

Regards,
Fred

Ngan Lo