Skip to content

How can I build Coin as a static library

Volker Enderlein edited this page Jan 12, 2020 · 2 revisions

You are here: HomeDocumentationMac information pageCoin3D/Mac FAQBuilding, Installation, Deployment → Static build

How can I build Coin as a static library?

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
Clone this wiki locally