![Wink ;)](./images/smilies/icon_wink.gif)
ill upload a static build for gcc also soon.
SDL2 is getting to a point where it beats the old SDL
![Smile :)](./images/smilies/icon_smile.gif)
More info is allways appreciated
![Wink ;)](./images/smilies/icon_wink.gif)
Thanks! I've have to try this out!revelator wrote:for msvc static pthread buildhttp://sourceforge.net/projects/cbadvan ... z/download
ill upload a static build for gcc also soon.
SDL2 is getting to a point where it beats the old SDLbeen toying a bit with it and looks promissing.
More info is allways appreciatedbring it on !.
Sad to report this is 64-bit lib, if I am understand correctly.revelator wrote:for msvc static pthread buildhttp://sourceforge.net/projects/cbadvan ... z/download
That was very quick!revelator wrote:http://sourceforge.net/projects/cbadvan ... z/download
yep pthread linked to the dll runtimes so i fixed that part, they are now linked to the static msvc runtime instead.
above package only includes the msvc libraries, just replace the old ones with these and you should be good to go
i also included the debug library in case you need to go bughunting
Code: Select all
pthreadVC2d.lib(pthread.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (40300040)
libcmtd.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
libcmtd.lib(tolower.obj) : error LNK2005: __tolower already defined in LIBCD.lib(tolower.obj)
libcmtd.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj)
LIBCD.lib(crt0init.obj) : warning LNK4098: defaultlib "libcmtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol ___security_cookie
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol __ftime64_s
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol _strncat_s
Code: Select all
pthreadVC2d.lib(pthread.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (40300040)
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol __endthreadex
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol ___security_cookie
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol __ftime64_s
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol __beginthreadex
pthreadVC2d.lib(pthread.obj) : error LNK2001: unresolved external symbol _strncat_s
Code: Select all
pthreadVC2.lib(pthread.obj) : warning LNK4078: multiple ".CRT" sections found with different attributes (40300040)
libcmt.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
libcmt.lib(tolower.obj) : error LNK2005: __tolower already defined in LIBCD.lib(tolower.obj)
libcmt.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj)
LIBCD.lib(crt0init.obj) : warning LNK4098: defaultlib "libcmt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
pthreadVC2.lib(pthread.obj) : error LNK2001: unresolved external symbol __ftime64_s
pthreadVC2.lib(pthread.obj) : error LNK2001: unresolved external symbol ___security_cookie
pthreadVC2.lib(pthread.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
pthreadVC2.lib(pthread.obj) : error LNK2001: unresolved external symbol _strncat_s
Debug/thready.exe : fatal error LNK1120: 4 unresolved externals
I believe it! Especially since later Visual Studio has thread safe string writes for snprint and such. I wouldn't expect a threading library today to contort itself to support vc6.revelator wrote:msvc 6 is no longer compatible with the pthread source code