Followed the tutorial, went through all the other LNK1181 errors in the forums and I feel like I'm skipping something simple. And I had this working before too, but now that I formatted and decided to get VS12, I'm stuck with:
1>------ Build started: Project: Project1, Configuration: Release Win32 ------
1>LINK : fatal error LNK1181: cannot open input file 'sfml-graphics.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
So what did I do?
Downloaded CMake, generated for Visual Studio 12 (2013) in the same directory "D:/Programming/SFML/SFML-2.1"
Went through the following tutorial: http://www.sfml-dev.org/tutorials/2.1/start-vc.php
And despite feeling like the error is something on my end (poor configuration) I just can't figure out what's wrong...
I also feel as if the folder structure has changed somewhat. In the guide linked above it says:
Now compile the project, and if you linked to the dynamic version of SFML, don't forget to copy the SFML DLLs (they are in <sfml-install-path/bin>) to the directory where your compiled executable is. Then run it
And yet my SFML has no bin folder, I find my DLLs in <sfml-install-path>/lib/Release or <sfml-install-path>/lib/Debug
I placed my dll files in the <Projects>\Project1\Project1\Release folder and built as release, but that error typed out above happened.
1>------ Build started: Project: Project1, Configuration: Release Win32 ------
1> Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> cl /c /I"D:\Programming\SFML\SFML-2.1\include" /Zi /W3 /WX- /sdl /O2 /Oi /Oy- /GL /D _MBCS /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Release\\" /Fd"Release\vc120.pdb" /Gd /TP /analyze- /errorReport:prompt main.cpp
1>
1> main.cpp
1> Microsoft (R) Incremental Linker Version 12.00.21005.1
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> "/OUT:D:\Programming\SFML\Projects\Project1\Release\Project1.exe" "/LIBPATH:D:\Programming\SFML\SFML-2.1\lib" "sfml-graphics.lib" "sfml-window.lib" "sfml-system.lib" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST "/MANIFESTUAC:level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG "/PDB:D:\Programming\SFML\Projects\Project1\Release\Project1.pdb" /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT "/IMPLIB:D:\Programming\SFML\Projects\Project1\Release\Project1.lib" /MACHINE:X86 /SAFESEH Release\main.obj
1>LINK : fatal error LNK1181: cannot open input file 'sfml-graphics.lib'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The linker setting:
(http://i.imgur.com/pvGag74.png)
Actual directory it leads to:
(http://i.imgur.com/U2uHNox.png)
Of course I did the input dependencies separately for Debug and Release as the guide explains it.