16
General / Ok in debug mode but error in release (w7, 1.6 and vc 2010)
« on: October 07, 2011, 09:31:12 pm »
Environment
Windows 7 Enterprise 64
SFML 1.6
Visual C++ 2010 Express
When I installed SFML in vc2010 I have followed all instructions in this video:
and made everything work in debug mode and have had some joy in making games for some weeks now.
Today, when I tried to build my first project in release mode, something went wrong.
I get the error:
It's not that odd I suppose, since all sfml-<name>-s.lib vas deleted in the process of creating a 2010 express install from the 2008 express files, all according to the install video on Youtube.
Under the heading Linker - Additional Dependencies. In debug mode I have:
And in release mode I have:
but when I take a peek in my 2010 lib which is linked through heading:
Linker-Additional Library Directories C:\sfml16\SFML-1.6\lib\vc2010;%(AdditionalLibraryDirectories)
I do find the sfml-<name>-s-d.lib
and sfml-<name>-d.lib, but no sfml-<name>-s.lib.
Any idea where things have gone wrong? I have tried to change Heading Linker EnableIncrementalLinking to no avail.
PS.
Under heading C/C++-General I have AdditionalIncludeDirectories C:\sfml16\SFML-1.6\include;%(AdditionalIncludeDirectories)
if that can be of any help.
Windows 7 Enterprise 64
SFML 1.6
Visual C++ 2010 Express
When I installed SFML in vc2010 I have followed all instructions in this video:
and made everything work in debug mode and have had some joy in making games for some weeks now.
Today, when I tried to build my first project in release mode, something went wrong.
I get the error:
Code: [Select]
cannot open input file 'sfml-system-s.lib'
It's not that odd I suppose, since all sfml-<name>-s.lib vas deleted in the process of creating a 2010 express install from the 2008 express files, all according to the install video on Youtube.
Under the heading Linker - Additional Dependencies. In debug mode I have:
Code: [Select]
sfml-system-s-d.lib
sfml-window-s-d.lib
sfml-graphics-s-d.lib
sfml-audio-s-d.lib
And in release mode I have:
Code: [Select]
sfml-system-s.lib
sfml-window-s.lib
sfml-graphics-s.lib
sfml-audio-s.lib
but when I take a peek in my 2010 lib which is linked through heading:
Linker-Additional Library Directories C:\sfml16\SFML-1.6\lib\vc2010;%(AdditionalLibraryDirectories)
I do find the sfml-<name>-s-d.lib
and sfml-<name>-d.lib, but no sfml-<name>-s.lib.
Any idea where things have gone wrong? I have tried to change Heading Linker EnableIncrementalLinking to no avail.
PS.
Under heading C/C++-General I have AdditionalIncludeDirectories C:\sfml16\SFML-1.6\include;%(AdditionalIncludeDirectories)
if that can be of any help.