Hello,
If I may, I would like to give the Code Blocks dev team a big “thumbs up”. I really like what you have done. I had no problems using the IDE and poking around all its features – event without reading any manuals. Its pretty nice.
Ok….
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…
I ended up checking out the source code from the SVN repository. I built the latest images on Windows XP and Linux Ubuntu. All is OK. I was able to determine that C::B will be a good fit on these two platforms.
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.htmlI 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)
2)
Roxlu’s original script tried to make the “CodeBLocks.app” image but it is not working properly. I am comparing what roxlu’s script has generated to the “CodeBLocks.app” image from the original v8.02 app image. I am also comparing what the script is creating relative to roxlu’s app image that was referenced in another post.
I diffed the different images and I started to update the build script to properly create the structure in the app’s “CodeBlocks.app/Resources/share/codeblocks” directory by copying the needed “stuff” from the source tree and the build tree:
codeblocks_svn\src\src\resources…
codeblocks_svn\custom_build\src…
The more I got into it, the more something did not seem right.
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.
Thanks,
edwin