PDA

View Full Version : [SOLVED] cannot find c++ and fortran compiler


shababhsiddique
May 11th, 2009, 10:30 AM
Hello
I am a newbie. I installed Netbeans IDE 6.5 multi language. But I cannot compile any c++ code.

It prompts for -"resolve missing native build tools" and show directories of C,C++ and fortran compiler where c++ field is blank

* See attachment -- Joeb454

please help me out

Hellfiretorch
May 16th, 2009, 07:50 PM
please make sure you installed c++/gfortran compiler pack.

sudo apt-get install build-essential <- will install gnu c++ compiler pack
sudo apt-get install gfortan

jsmidt
May 18th, 2009, 12:55 AM
First install g++ and gfortran since they are the compilers.

Then for the C++ compiler field in your screenshot put
/usr/bin/g++

For the Fortran compiler field put
/usr/bin/gfortran

Please let me know if this is confusing or doesn't work. Good luck.

shababhsiddique
November 15th, 2009, 12:27 AM
First install g++ and gfortran since they are the compilers.

Then for the C++ compiler field in your screenshot put
/usr/bin/g++For the Fortran compiler field put
/usr/bin/gfortranPlease let me know if this is confusing or doesn't work. Good luck.

Sorry to be late I was busy with my study.
Thanks it worked for 8.04 havent tried with 9.10 though