Hi to all,
Iam trying to build casparcg under ubuntu 18.04 as a library. My idea is to create a c# server app that startup CasparCG as a external so.
I have been able to build the standard casparCG but when i try to switch it in libcasparcg, building it as .so,i got this errors.
cc1plus: error: /home/daniele/Downloads/casparcg-server-master/build/common/common_pch/stdafx.h.gch/.c++: created and used with different settings of -fpie [-Werror]
Seems that precompiled header doesnt’ want to get fpic that i set for all solution using the cmake option
Use “-fPIC” / “-fPIE” for all targets by default, including static libs