If you are trying to compile C++with g++ and faced some function reference errors like
undefined reference to `omp_get_thread_num'
if you are using this function
or any other similar errortry to add this to the compilation options
even in the compilation command or from the project properties on netbeans