Categories
Uncategorized

Someone needs to write a C++ IDE for Linux that is user friendly

I’ve been trying to compile RakNet on Linux. g++ -lpthread *.cpp works, but nothing else does Eclipse: Doesn’t support C++. If you add a plugin for C++, you can select it under help / update but it won’t install. “Eclipse C/C== Development Platform requires plugin-in “org.eclipse.core.contenttype (3.3.0)” A search for what the hell that is […]

I’ve been trying to compile RakNet on Linux. g++ -lpthread *.cpp works, but nothing else does

Eclipse:

Doesn’t support C++. If you add a plugin for C++, you can select it under help / update but it won’t install. “Eclipse C/C== Development Platform requires plugin-in “org.eclipse.core.contenttype (3.3.0)” A search for what the hell that is turned up nothing. So I moved on to

Code blocks:

There’s no download for Ubuntu. It says you have to install wxWidgets if you want to do that, to /etc/apt/sources.list. I know that’s a file, but no idea what I’m supposed to do with it. It also recommends to type in deb http://apt.wxwidgets.ogre/gutsy-wx main . I typed that in the console but it just returned some error. So I moved on to:

KDevelop

Even hello world won’t compile. Project / create new project / c++ / Simple Hello World Program. Then click build, and it asks you something about automake. If you click yes, it doesn’t work anyway. ../libtool line 2429: mkdir /.libs: No such file or directory. So I moved on to:

Net Beans IDE 6.5

I manged to setup a project and add all my source files. But when I right clicked on the project name and clicked build it said “make: Makefile: No such file or directory”

6 replies on “Someone needs to write a C++ IDE for Linux that is user friendly”

You *really* should Codeblocks another look. I didn’t have any problems installing it on Ubuntu in the past. Just download the codeblocks_8.02-0ubuntu1.deb.tar.gz file from the download page, uncompress it and double click on it to install it.

http://www.codeblocks.org/downloads/5

I think it really matured as a C++ IDE in the last years and is quite nice to use.

Hi, IMO there isn’t any good IDE available for GNU/Linux but I prefer Eclipse but it requires a few plugins to be usable. And don’t use managed projects but use a Makefile-based project instead.

I would suggest that you learn autotools (or autohell as it is sometimes called) for building instead of relying on a specific IDE. Autotools is pretty much the standard way of building projects but there are others like CMake which is starting to look promising.

Eclipse: look for the eclipse cdt (c dev toolkit), they have bundeled downloads where everything is setup already.

KDevelop: come back once version 4 is out (currently beta 4), they’re coding what you look for.

in general: does raknet still lack a proper build system? And no, I’m not talking about those handwritten Makefiles (i did some pieces of it). Have a look at CMake (www.cmake.org) there you write your sources and dependencies once and then you can do “cmake -G gcc-makefiles” or “cmake -G”Eclipse CDT4 – Makefiles” or “cmake -G”Visual Studio Project files”” or whatever (kdevelop, codeBlocks, …) and it will generate the needed files. KDE4 relies on it and it’s cross-plattform (Linux, Windows, MacOsX, *Bsd, Solaris) so you can see it’s up to the task

Codeblocks is avaliable on repositories Rak’kar, just open synaptic and type Codeblocks 🙂 I think it’s has been there since 8.04 or 8.10.

Hope this helps,

Toni

Leave a Reply

Your email address will not be published. Required fields are marked *