News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

PLEASE: Help Installing GLFW in CB

Started by mercury83, September 04, 2009, 07:15:01 PM

Previous topic - Next topic

mercury83

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!

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]