Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Help compiling GLFW from source?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 jdub   Members   

459
Like
0Likes
Like

Posted 22 February 2014 - 03:43 PM

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?

 

 


J.W.

#2 3TATUK2   Members   

714
Like
0Likes
Like

Posted 22 February 2014 - 06:29 PM

maybe try

cmake -G "MSYS Makefiles" . && make

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



#3 jdub   Members   

459
Like
0Likes
Like

Posted 22 February 2014 - 06:32 PM

That command didn't work.  I'm in the Ubuntu terminal.


J.W.

#4 3TATUK2   Members   

714
Like
0Likes
Like

Posted 23 February 2014 - 01:20 PM

cmake -G "Unix Makefiles" . && make

or

cmake . && make





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.