unresolved externals (atoll)

Just starting out? Need help? Post your questions and find answers here.
superadnim
Enthusiast
Enthusiast
Posts: 480
Joined: Thu Jul 27, 2006 4:06 am

unresolved externals (atoll)

Post by superadnim »

I'm compiling a static library using visual studio 2015 but when I try to compile the PB source I get this error
---------------------------
PureBasic - Linker error
---------------------------
POLINK: error: Unresolved external symbol 'atoll'.

POLINK: fatal error: 1 unresolved external(s).


---------------------------
OK
---------------------------
but my code does include

Code: Select all

#include <stdio.h>
#include <stdlib.h>
no whole program optimizations is enabled , configuration type is "static library (.lib)" and my platform toolset is v120 (Visual Studio 2013) for PB LTS 5.70

my previous library has worked fine with these settings but now that I'm including a source that uses atoll i cannot get it to work in PB even though I am including the libraries any idea what could be wrong?

maybe I am missing something perhaps the libraries used in pb don't really contain atoll because they are older?

thanks

:lol: should I bash the keyboard and give up?
:?
Fred
Administrator
Administrator
Posts: 18178
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: unresolved externals (atoll)

Post by Fred »

It's probably because we link with an old CRT to avoid to ship the VisualStudio MSVCRTx.0.dll for every PB app. You can try the UCRT patcher by chi, to see if it link ?
Post Reply