Code::Blocks Forums

User forums => Help => Topic started by: mercury83 on September 04, 2009, 07:15:01 pm

Title: PLEASE: Help Installing GLFW in CB
Post by: mercury83 on September 04, 2009, 07:15:01 pm
Hi

I was told to install the opengl library GLFW in Dev-Cpp. Instead, I wanted to do it in C::B for obvius asthetical reasons  :D.
So, I followed the insturctions given by the wiky page

http://wiki.codeblocks.org/index.php?title=Using_GLFW_with_Code::Blocks

and by the guidesheet to install it in Dev-CPP, but adapted it:

1) I copied & pasted the make.exe file of Dev-Cpp to the bin file of CB.

2) Add to the environment variable path ..CodeBlocks\MinGW\bin

3) type: compile make mgw

Now I have the library GLFW compiled.
As the wiki page tells I now do :

4) include glfw.h in the include \GL folder
5) include libglfw.a, libglfwdll.a, and glfw.dll in the lib folder

Now, the issue is that I can't compile and build it.
The following error appears in the build log:

mingw32-g++.exe -Wall -fexceptions  -g     -c "E:\Mis documentos\INFORMATICA GESTION\3er CURSO\PRG\P0\Práctica 0\main.cpp" -o obj\Debug\main.o
mingw32-g++.exe: installation problem, cannot exec `as': Invalid argument
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

It seems that as.exe receives a wrong argument.

Any tip?

THANK YOU VERY MUCH!
Title: Re: PLEASE: Help Installing GLFW in CB
Post by: MortenMacFly on September 08, 2009, 06:33:41 am
Thread locked due to cross-posting.
See here:
http://forums.codeblocks.org/index.php/topic,11146.0/topicseen.html