Brew Notes

Brew Notes

Discuss everything related to compiling and running Spring on Mac OS X.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Brew Notes

Post by AF »

I'm just going to put these here

Code: Select all

brew install sdl
brew install glew
brew install boost
brew install libtiff
brew install devil

brew tap homebrew/versions
brew install gcc47
https://github.com/mxcl/homebrew/wiki/C ... -Libraries

Mavericks GMP4:

Code: Select all

==> Caveats
This formula is keg-only: so it was not symlinked into /usr/local.

Conflicts with gmp in main repository.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gmp4/lib
    CPPFLAGS: -I/usr/local/opt/gmp4/include

Todo: Plaster the Wiki with the command to generate the C++ Wrappers, someone removed the last mention I added and there's no record of it in the wiki now
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Brew Notes

Post by FLOZi »

Which page?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Brew Notes

Post by AF »

If I could remember where I put it or where on the forums it was I'd be using it, I would put it under here and here

The cppint branch talk needs removing too as it was merged into master a while ago.

My current problem is the change from libstdc++ to libc++ in OS X Mavericks preventing me installing gcc47/gcc49, cmake . fails with missing OpenMP stuff
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Brew Notes

Post by AF »

For now i'm concluding that spring won't build on Mavericks until the libstdc++ vs libc++ issue progresses and gcc can be built
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Brew Notes

Post by FLOZi »

AF wrote:If I could remember where I put it or where on the forums it was I'd be using it, I would put it under here and here
You have only contributed to the former of those 2 pages and the only other contributor was me tweaking the categories...
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Brew Notes

Post by AF »

I must have put it somewhere else then, don't ask me where though
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: Brew Notes

Post by FLOZi »

AF wrote:I must have put it somewhere else then, don't ask me where though
http://springrts.com/wiki/Building_Spri ... 2FWrappers

?

You added it in October 2011
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: Brew Notes

Post by AF »

Nifty, now i just need to get to a point where cmake . will work.
Post Reply

Return to “Mac OS X”