Author Topic: PLEASE: Help Installing GLFW in CB  (Read 2028 times)

Offline mercury83

  • Single posting newcomer
  • *
  • Posts: 5
PLEASE: Help Installing GLFW in CB
« on: September 04, 2009, 07:15:01 pm »

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

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?

« Last Edit: September 05, 2009, 11:28:14 am by mercury83 »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9595
Re: PLEASE: Help Installing GLFW in CB
« Reply #1 on: September 08, 2009, 06:33:41 am »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: