OpenColorIO icon indicating copy to clipboard operation
OpenColorIO copied to clipboard

2.0.1 fails to find yaml-cpp

Open yurivict opened this issue 4 years ago • 2 comments

I have yaml-cpp-0.7.0 installed but OpenColorIO-2.0.1 fails to find it:

-- Could NOT find yaml-cpp (missing: yaml-cpp_LIBRARY) (found suitable version "0.7.0", minimum required is "0.6.3")
-- Installing yaml-cpp: /disk-samsung/freebsd-ports/graphics/opencolorio/work/.build/ext/dist/lib/libyaml-cpp.a (version "0.6.3")

yaml-cpp-0.7.0 installs both cmake and pkgconfig files:

$ pkg info -l yaml-cpp
yaml-cpp-0.7.0:
[...]
	/usr/local/lib/cmake/yaml-cpp/yaml-cpp-config-version.cmake
	/usr/local/lib/cmake/yaml-cpp/yaml-cpp-config.cmake
	/usr/local/lib/cmake/yaml-cpp/yaml-cpp-targets-release.cmake
	/usr/local/lib/cmake/yaml-cpp/yaml-cpp-targets.cmake
[...]
	/usr/local/libdata/pkgconfig/yaml-cpp.pc
[...]

You still use custom script share/cmake/modules/Findyaml-cpp.cmake that fails.

OS: FreeBSD 13

yurivict avatar Aug 05 '21 19:08 yurivict

I tried to reproduce on macOS but it is working as expected, anyone have access to FreeBSD or know a working docker image ? It would be nice to fix this for the next minor release.

remia avatar Oct 09 '21 19:10 remia

Docker doesn't support FreeBSD.

Please install this ISO image into a VirtualBox VM.

yurivict avatar Oct 09 '21 19:10 yurivict

There's been a fair amount of improvements to the Yaml configuration since this was opened. Please re-open if the issue still exists.

doug-walker avatar Nov 12 '23 01:11 doug-walker