• Log in or sign up for an account here: https://www.sythe.org/login

Need SDL help

lordzsolt

Grand Master

$5 USD Donor
Joined
Jul 1, 2008
Sythe Gold
2
Messages
2,059
Location
Behind You, Always behind you
Two Factor Authentication User
Halloween 2013
Problem solved.

Code:
I'm getting the error:

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

In VC++ Directories I have:
Include directories: C:\Program Files %28x86%29\Microsoft Visual Studio 10.0\SDL-1.2.15\include;$(IncludePath)
Library directories: C:\Program Files %28x86%29\Microsoft Visual Studio 10.0\SDL-1.2.15\lib;$(LibraryPath)

In C/C++ General I have:
Additional include directories: C:\Program Files %28x86%29\Microsoft Visual Studio 10.0\SDL-1.2.15\include;%(AdditionalIncludeDirectories)

In Linker General I have:
Additional Library directories: C:\Program Files %28x86%29\Microsoft Visual Studio 10.0\SDL-1.2.15\lib;%(AdditionalLibraryDirectories)

In Linker Input I have:
Iditional Dependancies: SDLmain.lib;SDL.lib;SDL_image.lib;OpenGL32.lib;glu32.lib;%(AdditionalDependencies)
 
Maybe you could post how you fixed it, or post a link to how you found out how to fix it? Since I'm sure googling this problem leads to hundreds of posts like this and rarely anything helpful.
 
duelarena.gg
Back
Top