Code::Blocks Forums
User forums => Help => Topic started by: gReaen on March 18, 2008, 08:45:18 am
-
Hello,
I have built a project which has few dialogs using Code::Blocks nightly build 4893 on Windows XP(SP 2) and MinGW 5.1 compiler. Must say, using wxSmith has been easy after trying to find a user friendly GUI builder.
But now my problem is, I want the project to be cross platform. I have installed CB on Ubuntu but I'll have to make few changes in the build options settings for my windows project to run there i guess. But how do i run the same project on a system which does not have CB? Do i need to have CB installed to run them? :?
Any help would be much appreciated...
-
The best way is to create 2 projects, one for ubuntu (in your case) and other for windows. In that way you could compile for the same source for the different platforms using different configurations. Also check these useful links:
http://forums.codeblocks.org/index.php/topic,7978.0.html
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux
-
you can manually merge them into 1 cbp also, and specify the platform, then on win only the windows ones build, and on linux on the the linux ones ;-)
-
And on mac the Mac OS X ones... ;-)
-
And on mac the Mac OS X ones... ;-)
I haven't used an apple computer since I was on high school. wow almost 8 years hehe :shock:.
-
Hey,
Thank you for your suggestions. I actually didn't want to build separate projects on all platforms. Thanks anyways for replying...