-
Notifications
You must be signed in to change notification settings - Fork 111
How can I build Coin as a static library
Volker Enderlein edited this page Jan 12, 2020
·
2 revisions
You are here: Home → Documentation → Mac information page → Coin3D/Mac FAQ → Building, Installation, Deployment → Static build
The default way of using Coin on Mac OS X is the framework installation. However, it is perfectly possible to do "Unix-style" static linking. To do this, you have to disable framework builds, enable static linking, and turn off runtime lookup of simage. For convenience, here are the options you need to build static versions of simage, Coin, and SoQt:
simage/configure --enable-static --disable-shared
Coin/configure --enable-static --disable-shared --without-framework --disable-dl-simage
SoQt/configure --enable-static --disable-shared --without-framework