Question 1:
Is there a current C::B Mac build script somewhere?
Hopefully a script that gets the code from SVN, builds everything and then makes the Mac “CodeBLocks.app” image.
More Info:
I have been working with code blocks over the past few weeks – trying to evaluate if it will fit a cross platform dev project I have to complete. I started out using the v8.02 pre-built images on Windows (XP) , Linux (Ubuntu 9.10) and Max OS X (Snow Leopard 10.6.3). Everything looked promising on the Windows and Linux platforms but I had a few problems when using the v8.02 code on the Mac. No big deal…
On Mac Snow Leopard 10.6.3 however, I have hit a bit of a snag regarding how to package the “CodeBLocks.app” image. I have searched this support forum for the answer so forgive me if I have missed something.
Here is what I did:
1)
As a starting point, I grabbed the shell script that roxlu posted earlier this year:
http://forums.codeblocks.org/index.php/topic,11920.0.html (http://forums.codeblocks.org/index.php/topic,11920.0.html)
I would not have gotten as far as I did without this script. Thanks roxlu!
I had a few minor issues with the script, my Mac dev environment and the SVN checkout but I think all is OK now and I have what looks like a completed “build all” for C::B on the Mac.
I am using C::B SVN rev 6202 and wxWidgets SVN 63917 (v2.8.11)
Question 2:
Is it OK for me to build the app image this way?
I would like to use C::B for my dev project. If I can contribute back or help, I can do that too.
What were the "few problems" with the 8.02 image for Mac OS X ?http://prdownload.berlios.de/codeblocks/codeblocks-8.02-p2-mac.zip
What were the "few problems" with the 8.02 image for Mac OS X ?
Are they something that could be fixed for next release perhaps ?
Did you see wiki:Installing_Code::Blocks_from_source_on_Mac_OS_X?
BTW, I think you have a typo ("L") in your spelling of CodeBlocks.app...
Most likely you want to use a released version of wxWidgets, i.e. 2.8.10 ?
2.8.11 is in RC2 so should be out shortly, meanwhile I used 2.8.10 + patch.
Regarding this image:
http://prdownload.berlios.de/codeblocks/codeblocks-8.02-p2-mac.zip
Also, are they also present in the latest "nightly build" image for Mac OS X:
http://prdownload.berlios.de/codeblocks/CB_20100227_rev6181_mac2810.zip
QuoteWhat were the "few problems" with the 8.02 image for Mac OS X ?
The “few problems” I noticed were related to keyboard navigation and what looked like GUI display issues (also the wxWidgets font dialog patch). Nothing earth shattering. I was using the v8.02 (patch 2) image and thought it might be better to get to the latest SVN code base in order to properly perform an evaluation. I saw so many changes since the v8.02 release that it made sense to me to perform a SVN build of the latest code.
Thanks for all your information. I will repost again later.
if (PLATFORM == PLATFORM_MAC)
{
// still need the resource fork hack to run unbundled wxWidgets applications:
local rezflags = _T("/Developer/Tools/Rez -d __DARWIN__ -t APPL Carbon.r -o");
if (!IsNull(target))
{
target.AddCommandsAfterBuild(rezflags + _T(" $(TARGET_OUTPUT_FILE)"));
}
}