Linux IDE Topic is solved
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
Linux IDE
Though we have discussed here a number of times about the IDE war. But its long time back and those was related to wxWidgets in general. So here is my question once again:
What is the best Linux IDE for C++ in general, even commercial alternatives.
I always wanted to learn Linux, but that Live CD can't teach anything, and installing Linux on Windows Vista is again a real pain. But today I installed Ubuntu, using Wubi from Vista, and I can tell you it can't be more easier to install Linux, just one click and within 5 minutes your machine is ready.
What is the best Linux IDE for C++ in general, even commercial alternatives.
I always wanted to learn Linux, but that Live CD can't teach anything, and installing Linux on Windows Vista is again a real pain. But today I installed Ubuntu, using Wubi from Vista, and I can tell you it can't be more easier to install Linux, just one click and within 5 minutes your machine is ready.
Hi priyank_bolia!
There are many IDEs out there..
But I will recommend one that I am using (and wrote ):
Home page:
http://codelite.org/
Download:
http://codelite.org/wiki/pmwiki.php?n=L ... r.Download
In the download page there is a link to .deb file for Ubuntu.
It contains many functionalities taken from VS and other from eclipse, so i think you will fill at home
Eran
There are many IDEs out there..
But I will recommend one that I am using (and wrote ):
Home page:
http://codelite.org/
Download:
http://codelite.org/wiki/pmwiki.php?n=L ... r.Download
In the download page there is a link to .deb file for Ubuntu.
It contains many functionalities taken from VS and other from eclipse, so i think you will fill at home
Eran
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
Hi eranif,
Ya, I already knows about this project. You have done amazing work, and as a developer I knows what it takes to write an IDE alone, for which big companies have an army of developers. But it has a long way to go before its reaches.... You should put a feature tour on your website. Also as I mentioned in my previous post about codeLite, it has to provide extensibility to developers so that they can code extensions under a license that allow them to write something commercial on top of it.
Hi phlox81,
Ya codeblocks is again an good alternative, but coming from Visual Studio with tons of commercial addons on top of that, codeblocks don't give me a good reason to move to Linux as base platform.
But it looks like I am short of options: Comparison_of_integrated_development_environments
Ya, I already knows about this project. You have done amazing work, and as a developer I knows what it takes to write an IDE alone, for which big companies have an army of developers. But it has a long way to go before its reaches.... You should put a feature tour on your website. Also as I mentioned in my previous post about codeLite, it has to provide extensibility to developers so that they can code extensions under a license that allow them to write something commercial on top of it.
Hi phlox81,
Ya codeblocks is again an good alternative, but coming from Visual Studio with tons of commercial addons on top of that, codeblocks don't give me a good reason to move to Linux as base platform.
But it looks like I am short of options: Comparison_of_integrated_development_environments
Actually, CodeLite is very mature and contains *all* of what you had in VS and much more.Also as I mentioned in my previous post about codeLite, it has to provide extensibility to developers so that they can code extensions under a license that allow them to write something commercial on top of it
It has a plugin system which one can add all its features/neat plugin on top of it.
Many of the functionalities that CodeLite has to offer, comes in a form of a plugin, to name some:
- Subversion plugin - which emulates ANKH svn for VS if you are familiar with it with some extras
- CodeFormatter based on AStyle (but unlike other IDEs who uses ASyle, codelite uses it as a library which make code formatting very fast)
- Improved New class dialog, which offers:
+ Select parent from known classes (including wx)
+ Implement all virtual function of base classes
+ Or implement only the pure virtual functions of base classes
+ Create the clasas as non copyable
To help developers to develop on top of codelite, you can simply click the 'New Wizard plugin...' button, and in less than 10 sec, you have built your first plugin
Its CC is far superior to any CC that exists in open source projects (Including C::B, wxDevCpp and others)
- Support templates
- Offers basic refactoring
- Auto add include files for missing types (for example: it will offer to add 'stdio.h' for functions from that file, such as 'printf' or maybe add include '<wx/xrc/xmlres.h>' for wxXmlResource
In short, I could go on and on, you can add whatever you want on top of CodeLite.
Eran
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
Code: Select all
Running postinst step...
Creating desktop shortcut for CodeLite...
cp: cannot create regular file `/root/Desktop/': Is a directory
Done
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
thats weird, since I am running post install script to install the shortcut file on the desktop, and the command is:
this means the ~/Desktop was expanded to root...
And this can only be done if you was running as root.
sudo dpkg -i <deb_file> should be enough.
the 'su' command might explain why the deb was trying to copy to '/root/Desktop/'
since 'su' is actually switching the user (Switch User), while sudo grants you root privileges, but the user remains the same.
Eran
Code: Select all
echo "Creating desktop shortcut for CodeLite..."
cp /usr/share/applications/codelite.desktop ~/Desktop/
And this can only be done if you was running as root.
Why did u need to do this?sudo su
sudo dpkg -i <deb_file> should be enough.
the 'su' command might explain why the deb was trying to copy to '/root/Desktop/'
since 'su' is actually switching the user (Switch User), while sudo grants you root privileges, but the user remains the same.
Eran
-
- Can't get richer than this
- Posts: 864
- Joined: Thu Jul 28, 2005 9:48 pm
- Location: New Forest, United Kingdom
- Contact:
What about the KDE IDE, it is a very mature product with many features that other IDE's don't offer.
The home of Sof.T http://www.sof-t.site88.net/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
Author of Programming with wxDevC++
http://sourceforge.net/projects/wxdevcpp-book/
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
@eranif
I am a newbie, and google told me to use sudo su, so I did
@Sof_T
If you mean KDevelop, than I tried it last time Introduction to wxWidgets - 2, but sorry to say last experience was horrible.
I am a newbie, and google told me to use sudo su, so I did
@Sof_T
If you mean KDevelop, than I tried it last time Introduction to wxWidgets - 2, but sorry to say last experience was horrible.
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
Hi eran,
Today I tried CodeLite and CodeBlock both, and while CodeBlock worked perfectly, I run into few issues with CodeLite.
1)Creating a new project, should automatically add a new workspace, if it does not exist, I guess you told feel at home like VS
2)Why adding a new project and a new wxWidgets project is different, when I say add a new project, it should show me all the available options.
3)
I don't know what's wrong and where to fix but CodeBlock, compiled and run without any errors.
4)While the codeblock dialogs are resizable, but Codelite dialog wasn't, which causes some issues.
5)Your default font is much better than CodeBlock, but instead of that arrow, you can use the +/- thing like VS and CodeBlock, that looks more better.
6)Where can I find the Plugin API documentation.
Thanks,
Priyank
Today I tried CodeLite and CodeBlock both, and while CodeBlock worked perfectly, I run into few issues with CodeLite.
1)Creating a new project, should automatically add a new workspace, if it does not exist, I guess you told feel at home like VS
2)Why adding a new project and a new wxWidgets project is different, when I say add a new project, it should show me all the available options.
3)
Code: Select all
sample_app.h:4:20: error: wx/app.h: No such file or directory
4)While the codeblock dialogs are resizable, but Codelite dialog wasn't, which causes some issues.
5)Your default font is much better than CodeBlock, but instead of that arrow, you can use the +/- thing like VS and CodeBlock, that looks more better.
6)Where can I find the Plugin API documentation.
Thanks,
Priyank
You are right, it should create the workspace. But being sarcastic won't get you anywhere...Creating a new project, should automatically add a new workspace, if it does not exist, I guess you told feel at home like VS
This becase the 'New wxWidgets Project' option in the toolbar is from plugin, which was designed that wayWhy adding a new project and a new wxWidgets project is different, when I say add a new project, it should show me all the available options.
Dp you have debug build of wxWidgets installed on Linux?wxwidgets:
sample_app.h:4:20: error: wx/app.h: No such file or directory
I don't know what's wrong and where to fix but CodeBlock, compiled and run without any errors.
Try selecting the ReleaseUnicode and build it instead of the debug.
My guess is that you only have release build of wx, hence the error
Then I guess, C::B is the way to goI don't know what's wrong and where to fix but CodeBlock, compiled and run without any errors.
If you mean folding icons (-/+) than this is configurable -> Settings -> Editor, you can select any of the four options available there5)Your default font is much better than CodeBlock, but instead of that arrow, you can use the +/- thing like VS and CodeBlock, that looks more better.
Including the +/-
Most of it is documented in the headers files using doxygen, but the best way is to have a look of what other plugins do.6)Where can I find the Plugin API documentation.
The header files for the plugins are at
codelite/trunk/Interfaces/ (you need to checkout CodeLite source files)
This can be a long discussion, if you want a real assistance with CodeLite, than you can ask questions irc.freenode.net channel #codelite where me and the other developer (SRabbelier) are hanging
Or you can ask them in a forum I setup here: http://codelite.org/forum
To keep it brief:
Eran
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
I guess you took in wrong sense, I am extremely sorry for any confusion caused.But being sarcastic won't get you anywhere...
This becase the 'New wxWidgets Project' option in the toolbar is from plugin, which was designed that way
But don't you think it is confusing.
Thanks Release ANSI did the trick, as I has that only.My guess is that you only have release build of wx, hence the error
Forgot about me, any new user that don't know much about a platform, would go for the first thing that works out of box. C::B worked in Debug mode also, as I had wxWidgets package installed from repository. While CodeLite depended only on the wxWidgets that I compiled, I guess that may be the reason.Then I guess, C::B is the way to go
Thanks, it worked.If you mean folding icons (-/+) than this is configurable -> Settings -> Editor
One more question, can't I debug release mode applications, it didn't break at breakpoint.
CodeLite is a great IDE, with cool GUI, icons and font, and having the same key binding as VC++. Looking forward to learn Linux and CodeLite.