I have a C++ project that is built using CMake. I want to build and run it in netbeans (8.2). I can import and build the project successfully, no problems there.
However, when I come to run it, I get a 'No executable specified in project' error. The popup invites me to navigate to the executable generated by CMake. When I navigate to the binary, it is not recognised by netbeans as an elf executable file. If I navigate to the file and do
file myExecutable
Linux reports it as ELF 64-bit LSB shared object, x86-64 etc...
I can run the executable from the command line so not problem there either.
Please help!