Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Mac OS development
roxlu:
Hi afb,
Thanks for your clear answer! Could you maybe share the script witch creates the bundle?
Though i'm not sure if I can use it as I'm compiling against a local (as in same directory and not the default installation in /usr/local/...) wxWidgets installation. If I understood it correctly I can use the install_name_tool to tell MacOS to use the libs in the MacOS directory of application bundle?
Thanks
roxlu
afb:
--- Quote from: roxlu on January 27, 2010, 07:12:46 pm ---Thanks for your clear answer! Could you maybe share the script witch creates the bundle?
--- End quote ---
Will do, just have to clear it up a bit for general use and add the wxSmithContribItems directory...
--- Quote ---Though i'm not sure if I can use it as I'm compiling against a local (as in same directory and not the default installation in /usr/local/...) wxWidgets installation. If I understood it correctly I can use the install_name_tool to tell MacOS to use the libs in the MacOS directory of application bundle?
--- End quote ---
Sure, I can change it to use two different prefixes for wxWidgets and for Code::Blocks, if needed.
Currently I'm using /usr/local for all the "before", but it does use @executable_path for the "after"...
Then Mac OS X will replace this magic string with the current value for the executable's directory.
This is similar to using GetModuleFilename on Windows or BinReloc on Linux, to make relocatable apps.
roxlu:
Hi Afb!
Great! I cant wait to try out your script! Then I'll finally have a nice clean build environment for C::B on Mac! I think
lot's of people will enjoy using the newest version from SVN! I'm using the openFrameworks libraries (www.openframeworks.cc) which has a quite big community. Most of the users of openFrameworks will love a stable C::B on Mac!
Roxlu
roxlu:
Afb, could you maybe upload the script which creates the CodeBlocks.app file for Mac?
roxlu:
Hi everyone!
I'm almost done with compiling Code::Blocks from svn (so from source and the latest version) from mac and create an application bundle form it. There are still two strange things :
1) When I compile C::B against my custom build of wxWidgets 2.8, and everything is ready, I see,using "otool -L bin/codeblocks" that the libwx_macu_**.dylib to which is linked is / usr/local/lib/libwx_macu... which is strange as I specified '--with-wxdir' and '--with-wx-config' to be pointing to my custom build.
2) Although C::B links to my system installation of wxWidgets I can run C::B w/o problems. The only thing which is strange, is that when I want to create a new project, I don't see any projects (or icons) in the project type selection window. Why is that?
Thanks,
Roxlu
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version