User forums > Help

mac osx build failure

(1/3) > >>

wmaxfield:

  I built the mac osx and when I run it, I get a "You can't open the application "codeblocks" because the classic environment is no longer supported."

  This happens with 8.02 or the svn.

   The binary has numerous bugs, and the executable it produces does not accept focus to the frame window.  I'm willing to work on it, but I need some guidance.

eranif:
The focus thing, is a FAQ for wxMac (wxWidgets port for MacOS). Have a look here:

http://wiki.wxwidgets.org/WxMac_Issues#Building_a_MacOSX_application_bundle

In general, you must package your application in the structure described at the above URL.

Eran

wmaxfield:

  Thanks!  I'll check into it for the output of the compiler. 

  Still wondering about the build for now, complaining about Classic environment.

wmaxfield:

  OK.  copying the codeblocks into the binary version directory of codeblocks caused a launch, which crashed a little later.

  If I put all of the libraries in the same directory, will the svn version of codeblocks find those libraries and launch, or do I need to do a ./configure parameter that will cause that to happen?
   

afb:

--- Quote from: wmaxfield on June 09, 2008, 11:25:32 pm ---  I built the mac osx and when I run it, I get a "You can't open the application "codeblocks" because the classic environment is no longer supported."
--- End quote ---

You need to start it from the terminal (like `/usr/local/bin/codeblocks` or so), to be able to launch it from the Finder (by double-clicking) you need to build an application bundle.

The resource fork hack is required for wxWidgets, to be able to run the Aqua interface from a regular (non-bundle) installation - but it isn't needed for the GTK interface.

Navigation

[0] Message Index

[#] Next page

Go to full version