User forums > Help
Big trouble running Codeblocks in MacOS X Leopard
Baluarte:
Ok. I should recognize that I did not use any guides for the library wxwidgets building. Simply I used the same procedure than at a system Unix/Linux.
Too perhaps I should explain it in detail.
The main steps:
1. Open Console
2. cd wxWidgets-2.8.9
3. mkdir buildswithopengl; cd buildswithopengl
4. ../configure --with-opengl --with-mac --enable-unicode
5. make; sudo make install
SUCCESS!
But I do not find a similar file to *libwx_macu-*.dylib
The files I find are:
libwx_base_carbonu-2.8.0.5.dylib
libwx_base_carbonu_net-2.8.0.5.dylib
libwx_base_carbonu_xml-2.8.0.5.dylib
libwx_macu_adv-2.8.0.5.dylib
libwx_macu_aui-2.8.0.5.dylib
libwx_macu_core-2.8.0.5.dylib
libwx_macu_gl-2.8.0.5.dylib
libwx_macu_html-2.8.0.5.dylib
libwx_macu_qa-2.8.0.5.dylib
libwx_macu_richtext-2.8.0.5.dylib
libwx_macu_xrc-2.8.0.5.dylib
However:
If I install wxWidgets with Mac Ports (wxWidgets-2.8.8. Sigh!)
then Yes. I find a libwx_macu-2.8.0.5.0.dylib under /opt/local/var/macports/software/wxWidgets/2.8.8_0/opt/local) and a libwx_macu-2.8.0.dylib too.
So, I modified the script. And I copy the libwx_macu-2.8.0.5.0.dylib file in CodeBlocksSVN.app/Contents (with Finder).
Here is the proof:
Same result:
At last, I executed application from Finder.
The Codeblocks icon jumped four or five times in the dashboard before vanishing.
Next nothing happened.
The Consola.app says:
--- Code: ---[0x0-0x20020].org.codeblocks.app[489] /System/Library/Frameworks/Carbon.Framework/Versions/A/Support/LaunchCFMApp [489] Launch Failed with Error Code -2857
(cfragCFragRsrcErr) for application /Users/baluarte/CodeBlocksSVN.app/Contents/MacOS/CodeBlocks
com.apple.launchd[261] ([0x0-0x20020].org.codeblocks.app[489]) Exited with exit code:215
--- End code ---
Baluarte
P.S: Sorry for my poor English
afb:
--- Quote from: Baluarte on December 22, 2008, 09:00:52 pm ---Ok. I should recognize that I did not use any guides for the library wxwidgets building. Simply I used the same procedure than at a system Unix/Linux.
--- End quote ---
The configuration used for building wxWidgets noted on that Wiki page above...
--- Code: ---./configure --enable-shared --enable-monolithic --enable-unicode --with-mac --with-opengl \
--with-png=builtin --with-jpeg=builtin --with-tiff=builtin --with-expat=builtin
--- End code ---
It's the "monolithic" option that builds one big library instead of several small.
You can use the non-monolithic libraries too, loop over them the same way...
Check where your application links, by using otool -L on your CodeBlocks
Baluarte:
Ok! I will test it!
Very grateful for your effort.
Baluarte
Navigation
[0] Message Index
[*] Previous page
Go to full version