[SOLVED] Cinder with arch

Hey,

Have you compiled Cinder as a shared lib ( i.e cmake .. -DBUILD_SHARED_LIBS=1 ) by any chance? This error will pop usually when trying to build Cinder as a shared lib on Linux where the boost precompiled libs that ship with Cinder should be re-compiled with the -fPIC flag.

In any case I would suggest to try and install a system wide version of boost-system and boost-filesystem with pacman, completely remove the boost submodule that comes with Cinder and is located under the include dir and then reconfigure and build Cinder with cmake .. -DCINDER_BOOST_USE_SYSTEM=1 && make.

HTH,
Petros

1 Like