Using GLFW x64 Visual Studio 2010:
First compile GLFW with Visual Studio 2010. The solution file is in the support directory. Load the .sln file. Create an x64 active solution platform. Compile with configuration manager option "Release" and your new created "x64" solution platform.
Don't forget to include "GLFW.h".
In ProjectProperties/Linker/System/Subsystem, you can set if the application is a console application or a window application.
If you get: LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
Solve this by setting LIBCMT in the ProjectProperties/Linker/Input/Ignore Specific Default Libraries.
If you get: LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
Solve this by setting the ProjectProperties/Linker/General/Enable Incremental Linking to NO.
Geen opmerkingen:
Een reactie posten