Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Installation

Subject: CGAL users discussion list

List archive

[cgal-discuss] Installation


Chronological Thread 
  • From: Ashish Upadhyay <>
  • To:
  • Subject: [cgal-discuss] Installation
  • Date: Thu, 24 Jan 2013 18:11:53 +0530



Dear Group Members

I am trying to install CGAL  as root and getting following message. I am not much informed about linux (I am using latest Fedora). Can you please help in this?

---------------------------------------------------------------------------------------------------------------------------------
[root@localhost CGAL-4.1]# /root/cmake-2.8.10.2/bin/./cmake /root/CGAL-4.1
== Setting paths ==
-- Build CGAL from release in directory CGAL-4.1
-- Packagenames: CGAL-4.1
== Setting paths (DONE) ==

== Generate version files ==
-- CGAL_MAJOR_VERSION=4
-- CGAL_MINOR_VERSION=1
-- CGAL_BUGFIX_VERSION=0
-- CGAL_SONAME_VERSION=10
-- CGAL_SOVERSION     =10.0.0
-- CGAL_REFERENCE_CACHE_DIR=
-- Building shared libraries
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- USING CMake version: 2.8.10
-- System: Linux
-- USING GCC_VERSION = '4.1.2 20070626 (Red Hat 4.1.2-14)'
-- Using gcc version 4 or later. Adding -frounding-math
== Generate version files (DONE) ==

== Set up flags ==
-- Build type: Release
-- USING CXXFLAGS = ' -frounding-math -O3 -DNDEBUG'
-- USING LDFLAGS = '  '
== Set up flags (DONE) ==

== Detect external libraries ==
-- External libraries supported: GMP;GMPXX;MPFR;ZLIB;OpenGL;LEDA;MPFI;RS;RS3;OpenNL;TAUCS;Eigen3;BLAS;LAPACK;QGLViewer;ESBTL;Coin3D;NTL;IPE
-- Preconfiguring library: GMP ...
-- GMP has been preconfigured:
--   CGAL_UseGMP-file:
--   GMP include:      /usr/local/include
--   GMP libraries:    /usr/local/lib/libgmp.so
--   GMP definitions: 
-- USING GMP_VERSION = '5.1.0'
-- Preconfiguring library: MPFR ...
-- Found MPFR: /usr/local/lib/libmpfr.so 
-- MPFR has been preconfigured:
--   CGAL_UseMPFR-file:
--   MPFR include:      /usr/local/include
--   MPFR libraries:    /usr/local/lib/libmpfr.so
--   MPFR definitions: 
-- USING MPFR_VERSION = '3.1.1'
CMake Error at /root/cmake-2.8.10.2/Modules/FindBoost.cmake:1192 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  cmake/modules/CGAL_SetupBoost.cmake:6 (find_package)
  cmake/modules/CGAL_SetupDependencies.cmake:85 (include)
  CMakeLists.txt:590 (include)


-- Boost include:     Boost_INCLUDE_DIR-NOTFOUND
-- Boost libraries:  
-- Boost definitions:
-- USING BOOST_VERSION = '..'
== Detect external libraries (DONE) ==

== Write compiler_config.h ==
-- Performing Test CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG - Success
-- Performing Test CGAL_CFG_DENORMALS_COMPILE_BUG - Success
-- Performing Test CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG - Success
-- Performing Test CGAL_CFG_IEEE_754_BUG - Success
-- Performing Test CGAL_CFG_ISTREAM_INT_BUG - Success
-- Performing Test CGAL_CFG_MATCHING_BUG_5 - Success
-- Performing Test CGAL_CFG_MATCHING_BUG_6 - Success
-- Performing Test CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG - Success
-- Performing Test CGAL_CFG_NO_LIMITS - Success
-- Performing Test CGAL_CFG_NO_NEXTAFTER - Success
-- Performing Test CGAL_CFG_NO_STL - Success
-- Performing Test CGAL_CFG_NO_WARNING_CPP_DIRECTIVE_BUG - Success
-- Performing Test CGAL_CFG_NUMERIC_LIMITS_BUG - Success
-- Performing Test CGAL_CFG_OUTOFLINE_MEMBER_DEFINITION_BUG - Success
-- Performing Test CGAL_CFG_TEMPLATE_IN_DEFAULT_PARAMETER_BUG - Success
-- Performing Test CGAL_CFG_TYPENAME_BEFORE_DEFAULT_ARGUMENT_BUG - Success
-- Performing Test CGAL_CFG_USING_BASE_MEMBER_BUG_2 - Success
== Write compiler_config.h (DONE) ==

== Generating build files ==
Configuring libCGAL
-- Requested component: MPFR
-- Requested component: GMP
libCGAL is configured
-- Sources for CGAL component library 'ImageIO' detected
Configuring libCGAL_ImageIO
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- CGAL_ImageIO needs OpenGL, cannot be configured.
-- NOTICE: CGAL_ImageIO needs ZLib to read compressed files. That feature will not be activated.
-- Sources for CGAL component library 'Qt4' detected
Configuring libCGAL_Qt4
-- CGAL_Qt4 needs Qt4, cannot be configured.
-- Sources for CGAL component library 'Qt3' detected
Configuring libCGAL_Qt3
-- CGAL_Qt3 needs Qt3, cannot be configured.
-- Sources for CGAL component library 'Core' detected
Configuring libCGAL_Core
-- Requested component: MPFR
-- Requested component: GMP
libCGAL_Core is configured
-- Sources for CGAL component libraries 'CGAL;Core;ImageIO;Qt3;Qt4' detected
== Generating build files (DONE) ==

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /root/CGAL-4.1/src/CGAL
   used as include directory in directory /root/CGAL-4.1/src/CGALCore

-- Configuring incomplete, errors occurred!
[root@localhost CGAL-4.1]#

------------------------------------------------------------------------------------------------------------------------------------

Thanks

Ashish




On 24 January 2013 14:52, Sebastien Loriot (GeometryFactory) <> wrote:
Go at [1], and I think the second example (Using an Integer as Key
Type) is doing what you.

Sebastien.

[1] http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Spatial_searching/Chapter_main.html#Subsection_61.3.6

On 01/24/2013 09:55 AM, Rhys D wrote:
Hi,

Now that I am up and running with CGAL, I am dismayed to discover that
the nearest neighbor search does not allow you to return an index.

I found an old post from 2007 from Johannes that suggests that he has a
working implementation of a nearest neighbor search that will return an
index.

Failing that, does anyone else have any ideas?

Rhys.


--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss









Archive powered by MHonArc 2.6.18.

Top of Page