How to build for OSX

55 views
Skip to first unread message

Bram Stolk

unread,
Sep 29, 2011, 4:19:44 PM9/29/11
to ode-users
autogen.sh was not working for OSX, so I made a change.

The OS provided glibtoolize will not work, so I disabled the
glibtoolize override in the script.

Also, the message that automake 1.10 or higher is req'd, is incorrect:
you actually need the latest automake, which is at 1.11
So I changed that message.

Also note, without the latest lib tool, compilation will fail with:
mv: rename .deps/drawstuff.Tpo to .deps/drawstuff.Plo: No such file or
directory

To build on OSX you need to:

(1) install the latest libtool from gnu.org
http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz

(2) install the latest autoconf from gnu.org
http://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz

(3) install the latest automake from gnu.org
http://ftp.gnu.org/gnu/automake/automake-1.11.tar.gz

With this, you can generate a working configure, which will enable you
to build OpenDE, including the drawstuff and the demos.
Everything will work out of the box, provided the GNU stuff is recent.

Bram

PS: To install the updated gnu software, I recommend to configure the
gnu packages with --prefix=$HOME, and set your PATH=$HOME/bin:$PATH

Danny Price

unread,
Feb 3, 2012, 5:05:17 PM2/3/12
to ode-...@googlegroups.com
Thank you so much for this!!! What a pain in the ass.

After I installed automake 1.11 the version was still being reported as 1.10. You have to quit and relaunch Terminal.app after installing autoconf 2.68 for it to be picked up my automake!

I now have the very latest ODE building on OSX (Snow Leopard). Will be trying Lion next....

> --
> You received this message because you are subscribed to the Google Groups "ode-users" group.
> To post to this group, send email to ode-...@googlegroups.com.
> To unsubscribe from this group, send email to ode-users+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ode-users?hl=en.
>

Bill Sellers

unread,
Feb 20, 2012, 4:57:28 AM2/20/12
to ode-...@googlegroups.com
Just to say what a good job has been done with 0.12. I've just installed it on MacOSX Snow Leopard and Windows under both Visual Studio and mingw. It almost went without a hitch but I needed to remove any spaces in the MacOSX folder name - I think there's a cd somewhere in the make system where the destination isn't in double quotes. It's just after libtool gets called I think. mingw worked fine straightaway (but my folder path there had no spaces). Visual Studio took me a little time to work out but once I realised that I should use premake4.exe to generate the required project files it all worked fine. The 2008 project files were converted automatically by VS2010 and although there were some reported errors they worked perfectly building the libraries and the demos.

All in all an excellent job!

Cheers
Bill
--
http://www.animalsimulation.org

Oleh Derevenko

unread,
Feb 1, 2013, 3:17:50 AM2/1/13
to ode-...@googlegroups.com

In ‘bild’ subfolder there is premake.exe that can generate MinGW GCC makefiles or Visual Studio solution for you. Please run ‘premake4.exe --help’ there and read about options available for generation.

 

Oleh Derevenko

-- Skype with underscore

  

 

From: ode-...@googlegroups.com [mailto:ode-...@googlegroups.com] On Behalf Of Velasco Z
Sent: Friday, February 01, 2013 3:27 AM
To: ode-...@googlegroups.com
Subject: [ode-users] Re: How to build for OSX

 

can Someone show how to build in windows?

I cannot find any.

--

You received this message because you are subscribed to the Google Groups "ode-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to ode-users+...@googlegroups.com.


To post to this group, send email to ode-...@googlegroups.com.



This e-mail may contain privileged and confidential information. If you are not the intended recipient, be aware that any use, disclosure, copying or distribution of this e-mail or any attachments is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you.
Reply all
Reply to author
Forward
0 new messages