<roehl...@debian.org> wrote: > Control: notfound -1 1.9.5-6 > > Hi Davius, > > * Davius <xdav...@gmail.com> [2024-07-23 11:46]: > > /tmp/pacstall/openvr~2.5.1/openvr-2.5.1/src/vrcore/vrpathregistry_public.cpp:4:10:
> > fatal error: json/json.h: No such file or directory > > 4 | #include <json/json.h> > > | ^~~~~~~~~~~~~ > > compilation terminated. > Your CMake usage is incorrect. You need to call > `find_package(jsoncpp)` and then link against the JsonCpp::JsonCpp > target. This will setup the proper include path > -I/usr/include/jsoncpp for your compiler so that json/json.h is > found. > > Actualy, the libjsoncpp-dev package is the same on Testing > > and Sid, tested both, json.h is missing and the package > > broken. > The file is not missing, it is installed in a way that prevents > accidental clashes with other JSON libraries. > Cheers > Timo Hi Timo, Thank you for your reply ! With your help and some research, I have added this line to cmake in build() -DCMAKE_CXX_FLAGS=-I/usr/include/jsoncpp That was the solution. Everything is fine now and I also have learned that include path can not be standards. And why. And I also take care to set --prefix=/usr/local to build libs to avoid accidents as you have mentioned and not disturb anything. I have also think that a file was missing because It has already the case on an other package before. It's all good now. Thank you for your time. And sorry for disturb. Regards. Davius