Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Return Nearest Neighbor Index

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Return Nearest Neighbor Index


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Return Nearest Neighbor Index
  • Date: Thu, 24 Jan 2013 13:01:54 +0100
  • Organization: GeometryFactory

Please start a new thread for an unrelated question.

Your log is telling you to install GMP:

> -- Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIR)
> CMake Error at cmake/modules/CGAL_SetupDependencies.cmake:66 (message):
> CGAL requires GMP to be found
> Call Stack (most recent call first):
> CMakeLists.txt:590 (include)

Sebastien.

On 01/24/2013 12:58 PM, Ashish Upadhyay wrote:


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
-- The CXX compiler identification is GNU 4.1.2
-- The C compiler identification is GNU 4.1.2
-- 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
-- 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
== 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 ...
-- Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIR)
CMake Error at cmake/modules/CGAL_SetupDependencies.cmake:66 (message):
CGAL requires GMP to be found
Call Stack (most recent call first):
CMakeLists.txt:590 (include)


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

Thanks

Ashish




On 24 January 2013 14:52, Sebastien Loriot (GeometryFactory)
<

<mailto:>>
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

<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
<https://sympa.inria.fr/sympa/info/cgal-discuss>








Archive powered by MHonArc 2.6.18.

Top of Page