Skip to content

attempting to build the new 2.x branch on OSX - some notes... #38

@davidbuzz

Description

@davidbuzz

get a few dependancies first:

brew install gtkmm gtk+ gtkglext cmake glib glade

you'll also need to manually download , compile and install the latest versions of libtool, autoconf and make:

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz
wget http://ftp.gnu.org/gnu/make/make-3.82.tar.gz
( extract each of these to a folder, cd to it, type: ./configure ; make ; sudo make install )

these above tools are ( by default) installed into /usr/local, so you need to have /usr/local/bin in your PATH variable, before /usr/bin etc:

set PATH=/usr/local/bin:$PATH

you'll also need to tweak the code so it doesn't refer to GL/gl.h or GL/glu.h

edit this file:
vi src/stdafx.h
and change the two GL related #includes near the top to:
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>

then type :
aclocal
automake
sh autogen.sh

I'm not sure what else is needed, as I kinda hacked around a bit. Eg: I installed freeglut, but I don't thnk it's needed. Anyway, I downloaded it from here: http://aarnet.dl.sourceforge.net/project/freeglut/freeglut/freeglut-2.6.0.tar.gz and I found that this configure line works for it: ./configure --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib

still working on it, so I'll add comments to this ticket if /when it all comes together. :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions