Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Installing CGAL3.7 and error compiling algebraic_curves exemple

Subject: CGAL users discussion list

List archive

[cgal-discuss] Installing CGAL3.7 and error compiling algebraic_curves exemple


Chronological Thread 
  • From:
  • To:
  • Subject: [cgal-discuss] Installing CGAL3.7 and error compiling algebraic_curves exemple
  • Date: Tue, 22 Feb 2011 17:57:27 +0100 (MET)
  • Importance: Normal

Thank you for your reply!
I didn't create an environment variable pointing to CGAL3.5's dir, so the
default was /usr/local, I guess. Now, when configuring, I set
CMAKE_INSTALL_PREFIX to CGAL 3.7 and with cmake
-DCGAL_DIR=$CMAKE_INSTALLED_PREFIX/lib/CGAL it works.

Conversely if I compile the examples I have the following error for
"algebraic_curves":

In file included from /usr/local/include/boost/numeric/interval.hpp:18,
from
/CGAL3.7/examples/Arrangement_on_surface_2/../../include/CGAL/Algebraic_kernel_d/Interval_evaluate_1.h:30,
from
/CGAL3.7/examples/Arrangement_on_surface_2/../../include/CGAL/Algebraic_kernel_d_1.h:41,
from
/CGAL-3.7/examples/Arrangement_on_surface_2/../../include/CGAL/Arr_algebraic_segment_traits_2.h:25,
from
/CGAL-3.7/examples/Arrangement_on_surface_2/algebraic_curves.cpp:14:
/usr/local/include/boost/numeric/interval/hw_rounding.hpp:40:4: error:
#error Boost.Numeric.Interval: Please specify rounding control mechanism.
make[3]: ***
[examples/Arrangement_on_surface_2/CMakeFiles/algebraic_curves.dir/algebraic_curves.o]
Error 1
make[2]: ***
[examples/Arrangement_on_surface_2/CMakeFiles/algebraic_curves.dir/all]
Error 2
make[1]: *** [CMakeFiles/examples.dir/rule] Error 2
make: *** [examples] Error 2
Any suggestions?
Thank you in advance!






Cecilia,

Did you created a environment variable pointing to CGAL3.5's dir? If so,
I think you need to update it with the CGAL3.7's dir.

What's more, make sure the include dir of 3.5 has been excluded and
3.7's has been added to the project in case you are using Visual Studio.


Yan.

--------------------------------------------------
From:
<>
Sent: Tuesday, February 22, 2011 7:32 PM
To:
<>
Subject: [cgal-discuss] Installing CGAL 3.7

Hi,
I tried to install CGAL 3.7 keeping the version CGAL 3.5 also on my
laptop. So I built the CGAL 3.7 libraries in a new separate directory to
avoid conflicts between the libraries of the version 3.5. Nevertheless I
noticed that in the depend.internal file the include points to the header
files of the old version. Also changing the command include_directories in
the CMakeList file the problem persists. How can I avoid the conflict?
Thank you in advance!


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


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





Archive powered by MHonArc 2.6.16.

Top of Page