El 2/9/20 a las 18:37, Gonzalo Garramuño via lists.aswf.io escribió:
After installing OpenColorIO v2.0 without any problems, I am now trying to revert the change to OCIO v1.1.1.
However, on the linking phase of the utilities, I get a bunch of YAML missing reference symbols, like:
../../core/libOpenColorIO.so.1.1.1: reference to `YAML::Emitter::PostWriteStreamable(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> > const&)' undefined
I am at a loss what to try next, as I made sure no other YAML library is present and the linking line seems fine:
Okay, I found out what is wrong. The YAML library is getting compiled with std::cxx11 strings and libOpenColorIO is not. However I don't yet know how to force either of one to compile in the same abi as the other. I've so far tried:
export CXXFLAGS=-std=cxx11
export LDFLAGS=-std=cxx++11
export CXXFLAGS=-std=gnu++11
export LDFLAGS=-std=gnu++11
export CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=1
all with no success.