GLFW and Visual Studio 2015

It’s currently 2:00 AM and wanted to make a quick post.

Since as of this morning I have switched to Visual Studio 2015 along with windows 10. I have my physics engine on BitBucket so I cloned that and got all my GLFW lib and headers, this took about 5 minutes to get my project set up from my older computer. But it would not compile. I kept getting the error unresolved external symbol _imp_ vsnprintf I knew I had my libraries linked correctly. After digging around online and reading Microsoft’s documentation about things breaking when moving to VS 2015. You can read it here The solution to fixing this is adding legacy_stdio_definitions.lib to the dependencies in VS, this can be found my going to the projects properties, linker, input and added it the dependencies.

Posted in C++

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s