Extras and MacOSX and the BulletWorldImporter

hifiserious
Posts: 1
Joined: Mon Feb 17, 2014 1:05 pm

Extras and MacOSX and the BulletWorldImporter

Post by hifiserious »

So i wanted to install the extras on my Mac to use the btBulletWorld Importer.

I used the following commands:

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 -DBUILD_EXTRAS=ON -DINSTALL_EXTRA_LIBS=TRUE

make -j5
sudo make install
In my Library/Frameworks folder a BulletWorldImporter.framework exists and i can now include BulletWorldImporter/btBulletWorldImporter.h in my project.

However if i want to run it, the compiler throws an error that the #include "btWorldImporter.h" which is included in the BulletWorldImporter/btBulletWorldImporter.h can't be found. What did I do wrong?