• Advertisement
Sign in to follow this  

Help compiling GLFW from source?

This topic is 1427 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys.  I downloaded glfw-3.0.4 from the glfw site and I am trying to follow their instructions to build the project from source.  However, when I type 'cmake .' in the glfw-3.0.4 directory, I get the following errors:

 

CMake Error: Cannot determine link language for target "glfw".
CMake Error: CMake can not determine linker language for target:glfw
 

Now it's very obvious what's causing these errors but I am wondering why they are cropping up if I am following the build directions that are posted on the GLFW site?

 

 

Share this post


Link to post
Share on other sites
Advertisement

maybe try

cmake -G "MSYS Makefiles" . && make

(Assuming you're using the MSYS shell that comes with MinGW)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement