Page 1 of 1

PPC Mac framework broken

Posted: Mon Aug 02, 2010 12:19 am
by pippy
First let me say that Bullet Physics SDK is the best physics engine. The level of professional finish, licence and features blows away all other solutions out there. It's fantastic and I love it.

I'm using the trunk build as I want to build a framework on Mac, it's nothing major apart from PPC build is broken. I found the following online:

Code: Select all

cmake .. -G "Unix Makefiles" -DINSTALL_LIBS=ON -DBUILD_SHARED_LIBS=ON -DFRAMEWORK=ON    -DCMAKE_OSX_ARCHITECTURES='ppc;i386;x86_64' -DCMAKE_BUILD_TYPE=RelWithDebInfo    -DCMAKE_INSTALL_PREFIX=/Library/Frameworks -DCMAKE_INSTALL_NAME_DIR=/Library/Frameworks
Which I had to change to

Code: Select all

cmake .. -G "Unix Makefiles" -DINSTALL_LIBS=ON -DBUILD_SHARED_LIBS=ON -DFRAMEWORK=ON    -DCMAKE_OSX_ARCHITECTURES='i386;x86_64' -DCMAKE_BUILD_TYPE=RelWithDebInfo    -DCMAKE_INSTALL_PREFIX=/Library/Frameworks -DCMAKE_INSTALL_NAME_DIR=/Library/Frameworks
As it came up with build errors during the make process. I don't know if PPC is still supported, but just in case.

Re: PPC Mac framework broken

Posted: Tue Aug 03, 2010 6:03 pm
by Erwin Coumans
Bullet should still compile on powerpc/PPC.

It seems you are using Intel flags (i386;x86_64) instead of PPC (ppc). Can you try leaving out CMAKE_OSX_ARCHITECTURES, or use -DCMAKE_OSX_ARCHITECTURES='ppc' and see if that helps?
Thanks,
Erwin