Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Netbeans is complaining because I selected C++11 and my G++ version is 4.6 (4.7 supports C++11). However, I have tried:

sudo apt-get install build-essential

But g++ --version tells me I have version 4.6. How do I get 4.7?

(My GCC version is 4.7)

share|improve this question
    
What version of Ubuntu are you using? –  Braiam Nov 2 '13 at 22:57
    
I assume 12.04 LTS –  rafee Dec 23 '13 at 12:00
    
Have you checked this askubuntu.com/questions/271388/… ? If you install gcc-4.7 which is different from system version, why not install something even newer & better? –  rafee Dec 23 '13 at 12:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.