Just a quick tip !
if ever you have a code to be compiled in linux, and that it was initially built and compiled in Netbeans IDE. all you have to do is to just go to that specific project directory from your terminal and command ‘make’ This builds the project from your terminal (libraries like Boost, Eigen needs to be first installed – IF REQUIRED)
by default its in the debug mode, but this can be changed easily.
All the static libraries are built very easily !
for larger projects it should also work
==dont have make ?==
1. $ sudo apt-get update
2. $ sudo apt-get install make
== side note ==
some time what also helps is to install cmake
$ sudo apt-get install cmake
$sudo apt-get install cmake-gui