Open dougalII opened 1 year ago
Hi @dougalII, sorry about the late reply... One reason is that I can't really help you much here. So you have libyaml-cpp-dev
installed but cmake can't find it. At first glance, that makes no sense at all. So you could check whether pkg-config
finds it:
pkg-config --exists yaml-cpp && echo 'yaml-cpp exists'
If that doesn't output "yaml-cpp exists", there is something wrong with your installation and you should check the contents of your distribution package for a *.pc
file and see whether it's on pkg-config's search paths.
If you do get the output "yaml-cpp exists", then cmake has some problem and you'll need to debug it. Read its man page and pay particular attention to the --debug-output
option and anything related to logging and tracing.
Installing pkgconf fixed it for me.
Hey,
Trying to install from source so i can get the sensors.chip functionality on my ubuntu 22.04 install.
I'v installed dependencies as described, Note:
pkgconfig
now seems to be calledpkg-config
but when running cmake i get:
I've tried both 0.6.0 and 0.7.0 of libyaml-cpp as #195 was also complaining about a similar isssue, but with no success.
one possible issue is libyaml-cpp seems to get installed in
/usr/lib/x86_64-linux-gnu
not/usr/lib64/