Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: afb on June 21, 2015, 03:23:55 pm

Title: Latest Code::Blocks on OS X (using Homebrew)
Post by: afb 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 (http://www.codeblocks.org/downloads/7) 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 (http://www.codeblocks.org/downloads/25) 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
Title: Re: Latest Code::Blocks on OS X (using Homebrew)
Post by: juanfal 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.

Title: Re: Latest Code::Blocks on OS X (using Homebrew)
Post by: afb 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 (http://docs.wxwidgets.org/trunk/page_port.html#page_port_wxosx_cocoa)) is ever to be supported...