SFML community forums
Help => General => Topic started by: toolate on October 07, 2012, 07:59:35 am
-
Hello.
I use VS2010 SP1 and have a problem with recent change.
Since LaurentGomila-SFML-2.0-rc-94-g26fa99f.zip
BUILD_SHARED_LIBS=TRUE, SFML_USE_STATIC_STD_LIBS=FALSE (/MD)
BUILD_SHARED_LIBS=FALSE, SFML_USE_STATIC_STD_LIBS=FALSE (/MD)
These compiled OK.
BUILD_SHARED_LIBS=FALSE, SFML_USE_STATIC_STD_LIBS=TRUE (SFML_STATIC, /MT)
This generate below error.
1>sfml-graphics-s.lib(ftbase.obj) : error LNK2001: unresolved external symbol __imp__longjmp
1>sfml-graphics-s.lib(smooth.obj) : error LNK2001: unresolved external symbol __imp__longjmp
1>sfml-graphics-s.lib(ftbase.obj) : error LNK2001: unresolved external symbol __imp__strncpy
1>sfml-graphics-s.lib(type1.obj) : error LNK2001: unresolved external symbol __imp__qsort
1>sfml-graphics-s.lib(ftbase.obj) : error LNK2001: unresolved external symbol __imp__qsort
1>sfml-graphics-s.lib(bdf.obj) : error LNK2001: unresolved external symbol __imp__qsort
1>sfml-graphics-s.lib(psmodule.obj) : error LNK2001: unresolved external symbol __imp__qsort
1>sfml-graphics-s.lib(psaux.obj) : error LNK2001: unresolved external symbol __imp__qsort
1>sfml-graphics-s.lib(truetype.obj) : error LNK2001: unresolved external symbol __imp__strstr
1>sfml-graphics-s.lib(jerror.obj) : error LNK2001: unresolved external symbol __imp__fprintf
1>sfml-graphics-s.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __imp__sscanf
1>sfml-graphics-s.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __imp__getenv
until LaurentGomila-SFML-2.0-rc-93-g7656693.zip all are OK
I think it's related to precompiled freetype.lib, glew.lib and jpeg.lib.
How can I resolve this situation? A newbie in distress. Help! ::)
-
Alright. I've found a work around.
It was those 3 files causing me a trouble. Not all 3 maybe. When I reverted back to previous ones it compiled OK again.
Anyone know why lack of /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" is giving me a headache?
Oh, well, I'm still learning. ::)
-
Don't waste too much time on this issue, it was most likely caused by my changes after commit g7656693.