Author Topic: PANIC IN MY PC Problem in Windows with GLUT  (Read 5910 times)

watt

  • Guest
PANIC IN MY PC Problem in Windows with GLUT
« 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
« Last Edit: March 11, 2007, 01:14:12 am by watt »

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Problem in Windows ... don´t build
« Reply #1 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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

watt

  • Guest
Re: Problem in Windows ... don´t build
« Reply #2 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Problem in Windows ... don´t build
« Reply #3 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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

watt

  • Guest
Re: Problem in Windows ... don´t build
« Reply #4 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

watt

  • Guest
Re: Problem in Windows ... don´t build
« Reply #5 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

watt

  • Guest
Re: Problem in Windows ... don´t build
« Reply #6 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'