C++ Code compilation – NetBeans

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

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at WordPress.com

Up ↑