if it were me i'd rewrite it to use relative paths so that you don't have to change the path for each project, setup as a tree based source layout so that the sdl is in the root and your projects are in in a sub directory. that way you can ..\ to the includes and libraries. It also allows you to integrate properly into source safe since it doesn't easily allow different source files from different trees in the same directory.
also i'm fairly sure the sample "hello world" app won't prove SDL libs are being correctly being included, since its not actually using anything from the libs, only the headers.
also instead of using a .lib set into the project settings, you can add a #pragma to get the lib to automatically include from the header.
Not using absolute paths is good practice when sharing with other programmers, and its good to start off that way, rather than say well it doesn't matter for now.
Also their HTML is broken for the sample code, they have to take care of the #includes bracketting.
|