[osg-users] [build] Can't build OSG 2.8.2 on CentOS 7.5

Alexey Palagin alexey.palagin at gmail.com
Tue Jun 12 01:51:02 PDT 2018


Hello.
I am trying to build and install OpenSceneGraph 2.8.2 on CentOS 7.5, configure output in attached file.
How to solve the problems:

Code:

CMake Warning at /usr/share/cmake/Modules/FindITK.cmake:48 (find_package):
Could not find a package configuration file named "ITKConfig.cmake"
provided by package "ITK".

Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files. If "ITK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:304 (FIND_PACKAGE)

checking for module 'xulrunner-xpcom<=1.8.9'
package 'xulrunner-xpcom<=1.8.9' not found
checking for module 'xulrunner-js'
package 'xulrunner-js' not found
checking for module 'xulrunner-nspr'
package 'xulrunner-nspr' not found
checking for module 'xulrunner-nss'
package 'xulrunner-nss' not found
checking for module 'gtk+-2.0'
found gtk+-2.0, version 2.24.31
checking for module 'gtkglext-x11-1.0'
package 'gtkglext-x11-1.0' not found
checking for module 'librsvg-2.0'
found librsvg-2.0, version 2.40.16
checking for module 'cairo'
found cairo, version 1.14.8
checking for module 'poppler-glib'
found poppler-glib, version 0.26.5
Found JPEG: /usr/lib64/libjpeg.so
CMake Warning (dev) at /usr/share/cmake/Modules/FindPNG.cmake:34 (find_package):
File /usr/share/cmake/Modules/FindPNG.cmake includes
/home/user/Downloads/osg/OpenSceneGraph-OpenSceneGraph-2.8.2/CMakeModules/FindZLIB.cmake
(found via CMAKE_MODULE_PATH) which shadows
/usr/share/cmake/Modules/FindZLIB.cmake. This may cause errors later on .

Policy CMP0017 is not set: Prefer files from the CMake module directory
when including from there. Run "cmake --help-policy CMP0017" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Call Stack (most recent call first):
CMakeLists.txt:424 (FIND_PACKAGE)




I have xulrunner installed and I can't find gtkglext-x11 package.
Thanks in advance for answering.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74048#74048



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osg-2.8.2-configure-log.txt
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180612/574423e0/attachment.txt>


More information about the osg-users mailing list