Author Topic: Latest Code::Blocks on OS X (using Homebrew)  (Read 9818 times)

Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Latest Code::Blocks on OS X (using Homebrew)
« on: June 21, 2015, 03:23:55 pm »
If you want to help out with Code::Blocks, you can install with Homebrew (http://brew.sh):


After installing brew (under /usr/local), you can find the required codeblocks.rb formula here:

https://github.com/afb/homebrew/tree/codeblocks-osx

To install the latest version of codeblocks with all dependencies (like wxMac/wxOSX), you can use:

Code
cd /usr/local
brew update
curl https://github.com/Homebrew/homebrew/compare/master...afb:codeblocks-osx.patch | git am -3
brew install --HEAD codeblocks

This will download the latest revision from the Subversion repository HEAD, and build it.

Once a new release supporting wxWidgets 3 is out, the formula version can be updated.
There is also an option to build all the contrib-plugins, after installing their requirements:

--with-contrib-plugins



If you want the current release 13.12, you will have to use the X11 version (with wxGTK):

https://github.com/afb/homebrew/tree/codeblocks-gtk

However, this is not compatible with the later (Quartz-only) releases of GTK+ in Homebrew.

Code
brew install codeblocks

Offline juanfal

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Latest Code::Blocks on OS X (using Homebrew)
« Reply #1 on: July 06, 2015, 09:15:20 pm »
Yes, it worked for me.  Finally I've seen the open curly brace in codeblocks for OS X in Spanish!, great.  But, well it is absolutely unusable, it crashes after a few keystrokes, has no the standard .app in OS X Finder graphic interface, etc.  This makes it far from a solution for first year students.

:

I'm not in the position to maintain a piece of code like this one, thats the reason I use mac, sorry.


Offline afb

  • Developer
  • Lives here!
  • *****
  • Posts: 884
Re: Latest Code::Blocks on OS X (using Homebrew)
« Reply #2 on: July 13, 2015, 02:22:49 pm »
I'm not in the position to maintain a piece of code like this one, thats the reason I use mac, sorry.

I suppose that leaves you with two options: use Xcode instead, or run with GTK+ or a different OS in a virtual machine.

Code::Blocks needs an OS X developer (or two) to step up, if that platform (wxOSX/Cocoa) is ever to be supported...