SDL problem with collision
Posted: Mon Jan 19, 2009 12:01 pm
hello again, im learning sdl from lazyfoo´s tutorials, now i have came to collision ( per-pixel collision )
but i encounter a problem,
i have tryed to solve this on my own but i really cant figure out whats wrong
so i tryed to compile the source from his website and i get the same problem so it have to be something wrong with my compiler cause it compiled fine before this tutorial!
heres the wrong message:
maybe someone else got the same error on that tutorial, also i use visual studio 2008 express. thanks
but i encounter a problem,
i have tryed to solve this on my own but i really cant figure out whats wrong
so i tryed to compile the source from his website and i get the same problem so it have to be something wrong with my compiler cause it compiled fine before this tutorial!
heres the wrong message:
Code: Select all
1>Linking...
1>main.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function "public: struct SDL_Rect & __thiscall std::vector<struct SDL_Rect,class std::allocator<struct SDL_Rect> >::operator[](unsigned int)" (??A?$vector@USDL_Rect@@V?$allocator@USDL_Rect@@@std@@@std@@QAEAAUSDL_Rect@@I@Z)
1>C:\Users\Timmy\Documents\Visual Studio 2008\Projects\SDLGAME\Debug\SDLGAME.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Users\Timmy\Documents\Visual Studio 2008\Projects\SDLGAME\SDLGAME\Debug\BuildLog.htm"
1>SDLGAME - 2 error(s), 3 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========