You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :)
The text was updated successfully, but these errors were encountered:
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. :)
The text was updated successfully, but these errors were encountered: