Q: Want to port to Linux.. Which?
-
Van
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Q: Want to port to Linux.. Which?
We would like to port our code over to the Linux platform. Which Linux version out there is developer friendly and will be the most "portable"?
We use Microsoft VS 2008 + SVN. We have made a conservative effort to use portable libraries and code.
I tried to port once before (a year ago or so) using Red Hat that someone gave me (version 4?). I got frustrated because it doesn't have an IDE similar to MVS.
We would like one that has a nice IDE (or an IDE that we can load up).
What Linux would you recommend?
What IDE, if any, would you recommend?
We use Microsoft VS 2008 + SVN. We have made a conservative effort to use portable libraries and code.
I tried to port once before (a year ago or so) using Red Hat that someone gave me (version 4?). I got frustrated because it doesn't have an IDE similar to MVS.
We would like one that has a nice IDE (or an IDE that we can load up).
What Linux would you recommend?
What IDE, if any, would you recommend?
Stop Global Whining.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Q: Want to port to Linux.. Which?
KDevelop or Eclipse. 
Other alternatives are Code::Blocks or CodeLite.
Eclipse gets my vote - never cared much for it on Windows, but I like it on Linux.
Of course, there are commercial options as well.
Magic C++ is an option, if you prefer to work in Windows against a Linux server:
http://www.magicunix.com/
CodeForge IDE:
http://www.codeforge.com/features_view.php?t=FEAT_CFI#
Slickedit:
http://www.slickedit.com/content/view/73/60
Take your pick.
Other alternatives are Code::Blocks or CodeLite.
Eclipse gets my vote - never cared much for it on Windows, but I like it on Linux.
Of course, there are commercial options as well.
Magic C++ is an option, if you prefer to work in Windows against a Linux server:
http://www.magicunix.com/
CodeForge IDE:
http://www.codeforge.com/features_view.php?t=FEAT_CFI#
Slickedit:
http://www.slickedit.com/content/view/73/60
Take your pick.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Q: Want to port to Linux.. Which?
Found BVRDE which is free.
Again, it connects to a Linux server, which means you can stay comfy on Windows and develop on Linux.
Even though it looks abandoned, I checked the CVS repository for activity: it lives.
<edit>
Al right, I'll stop now..
</edit>
Again, it connects to a Linux server, which means you can stay comfy on Windows and develop on Linux.
Even though it looks abandoned, I checked the CVS repository for activity: it lives.
<edit>
Al right, I'll stop now..
</edit>
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
Van
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Re: Q: Want to port to Linux.. Which?
Does it matter which linux platform I use?
I'm looking at Ubuntu.
I'm looking at Ubuntu.
Stop Global Whining.
- xavier
- OGRE Retired Moderator

- Posts: 9481
- Joined: Fri Feb 18, 2005 2:03 am
- Location: Dublin, CA, US
- x 22
Re: Q: Want to port to Linux.. Which?
NoVan wrote:Does it matter which linux platform I use?
That's probably the easiest from a usability standpoint.I'm looking at Ubuntu.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Q: Want to port to Linux.. Which?
Ubuntu is modern and widely used - a good choice for starters.
If you want to test on a RPM based system, try OpenSuse.
If you want to test on a RPM based system, try OpenSuse.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- SomeFusion
- Gremlin
- Posts: 191
- Joined: Sun Dec 01, 2002 12:38 am
- x 3
Re: Q: Want to port to Linux.. Which?
I vote for Ubuntu + Qt Creator, you can use the IDE without Qt. At least it has the best code completion around and is much simpler than many other IDEs.
Last edited by SomeFusion on Mon Jun 15, 2009 5:13 pm, edited 1 time in total.
Summoning Wars is an open source role-playing game, featuring both a single-player and a multiplayer mode for about 2 to 8 players.
http://www.sumwars.org
http://www.sumwars.org
- Bontakun
- Goblin
- Posts: 290
- Joined: Tue Dec 09, 2003 6:09 am
- Location: Melbourne, Australia
Re: Q: Want to port to Linux.. Which?
I agree with SomeFusion.SomeFusion wrote:I vote for Ubuntu + Qt Creator, you can use the IDE without Qt. At least it has the best code completion around and is much simpler than many other IDEs.
Ubuntu is a great choice for a Linux distro. Other distros can be added after you port to Ubuntu.
Also Qt Creator is a very good IDE (usable under Linux and Windows). I would also recommend the Qt toolkit for your GUI needs, and in fact most cross platform needs as well. (Can compile a Qt program for Linux and Windows.) I've also used Eclipse which is very capable.
- Bonta (eveonline:Dentad)
-
Van
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Re: Q: Want to port to Linux.. Which?
Thanks for the help. I'm trying QT Creator
Does anyone know of a way to import the Microsoft solution into QT Creator? Our solution is very large and I dread having to do it manually.
Does anyone know of a way to import the Microsoft solution into QT Creator? Our solution is very large and I dread having to do it manually.
Stop Global Whining.
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Q: Want to port to Linux.. Which?
You are using Visual Studio Professional?
If you are, you can use QTs VS addin, which allows you to manage both build systems:
If you are, you can use QTs VS addin, which allows you to manage both build systems:
Looks like we've got a winner?Qt's Visual Studio integration provides a way to combine both approaches so that you don't have to manually maintain .pro files and .vcproj files in parallel. You start by creating a .vcproj file as usual. The day you want a qmake .pro file, you can click Qt|Create Basic .pro File to generate a .pro file where you can store Unix and/or Mac OS X specific settings.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
Van
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Re: Q: Want to port to Linux.. Which?
I feel silly.
I saw that add-in but it don't see where it stated what you quoted!
But thanks!
*edit
Ah, there it is... Totally missed that.
I saw that add-in but it don't see where it stated what you quoted!
But thanks!
*edit
Ah, there it is... Totally missed that.
Stop Global Whining.
-
Van
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Re: Q: Want to port to Linux.. Which?
OK,I'm still lost here. I'm trying to figure out QT.
I downloaded Qt Creator 1.1.1 Binary for Windows (29Mb) but I can't seem to compile anything. It says I need to pick a QT Version. It's set to auto but it also says "NOT FOUND".
I also dowloaded the MVS plugin but when I try to make a PRO file it says it "Can't find any Qt4 projects to export".
And here I thought this was going to be simple. I suspect I am missing something.
I downloaded Qt Creator 1.1.1 Binary for Windows (29Mb) but I can't seem to compile anything. It says I need to pick a QT Version. It's set to auto but it also says "NOT FOUND".
I also dowloaded the MVS plugin but when I try to make a PRO file it says it "Can't find any Qt4 projects to export".
And here I thought this was going to be simple. I suspect I am missing something.
Stop Global Whining.
- SomeFusion
- Gremlin
- Posts: 191
- Joined: Sun Dec 01, 2002 12:38 am
- x 3
Re: Q: Want to port to Linux.. Which?
I can't help you with the MVS plugin. For your QT Creator problem try using the Qt SDK. It has everything it needs readily configured. You can get the SDK here. http://www.qtsoftware.com/downloads/sdk-windows-cpp
The download size is bigger but you don't have to setup the IDE yourself.
The download size is bigger but you don't have to setup the IDE yourself.
Summoning Wars is an open source role-playing game, featuring both a single-player and a multiplayer mode for about 2 to 8 players.
http://www.sumwars.org
http://www.sumwars.org
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Q: Want to port to Linux.. Which?
Van:
Maybe you can use the Ruby converter script from CMake wiki?
It converts vc project files to CMake scripts.
I tried it, it's not perfect, but it was a great starting point.
If you use CMake, you can do anything.
I used KDevelop with it, telling it that the project was using a custom make script.
(I know it supports CMake based projects, but I couldn't figure it out).
Maybe you can use the Ruby converter script from CMake wiki?
It converts vc project files to CMake scripts.
I tried it, it's not perfect, but it was a great starting point.
If you use CMake, you can do anything.
I used KDevelop with it, telling it that the project was using a custom make script.
(I know it supports CMake based projects, but I couldn't figure it out).
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- Bontakun
- Goblin
- Posts: 290
- Joined: Tue Dec 09, 2003 6:09 am
- Location: Melbourne, Australia
Re: Q: Want to port to Linux.. Which?
Tsk jacmoe, you recommending something you've never used...
The Qt VS integration addon is helpful for creating and working on QT library projects with VS (using a VS project file). It doesn't _automatically_ help swapping projects from VS to QtCreator.
To use QtCreator as your IDE, you need to use QtCreator to assemble a QtCreator project file. Then you could swap the QtCreator project file between your Windows and Linux environments with ease.
QtCreator knows about CMake (which jacmoe suggested). You can get the Windows CMake package and tell QtCreator where CMake is. Using CMake with QtCreator on Linux should be easier.
QtCreator seems to have default build steps using qmake, then make. You may need to manually add a CMake step.
The Qt VS integration addon is helpful for creating and working on QT library projects with VS (using a VS project file). It doesn't _automatically_ help swapping projects from VS to QtCreator.
To use QtCreator as your IDE, you need to use QtCreator to assemble a QtCreator project file. Then you could swap the QtCreator project file between your Windows and Linux environments with ease.
QtCreator knows about CMake (which jacmoe suggested). You can get the Windows CMake package and tell QtCreator where CMake is. Using CMake with QtCreator on Linux should be easier.
QtCreator seems to have default build steps using qmake, then make. You may need to manually add a CMake step.
- Bonta (eveonline:Dentad)
- jacmoe
- OGRE Retired Moderator

- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: Q: Want to port to Linux.. Which?
I've used the Ruby script for converting vcproj's. It works, but it's not perfect.Bontakun wrote:Tsk jacmoe, you recommending something you've never used...
I suspect that the QT integration only works with QT projects, which makes it useless in Van's case.
What other options are there?
Maybe this? -> http://www.codeproject.com/KB/cross-pla ... n2mak.aspx
(No, I haven't tried that
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
-
Van
- Hobgoblin
- Posts: 512
- Joined: Fri Nov 19, 2004 3:56 am
- Contact:
Re: Q: Want to port to Linux.. Which?
Thanks to everyone for their help.
The QT VS Add-In is deceiving. It doesn't appear to do what I would like it to do. The QT IDE appears to missing some things. I haven't spent a lot of time researching it but I can't seem to figure out where to add include paths and library dependencies. Eh, It would appear I have been spoiled by Microsoft to much.
BTW, that previous post from jacmoe on making a Linux makefile shows promise.
The QT VS Add-In is deceiving. It doesn't appear to do what I would like it to do. The QT IDE appears to missing some things. I haven't spent a lot of time researching it but I can't seem to figure out where to add include paths and library dependencies. Eh, It would appear I have been spoiled by Microsoft to much.
BTW, that previous post from jacmoe on making a Linux makefile shows promise.
Stop Global Whining.
