Linux advice
Linux advice
Ok so i'm thinking of trying out compiling IrrAI on Linux and i was hoping i could get a bit of advice on that. I had a nose around the forum for linux discussions and found a few, even some referring to the Linux distro i have installed; PCLinuxOS, but i thought i'd start a fresh and more focused thread instead of dragging up an old one.
Basically i'm not sure what IDE i can use... I looked at DevC++ as that's what i generally use on windows but it doesn't seem to have a Linux version, though some of the threads suggested it did. Code::Blocks was my next stop and that's got Linux versions but only for 5 distros...
Can i use C::B on PCLinuxOS? I don't really understand the whole distro thing and multiple versions so don't know which i'd have to download to get it working...
Eclipse was another IDE i looked at and again that has a Linux version, only one i think, so maybe that's more likely to work than trying 5 different versions of C::B.. But yeah, any advice you can give would be great!
Basically i'm not sure what IDE i can use... I looked at DevC++ as that's what i generally use on windows but it doesn't seem to have a Linux version, though some of the threads suggested it did. Code::Blocks was my next stop and that's got Linux versions but only for 5 distros...
Can i use C::B on PCLinuxOS? I don't really understand the whole distro thing and multiple versions so don't know which i'd have to download to get it working...
Eclipse was another IDE i looked at and again that has a Linux version, only one i think, so maybe that's more likely to work than trying 5 different versions of C::B.. But yeah, any advice you can give would be great!
I suggest you use either Kdevelop or CodeBlocks as IDE.
However, if you just want to compile under Linux, all you need is a build environment (gcc, make, header etc.) and a console
- Eclipse is not a native C/C++ IDE but relies on an extension (CDT) to handle that kind of code. It works, but it is missing certain helpful features.
Kdevelop is often described to be very similar to MS VisualStudio an an therefore preferred by people who are already familiar with Visual Studio.
CodeBlocks is available for Windows and Linux an therefore might be preferable if you want to stick to one IDE. Since there is already a tutorial for Irrlicht in CodeBlocks this would seem to be an easy choice.
Last but not least you can use GNU Emacs, which is a very powerful editor, but if you just want to port your code that would almost certainly require to much time to get used to.
However, if you just want to compile under Linux, all you need is a build environment (gcc, make, header etc.) and a console
I just use GEdit and Make these days. No ****in around. (But it's mainly because C::B is pretty buggy and won't save my environment config)
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
Must... resist... urge...
Can't... fight it...
Too... strong...
Can't... fight it...
Too... strong...
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Like you I was skeptical about learning to write make files. After I learned the basics of make files programming became a lot faster. Make files are definably worth learning, they make the Linux programming complete.
I haven't tried Kdevelop, but if it can pick up null pointer references and other mistakes as good as M$ visual studio, use it. Visual studio has fantastic debugging tools
I haven't tried Kdevelop, but if it can pick up null pointer references and other mistakes as good as M$ visual studio, use it. Visual studio has fantastic debugging tools
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
- Posts: 37
- Joined: Thu Feb 28, 2008 4:34 am
- Location: Perth, Western Australia
I'm curious: what helpful features would you say it's missing?Thimo wrote:
- Eclipse is not a native C/C++ IDE but relies on an extension (CDT) to handle that kind of code. It works, but it is missing certain helpful features.
I don't have much experience of C/C++ IDEs. I've used Eclipse before for some Java development. And most of my C/C++ development experience has been in the embedded world, often with no IDE as part of the project. The main IDE I have used in this world is IAR's Embedded Workbench.
For my Irrlicht-based development though (which only spans the last 5 months), I am using Eclipse, with MinGW under Windows and GCC under Linux. I find it to be quite powerful, and I haven't found myself wishing for anything. Also, the Subversion plug-in is nice, and it's hard not to appreciate the ease with which I can move between Windows and Linux.
-
- Posts: 9
- Joined: Thu Aug 14, 2008 7:20 am