C++, G++ errors on compiling 3ddesktop
Hello All,
I posted the other day that I was having problem loading a c compiler. Well I got gcc installed through apt-get and have compiled one program. Therefore I know I have gcc installed. Even if I type whereis gcc I get the correct response. (Thanks to the help of people in my last post.) My problem is that when I try and run ./configure for 3ddesktop it goes through items like this: Checking for g++ ... no checking for c++ ... no etc until it says error: c++ compiler can not creat executables. I thought gcc includes g++ and c++. Am I wrong in thinking this? - Zych |
You can check by typing
g++ -v It should give you the version and other details. If it doesn't then look for g++ for downloading ( it may simply be split up ). |
GCC is technically the GNU Compiler Collection and each compiler is implemented using a separate executable. C is in the gcc executable (which can detect some other languages using extensions and invoke the correct compiler). You will need to install the G++ package (probably gcc-c++ or gcc-g++ - I don't know what the debian package is called).
|
I am actually using RH 9 but I downloaded the apt program for it. Works well. You nailed it on the head. I type "apt-get install gcc-c++" and it installed it. Thank you. It compiled fine, now I gust need to figure out how to use it. lol
- Zych |
All times are GMT -5. The time now is 12:05 AM. |