Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualSerapth

Posted 27 February 2013 - 03:56 PM

It looks like you haven't linked to the libraries properly.  You can either learn about linking libraries in C++ or add the following lines to the cpp file containing main() 

 

#pragma comment(lib, "GLFW.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")

 

Make sure that glfw.dll is in the same directory as your generated exe.

 

 

In C++ when linking, you need to properly match libraries to libraries.  For example, 64bit to 64bit, or debug to debug, multithreaded to mutlithreaded, etc...  Meaning for example if you are compiling a 64 bit dynamically linked debug build, you need to link against a 64bit dynamically linked debug library. If it sounds like a right pain in the ass, it is. 


#2Serapth

Posted 27 February 2013 - 03:55 PM

It looks like you haven't linked to the libraries properly.  You can either learn about linking libraries in C++ or add the following lines to the cpp file containing main() 

 

#pragma comment(lib, "GLFW.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")

 

Make sure that glfw.dll is in the same directory as your generated exe.

 

 

In C++ when linking, you need to properly match libraries to libraries.  For example, 64bit to 64bit, or debug to debug, multithreaded to mutlithreaded, etc...  If it sounds like a right pain in the ass, it is.


#1Serapth

Posted 27 February 2013 - 03:54 PM

It looks like you haven't linked to the libraries properly.  You can either learn about linking libraries in C++ or add the following lines to the cpp file containing main() 

 

#pragma comment(lib, "GLFW.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")

 

Make sure that glfw.dll is in the same directory as your generated exe.


PARTNERS