Здравствуйте.
Пытаюсь настроить систему, чтобы использовать OSG вместе с QML.
Самый популярный вариант - это поставить OsgQtQuick
https://github.com/podsvirov/osgqtquick
Для него нужно посавть OSG и osgQt
https://github.com/openscenegraph/osgQt
OSG собрал и установил без проблем, при установке osgQt выдало сообщение
The build system is configured to install libraries to /usr/local/lib64
Your applications may not be able to find your installed libraries unless you:
set your LD_LIBRARY_PATH (user specific) or
update your ld.so configuration (system wide)
You have an ld.so.conf file in /etc, if you wish to ensure
that applications find the installed osg libraries, system wide, you
could add /usr/local/lib64 to it.
Внес в ld.so.conf /usr/local/lib64
cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf
/usr/local/lib64
В IDE osgQt находит и подключает.
Но при попытке собрать osgqtquick получаю следующее сообщение
cmake .
-- The CXX compiler identification is GNU 7.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found osg: /usr/local/lib/libosg.so
-- Found osgDB: /usr/local/lib/libosgDB.so
-- Found osgGA: /usr/local/lib/libosgGA.so
-- Found osgManipulator: /usr/local/lib/libosgManipulator.so
-- Found osgUtil: /usr/local/lib/libosgUtil.so
-- Found osgViewer: /usr/local/lib/libosgViewer.so
-- Found osgText: /usr/local/lib/libosgText.so
-- Found OpenThreads: /usr/local/lib/libOpenThreads.so
-- Found OpenSceneGraph: /usr/local/lib/libosg.so;/usr/local/lib/libosgDB.so;/usr/local/lib/libosgGA.so;/usr/local/lib/libosgManipulator.so;/usr/local/lib/libosgUtil.so;/usr/local/lib/libosgViewer.so;/usr/local/lib/libosgText.so;/usr/local/lib/libOpenThreads.so (found suitable version "3.6.5", minimum required is "3.0")
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find osgQt (missing: OSGQT_LIBRARY) (Required is at least version
"3.0")
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.10/Modules/FindosgQt.cmake:44 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/CMakeLists.txt:22 (find_package)
То есть не находит osgQt. Не могу понять, что я делаю неверно?