Problem with static SDL2 |
Re: Problem with static SDL2 |
Sparks
|
Why are you doing /NODEFAULTLIB? You need the default libs so that it can link in all the functions it needs. |
|||||||||||||
|
MrTAToad
|
Apparently :
__fltused implies you are using or have at least declared some floats or doubles. The compiler injects this 'useless' symbol to cause a floating support .obj to get loaded from the crt. You can get around this by simply declaring a symbol with the name #ifdef __cplusplus extern "C" { #endif int __fltused=0; #ifdef __cplusplus } #endif |
|||||||||||
|