User forums > Help

CB startup problem on Mac OSX

(1/3) > >>

bnilsson:
Hi!

Platform: Dual 2.3 GHz PowerMac G5, OSX10.4.7, 1GB DDR RAM, XCode Toolkit 2.4
I updated wxWidgets_WX_2_6_BRANCH by "cvs update" today.
I updated CB by "svn checkout svn://svn.berlios.de/codeblocks/trunk" today.

I configured, built and installed wxwidgets to /opt/local.
I bootstrapped CB (I use autotools from darwinports, and modified bootstrap by adding /opt/local/bin as explicit path to the autotools commands), configured, built and installed CB to /opt/local.
No errors, or I missed them. It all completed, anyway.

I added "setenv CODEBLOCKS_DATA_DIR /opt/local" to my .tcshrc.

I gave the command "codeblocks" in the terminal window.

Now the splash screen appears, and a message about Code-completion. I click on the Code-completion "OK" and the window disappears.

Then the Compilers auto-detection window shows up, saying
/***
GNU GCC Compiler  Detected
Intel C/C++ Compiler
SDCC Compiler
GNU GDC Compiler

Default Compiler: GNU GCC Compiler
**/

And there it hangs, and does not respond to any clicks.

Does anybody have any suggestions how to proceed?


Pecan:

http://wxforum.shadonet.com/viewtopic.php?t=6045&highlight=


See below the section of Bundles

http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Mac_OS_X


--- Code: ---/Developer/Tools/SetFile -t APPL `pwd`/${1}
/developer/tools/Rez -d __DARWIN__ -t APPL Carbon.r -o `pwd`/${1}


--- End code ---

bnilsson:
Thanks, after some trial and error it more or less worked. Some comments:

1) The info in http://wiki.codeblocks.org/index.php?title=Compiling_Code::Blocks_in_Mac_OS_X was very condensed and not entirely correct. It ommitted the fact that CodeBlocks.app/Contents/MacOS/ should contain CodeBlocks.sh renamed to CodeBlocks, or alternatively that Info.plist (which incidentally should be the renamed CodeBlocks.Info.plist, not mentioned either) should reference to CodeBlocks.sh instead of CodeBlocks (CFBundleExecutable = CodeBlocks -> CFBundleExecutable = CodeBlocks.sh).
Who will update the info on the wiki page?

2) The CodeBlocks main window starts with the window header hidden behind the MacOS desktop menu bar, probably placed at (0,0). It has to be zoom-ed to get out into the open. Where can we find the initial placement? It should be easy to fix by setting another init position for the windowm, suitable for the MacOS desktop.

3) The "Messages" field has a font so small that it is impossible to read. Whaere can this be changed?

Anyway, it is a good start, and I will now try to do something with it.

bnilsson:
About 3) Found the fonts settings all by myself, sorry about that.

bnilsson:
I made a new wxWidgets project by "New project" and it seems it has aproblem finding the "wx" headers.
It complains file-not-found on "#include <wx/wxprec.h>"
How do I set this?

The docs does not build with the Makefile supplied. There is no /opt/local/share/xsl/docbook.
make says
warning: failed to load external entity "/opt/local/share/xsl/docbook/html/chunk.xsl"
cannot parse /opt/local/share/xsl/docbook/html/chunk.xsl

Am I missing some utility?

Navigation

[0] Message Index

[#] Next page

Go to full version