Labels

3d (4) arduino (1) Bridgeport (1) C++ (4) electronics (1) kinect (2) links (1) machine learning (2) pointcloud (3) powerfeed (1) printing (2) programming (6) r/c (1) reprap (3) robot (1) swarm (1) ubuntu (3) wolfstrap (1) wolstrap (1) workshop (1)

Saturday, 24 November 2012

C++ IDE for ubuntu

Been trying to decide which IDE to use to do C++ programming in Ubuntu.

Loaded eclipse and spent ages trying to get things to compile, no matter what I did it wouldn't work correctly, used pkg-config plugin still no joy.
Command line compiled fine, gave up and started using it purley as a text editor.

Installed Qt creator instead, similar issues although much better help.

Main issue is trying to use C++ libraries.

useful command when trying to solve pkg-config problems:

pkg-config --list-all >pkglist.txt (this lists all known packages and sends to a file for searching)

posted issue on pkg-config here - http://ubuntuforums.org/showthread.php?t=2088584



Decided best way was just to use it to write the .cpp files and use command line compiler.

Using CMakelists.txt and the following:
mkdir build
cd build
cmake ..
make

and then running the file with ./

No comments:

Post a Comment