Hi all !
I 'm working with my friends in a basic game project ( it 's just a newbie one, though )
I 've searched and tried all tips that I 've found : setting the include Directories, adding the Linker, copying SDL.lib and SDLmain.lib to VC++ lib folder, throwing all .dll of SDL to System32 ... but it still DO remain the following errors :
1>------ Build started: Project: SDL_week2, Configuration: Debug Win32 ------
1>state_about.obj : error LNK2019: unresolved external symbol __imp__circleColor referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>state_about.obj : error LNK2019: unresolved external symbol __imp__rectangleColor referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>state_about.obj : error LNK2019: unresolved external symbol __imp__hlineRGBA referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>state_about.obj : error LNK2019: unresolved external symbol __imp__hlineColor referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>state_about.obj : error LNK2019: unresolved external symbol __imp__filledEllipseColor referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>state_about.obj : error LNK2019: unresolved external symbol __imp__stringColor referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>state_about.obj : error LNK2019: unresolved external symbol __imp__circleRGBA referenced in function "void __cdecl render_about(struct SDL_Surface *)" (?render_about@@YAXPAUSDL_Surface@@@Z)
1>C:\Users\Obelisk\Documents\Visual Studio 2010\Projects\SDL_week2\Debug\SDL_week2.exe : fatal error LNK1120: 7 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
If I remove my SDL (Simple DirectMedia Layer) functions listed in the error messages, the project is built successfully .
Nah, I forget to tell you that I 'm using VC++ 2010 Express .
Here 's the whole VC++ 2010 project :
http://www.mediafire.com/?5z1nj5kunuk
Can you please try it once and give me some tips ? :$
Thanx for even just downloading my project :-/ . I really gave up in searching and trying :@