[SDL] Setting up on VC++

Vitaliy Mikitchenko vitviper at hotmail.com
Fri Jan 24 13:01:01 PST 2003


Add OpenGL to your list of libraries.

----- Original Message -----
From: "Janito Vaqueiro Ferreira Filho" <jvffprogramming at ieg.com.br>
To: "SDL Mailing List" <sdl at libsdl.org>
Sent: Friday, January 24, 2003 12:47 PM
Subject: [SDL] Setting up on VC++


> Hello,
>     Can someone tell me the basic steps for setting a VC++ 6.0 project
> to work wiht SDL & OpenGL? I followed the steps from
> http://www.gamedev.net/reference/programming/features/sdl1/page2.asp but
> I get the following error:
>
> LINK : fatal error LNK1104: cannot open file "SDL.lib"
>
> If I remove the SDL.lib & SDLmain.lib from the linker settings and add
> it to the project I get the following errors:
>
> main.obj : error LNK2001: unresolved external symbol _gluPerspective at 32
> main.obj : error LNK2001: unresolved external symbol
__imp__glLoadIdentity at 0
> main.obj : error LNK2001: unresolved external symbol __imp__glMatrixMode at 4
> main.obj : error LNK2001: unresolved external symbol __imp__glViewport at 16
> main.obj : error LNK2001: unresolved external symbol __imp__glColor3f at 12
> main.obj : error LNK2001: unresolved external symbol __imp__glClear at 4
> SDLmain.lib(SDL_main.obj) : error LNK2001: unresolved external symbol
> _SDL_main
>
> How can I solve this? ThanQ,
>
>         JVFF
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>




More information about the SDL mailing list