Can't compile SDL project (linker error) with Visual C ++ 2010 Express Edition

I am trying to compile a sample SDL project in Visual Studio C ++ Express Edition. I have the following linker error:

LINK : fatal error LNK1104: cannot open file 'SDL.lib SDLmain.lib'


The problem is here: I added libraries to a tab under the linker section (Additional dependencies) Why am I having this problem if I added them to the project?

In the VC ++ directories, I added the libraries directory to the value Library directories.


source to share

1 answer

Have you added the location of these libraries to Additional Library Directories

on the page Linker/General

in the project properties?



All Articles