I need to build C/C++ projects on Netbeans 12.4 with Ubuntu 18.04. There have been a long list of failures - trying earlier versions of Netbeans and even Eclipse. I can't find a simple tutorial / example for using the Lightweight C/C++.
Here is what I have done so far:
Install Netbeans 12.4 with
sudo apt install netbeans
. This loaded java 11 jdk.Wrote and tested the usual Java Hello World.
Installed build essentials with
sudo apt install build-essential
checked that gcc, make, and gdb are accessible.
tried to start a C/C++ project as follows:
New Project -> C/C++ / Lightweight C/C++ Project
Next-> project path set to /home/david/NetBeansProjects
Next-> Compile Commands: ... and I'm stuck. It seems to want the tool set to use, but I can't find it.
Any pointers appreciated.