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

2018-06-12 Thread Alexey Palagin


robertosfield wrote:
> Hi Alexey,
> Could it be that you are reading a CMake message as a critical problem
> when it's just a message that an optional package hasn't been found?
> Have you tried just running make?
> 
> Robert


Yes, I am reading a CMake message as a critical problem, because I could not 
find an appropriate package. Now I see it is not a problem at all, thank you.

I tried to run make - it run without errors.

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2018-06-12 Thread Alexey Palagin


robertosfield wrote:
> Hi Alexey,
> 
> You only need to compile against DCMTK (a thread party project for
> loading dicom files). Do you need dicom support?
> 


Hi, Robert.
If DCMTK is used for DICOM support (https://en.wikipedia.org/wiki/DICOM), I 
don't need it. How to switch it off?

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


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

2018-06-12 Thread Alexey Palagin
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



The C compiler identification is GNU 4.8.5
The CXX compiler identification is GNU 4.8.5
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
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
Looking for include file pthread.h
Looking for include file pthread.h - found
Looking for pthread_create
Looking for pthread_create - not found
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - found
Found Threads: TRUE  
Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
Looking for gethostbyname
Looking for gethostbyname - found
Looking for connect
Looking for connect - found
Looking for remove
Looking for remove - found
Looking for shmat
Looking for shmat - found
Looking for IceConnectionNumber in ICE
Looking for IceConnectionNumber in ICE - found
Found X11: /usr/lib64/libX11.so
Found OpenGL: /usr/lib64/libGL.so  
Found CURL: /usr/lib64/libcurl.so (found version "7.29.0") 
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)


Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
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/alexegin/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