libSDL - linking error in Emu mode


I’m trying to get a SDL+CUDA project to link, but I’m having some trouble: If I do a release build, everything will link fine (I add sdlmain, sdl libs, and add /MD compile option)

If I try the same with an Emulator build, then I get this error:

1>main.obj : error LNK2019: unresolved external symbol __Znaj referenced in function _SDL_main
1>C:\dev\cuda-fluids\EmuDebug\CUDAtest.exe : fatal error LNK1120: 1 unresolved externals

Does anyone know what might be causing this, or how to solve it?


hi a… ,

just wonna say hello ;-)

for your problem … don’t know … use linux?