I was getting problems installing GLFW into Code Blocks but I realized I had to compile it. But when I go to where GLFW is and type "compile make mgw" (what the wiki told me to do: http://wiki.codeblocks.org/index.php?title=Using_GLFW_with_Code::Blocks) it tells me ""mgw" is not a valid Makefile suffix". What's happening?
You likely failed to extract the zip file correctly; or you exacted it to somewhere that has issues running the compile.bat file correctly.
It is also possible it might be a permission issue. In that it might require admin rights for the batch file to work. Edit: I did not need to use Admin to get it to work for me. I am on Windows 7 SP1 32-Bit
Also, make sure you are in the right working directory.
The other poster suggest learning about make command options; not sure where he was heading.
Step 3 in the linked directions worked perfectly for me. I did set the path to the MinGW installation I wished to use.
Note: I did get many warning that might cause the following steps to fail. My Compiler was 4.7 version which caused the warnings.
warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
SET PATH=C:\Program Files\CodeBlocks_12_11\MinGW\bin;%PATH%
cd /d V:\SourceCode\OpenSourceCode\Libs\GUI\glfw-2.5
compile make mgw
Tim S.