dimanche 19 avril 2015

C++11 on Netbeans 8.0.2 on mac

I had difficulty using C++11 compile via Netbeans. I have added '-std=c++11' in the additional option and the Netbeans gave me the following error:



error: invalid value 'c++11' in '-std=c++11'


BTW I already have GCC 4.8.4, and C++11 works fine when I just use my terminal. Any suggestions? Should I set path for the compiler somewhere? Thanks.


Aucun commentaire:

Enregistrer un commentaire