Howdy all.
I'm following a tutorial out of a book to create a window using SDL.
The problem is that I don't know how to add the SDL libraries to my project.
The libraries for SDL are in the following directory:
C:\SDL\lib
The headers are in this directory:
C:\SDL\include
and my project is in:
C:\Documents and Settings\Admin\My Documents\Visual Studio 2005\Projects
I'm using Visual C++ Express 2005.
In the book all it says it "Do not forget to link your project to the sdl.lib and the sdlmain.lib libraries"
I've tried going into my project properties->common properties->references and adding a new reference but there isnt anything there.
Also, in C/C++ ->Additional Include Directories I've added C:\SDL\include.
If someone could direct me to a tutorial or just explain to me how to add libraries outside of your project I'd really appreciate it.
My project only includes my 1 source file which includes SDL.h.
The source is attached.
THANK YOU!


Reply With Quote