Win10 x86-64
cygwin 3.5.4

I'm trying to install a C++ project in Netbeans. The only documentation
I've been able to find is for Netbeans 8.2 and so, I'm stumped.

I've put in the compile and build commands but the compile command is
not recognized as being correct and the build command generates an error.

[1] I've put in a compile command but on the first line of my code
Netbeans has the following warning:
       "compile commands not configured"
        a. The compile command is: C:/cygwin64/bin/g++.exe -c -std=c++17
        b. Run->Compile on the task bar is grayed out.
[2] When I build (Run->Build project) I get an error:
       "C:/cygwin64/lib/gcc/x86_64-pc-cygwin/12/cc1plus.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory"         a. The build command is: C:/cygwin64/bin/g++.exe G:\tmp\SequenceNumber/Sequence.o
        b. Same message if I remove G:\tmp\SequenceNumber/Sequence.o
        c. When I execute "g++ Sequence.o" from a cygwin (bash) shell I don't get this error.

What is the correct way to write a compile command and what is the
correct way to write a build command?

Reply via email to