Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile and run on Mac OS X #24

Open
rhencke opened this issue Aug 14, 2011 · 2 comments
Open

Compile and run on Mac OS X #24

rhencke opened this issue Aug 14, 2011 · 2 comments

Comments

@rhencke
Copy link

rhencke commented Aug 14, 2011

It would be sweet if digbuild compiled and ran on Mac OS X.

For starters:
sarabi:digbuild roberthencke$ scons --boost-include-dir=/usr/local/include --gmtl-include-dir=/usr/local/include/gmtl-0.6.1 scons: Reading SConscript files ... Checking for C++ header file boost/shared_ptr.hpp... no Required header file boost/shared_ptr.hpp could not be found. Aborting.

This, counterintuitively, is due to -fassociative-math being unsupported in Mac OS X's Lion's version of gcc (i686-apple-darwin11-llvm-gcc-4.2).

Changing SConstruct:99 to
env.Append( CCFLAGS = [ '-O3', '-ffast-math' )

fixes at least this problem.

sarabi:digbuild roberthencke$ scons --boost-include-dir=/usr/local/include --gmtl-include-dir=/usr/local/include/gmtl-0.6.1 scons: Reading SConscript files ... Checking for C++ header file boost/shared_ptr.hpp... yes Checking for C++ header file gmtl/gmtl.h... yes Checking for C++ header file boost/threadpool.hpp... yes Checking for library agar...(cached) ok Checking for library gl...(cached) ok Checking for library glew...(cached) ok Checking for library glu...(cached) ok Checking for library sdl...(cached) ok Checking for library SDL_image...(cached) ok ...

There's more, but this is a start. :)

@blak3mill3r
Copy link
Collaborator

Did u try it? I see no reason why it should not, probably some fidgetry
required
On Aug 13, 2011 5:00 PM, "rhencke" <
reply@reply.github.com>
wrote:

It would be sweet if digbuild compiled and ran on Mac OS X.

Reply to this email directly or view it on GitHub:
#24

@rhencke
Copy link
Author

rhencke commented Aug 14, 2011

Yessir.

I'll make the issue more specific for the first thing.

On Aug 13, 2011, at 7:02 PM, blak3mill3r wrote:

Did u try it? I see no reason why it should not, probably some fidgetry
required
On Aug 13, 2011 5:00 PM, "rhencke" <
reply@reply.github.com>
wrote:

It would be sweet if digbuild compiled and ran on Mac OS X.

Reply to this email directly or view it on GitHub:
#24

Reply to this email directly or view it on GitHub:
#24 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants