I'll post the steps I'm doing exactly, one at a time, so hopefully someone can see if I'm doing something wrong (or missing something). I'll do this exactly as the official tutorial says to do.
1) Download SFML 2.0 Release Candidate (Windows 32 bits - Visual C++ 2010) and extract it (I put it in C:\sfml\)
2) Make a new 'Win32 Project' in Visual C++ 2010
3) Select 'Empty Project' and click 'Finish'
4) Add a main.cpp to the project, and fill it with example project from the tutorial (found here:
http://www.sfml-dev.org/tutorials/2.0/start-vc.php)
6) Project Properties -> Configuration -> "All Configurations"
7) Configuration Properties -> C/C++ -> General -> Additional Include Directories -> "C:\sfml\SFML-2.0-rc\include"
Configuration Properties -> Linker -> General -> Additional Library Directories -> "C:\sfml\SFML-2.0-rc\lib"
9) Configuration -> "Debug"
10) Configuration Properties -> Linker -> Input -> Additional Dependencies -> added "sfml-main-d.lib; sfml-graphics-d.lib; sfml-window-d.lib; sfml-system-d.lib; sfml-audio-d.lib; sfml-network-d.lib;" (I added main because it's a Windows application)
11) Configuration -> "Release
12) Configuration Properties -> Linker -> Input -> Additional Dependencies -> added "sfml-main.lib; sfml-graphics.lib; sfml-window.lib; sfml-system.lib; sfml-audio.lib; sfml-network.lib;"
13) Copied all 10 library files to the same folder as main.cpp (12 files copied total, including both sfml-main files)
------------------------------Try compiling with Debug.
I get this error:
1> main.cpp
1>sfml-main-d.lib(SFML_Main.cpp.obj) : warning LNK4099: PDB 'sfml-main-d.pdb' was not found with 'sfml-main-d.lib(SFML_Main.cpp.obj)' or at 'c:\users\username\documents\visual studio 2010\Projects\MyProject\Debug\sfml-main-d.pdb'; linking object as if no debug info
1>sfml-main-d.lib(SFML_Main.cpp.obj) : warning LNK4099: PDB 'sfml-main-d.pdb' was not found with 'sfml-main-d.lib(SFML_Main.cpp.obj)' or at 'c:\users\username\documents\visual studio 2010\Projects\MyProject\Debug\sfml-main-d.pdb'; linking object as if no debug info
1> MyProject.vcxproj -> c:\username\mycomputer\documents\visual studio 2010\Projects\MyProject\Debug\MyProject.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Try compiling with Release.
I get this error:
'MyProject.exe': Loaded 'C:\Users\username\Documents\Visual Studio 2010\Projects\MyProject\Release\MyProject.exe', Symbols loaded.
'MyProject.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\sfml-graphics-2.dll', Binary was not built with debug information.
'MyProject.exe': Loaded 'C:\Windows\System32\sfml-system-2.dll', Binary was not built with debug information.
'MyProject.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\MinGW\bin\libgcc_s_dw2-1.dll', Binary was not built with debug information.
'MyProject.exe': Loaded 'C:\MinGW\bin\libstdc++-6.dll', Binary was not built with debug information.
'MyProject.exe': Loaded 'C:\Windows\System32\sfml-window-2.dll', Binary was not built with debug information.
'MyProject.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\opengl32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\glu32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\ddraw.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\dciman32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\setupapi.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\dwmapi.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\winmm.dll', Cannot find or open the PDB file
'MyProject.exe': Loaded 'C:\Windows\System32\oleacc.dll', Cannot find or open the PDB file
Debugger:: An unhandled non-continuable exception was thrown during process load
If I just try to run it anyway in Debug, it'll tell me:
"This application has failed to start because sfml-graphics-d-2.dll was not found. Re-installing the application may fix this problem."
If I just try to run it anyway in Release, it'll tell me:
"The procedure entry point ??0RenderWindow@sf@@QAE@VVideoMode@1@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IABUContextSettings@1@@Z could not be located in the dynamic link library sfml-graphics-2.dll."
So, what should I reinstall? Did I make some mistake in following the instructions?