Code::Blocks Forums

User forums => Help => Topic started by: watt on March 09, 2007, 07:42:42 pm

Title: PANIC IN MY PC Problem in Windows with GLUT
Post by: watt on March 09, 2007, 07:42:42 pm
hi!

when i run my application i have this error:

-------------- Build: Release in b ---------------
mingw32-g++.exe -Wall -O2 -g  -I"D:\needed\Needed\compiler needs\include" -I"C:\Program Files\CodeBlocks\include"  -c D:\programacao\b\main.cpp -o obj\Release\main.o
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Title: Re: Problem in Windows ... don´t build
Post by: TDragon on March 09, 2007, 08:20:51 pm
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Are you using Windows Vista? If so, MinGW has problems with it. There are workarounds other people have used that can be found if you search the forums.
Title: Re: Problem in Windows ... don´t build
Post by: watt on March 09, 2007, 08:25:58 pm
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Are you using Windows Vista? If so, MinGW has problems with it. There are workarounds other people have used that can be found if you search the forums.
yes i'm using vista a i see this post:
http://forums.codeblocks.org/index.php?topic=4692.0
but i have some questios ...

"...there will be a button called Environment Variables (or something like that), click  it, now in System Variables, search Path, edit it and add: ;C:\CodeBlocks\bin\;C:\CodeBlocks\include\;C:\CodeBlocks\mingw32\bin\;C:\CodeBlocks\libexec\gcc\mingw32\3.4.4\;C:\CodeBlocks\lib\
Click on Ok..."

whats the name of variable?
Title: Re: Problem in Windows ... don´t build
Post by: stahta01 on March 09, 2007, 08:33:10 pm
mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory
Are you using Windows Vista? If so, MinGW has problems with it. There are workarounds other people have used that can be found if you search the forums.
yes i'm using vista a i see this post:
http://forums.codeblocks.org/index.php?topic=4692.0
but i have some questios ...

"...there will be a button called Environment Variables (or something like that), click  it, now in System Variables, search Path, edit it and add: ;C:\CodeBlocks\bin\;C:\CodeBlocks\include\;C:\CodeBlocks\mingw32\bin\;C:\CodeBlocks\libexec\gcc\mingw32\3.4.4\;C:\CodeBlocks\lib\
Click on Ok..."

whats the name of variable?

Path is the variable name, or at least it is under windows XP.
Tim S
Title: Re: Problem in Windows ... don´t build
Post by: watt on March 09, 2007, 09:25:32 pm
-------------- Build: Release in Game ---------------
mingw32-g++.bat -L\usr\lib -L"C:\Program Files\CodeBlocks\lib"  -o bin\Release\Game.exe obj\Release\main.o   -s  -lglut -lGL -lGLU -lXxf86vm  -mwindows
MinGW Enviroment Command Console
....
D:\programacao\Game>C:\CodeBlocks\bin\mingw32-g++.exe -L\usr\lib -L"C:\Program Files\CodeBlocks\lib" -o bin\Release\Game.exe obj\Release\main.o -s -lglut -lGL
ld: cannot find -lGL
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

I dont understend why appear "\usr\lib" !?
i have the GL
Title: Re: Problem in Windows ... don´t build
Post by: watt on March 10, 2007, 01:07:16 am
-------------- Build: Debug in Game ---------------
mingw32-g++.bat -Wall -g -g  -I"C:\Program Files\CodeBlocks\include" -I"C:\Program Files\CodeBlocks\include"  -c D:\programacao\Game\main.cpp -o obj\Debug\main.cpp.o
MinGW Enviroment Command Console
The system cannot find the path specified.
....
D:\programacao\Game>C:\CodeBlocks\bin\mingw32-g++.exe -Wall -g -g -I"C:\Program Files\CodeBlocks\include" -I"C:\Program Files\CodeBlocks\include" -c D:\programacao\Game\main.cpp -o
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

now it is rhis error .... Help-me
Title: Re: Problem in Windows ... don´t build
Post by: watt on March 10, 2007, 07:19:47 pm
now i have other problems ...
i install the GLFW and all sorces i run, crash.
And i have this error in Glut projects.

-------------- Build: Debug in glut ---------------
mingw32-g++.bat -Wall -g  -IC:\CodeBlocks\include -IC:\CodeBlocks\include  -c D:\programacao\glut\main.cpp -o obj\Debug\main.o
MinGW Enviroment Command Console
....
D:\programacao\glut>C:\CodeBlocks\bin\mingw32-g++.exe -Wall -g -IC:\CodeBlocks\include -IC:\CodeBlocks\include -c D:\programacao\glut\main.cpp -o obj\Debug\main.o
In file included from D:\programacao\glut\main.cpp:15:
C:/CodeBlocks/include/GL/glut.h:50: error: redeclaration of C++ built-in type `short'