Help compiling GLFW from source?

Started by
2 comments, last by 3TATUK2 10 years, 1 month ago

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.
Advertisement

maybe try


cmake -G "MSYS Makefiles" . && make

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

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

J.W.

cmake -G "Unix Makefiles" . && make

or


cmake . && make

This topic is closed to new replies.

Advertisement