Re: Compilation issue ( v1.1.1 )

Gonzalo Garramuño

El 2/9/20 a las 18:37, Gonzalo Garramuño via 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/ 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


all with no success.

Join { to automatically receive all group messages.