G++ is the C++ front-end of the Gnu Compiler Collection (GCC)

learn more… | top users | synonyms

2
votes
2answers
2k views

Can't find g++ in Software Center

I have a fresh install of Ubuntu 11.10 and I tried to install g++. Unfortunately I did not find it in the Software Center. In the sources list the boxes for universe and main are checked. Any ...
19
votes
3answers
16k views

Where can I find a g++ 4.7 package?

Some time ago, I managed to find PPA featuring g++-4.7 build. However, I had to reinstall everything on my machine and I lost name of that PPA. Could anyone point me to it? I tried to find it again, ...
0
votes
3answers
3k views

Compiling a libusb example program

I recently installed the library libusb by doing this: sudo apt-get install libusb-1.0-0-dev I have a directory with examples that looks like this: ...
2
votes
2answers
553 views

Which package should I download to compile C++0x code

OS is Ubuntu 10.04. I need to compile some C++ code with -std=c++0x flag. But compiling doesn't work because I need 4.6.1 version. Now, when I go to Gnu's ftp, I see two different packages: ...
2
votes
4answers
25k views

Eclipse can't find index libraries of GCC or G++

The instalation of CDT Tools on Eclipse can't find on index libraries of GCC or G++, but the file is running. Ex: include stdio.h (The comment doesn't accept <> and #) The are a yellow line ...
1
vote
1answer
362 views

g++ and boost linker error after upgrade

I am getting the following problems. I am sure it is a package that was not install/upgraded properly, I am not sure which one: $ make g++ -I/usr/include/boost -MM ./YYY.cc ./main.cc ./myClass.cc ...
0
votes
1answer
273 views

g++ behaving strangely with libssl

I've been trying to use the RSA C library on a C++ application (since it seems like the proper way to do it, due to the lack of an "official" [read: OpenSSL] C++ implementation). The thing is, ...
0
votes
1answer
1k views

Error message when running “make” command: /usr/bin/ld: i386 architecture of input file is incompatible with i386:x86-64 output

I am unable to create a working executable file by running the make command in a tree previously built on an i386 machine. I'm getting an error message in the form of me@me-desktop:~$ make ...
3
votes
1answer
2k views

What package provides -llua for g++?

I've installed all lua5.1 development packages from Synaptic and the g++ linker can not find -llua. I've read on some other question that it is possible that -llua has some other name and that I ...
5
votes
1answer
741 views

Does g++ compiler have graphical user interface?

As the question says, I wonder if the default ubuntu compiler, g++, has graphical user interface.
1
vote
0answers
905 views

Compiling g++ 4.7.0 in 11.04 [closed]

I encountered the following problem while compiling g++ 4.7.0. The file asm/errno.h is not found because it is being search for in /usr/include/linux/ instead of /usr/include/x86_64-linux-gnu, which ...
1
vote
2answers
1k views

g++-4.3 not in repos anymore, how to install it?

I'm on Ubuntu 11.04 and need g++-4.3 for a project. What is the best way to install it, since it is not present in the repositories anymore. Do I have to build it from source or is there a better ...
2
votes
1answer
6k views

How to get 32 bit version of libraries on Ubuntu 64 bit?

I'm trying to compile a program which uses Google's V8 library (which is 32 bit). Therefore any library I use within my program also has to be 32 bit. Where can I download the 32 bit version of ...
36
votes
3answers
62k views

Choose gcc and g++ version

So I have installed gcc-4.4 and gcc-4.3 (same for g++). Now as far as I remember there is a tool in Ubuntu which sets the symlinks for you if you just tell it which version you want. However it does ...