← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3685: Add a second option to fix the compilation with CGAL on 14.04

 

------------------------------------------------------------
revno: 3685
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Tue 2015-06-16 09:35:58 +0200
message:
  Add a second option to fix the compilation with CGAL on 14.04
modified:
  doc/sphinx/installation.rst


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/installation.rst'
--- doc/sphinx/installation.rst	2015-06-12 06:02:43 +0000
+++ doc/sphinx/installation.rst	2015-06-16 07:35:58 +0000
@@ -135,20 +135,6 @@
 distributions. Just copy&paste to the terminal. To perform commands you 
 should have root privileges
  
-.. warning:: If you have Ubuntu 14.04 Trusty, you need to install libqcgal-dev 
- from our `external PPA <https://launchpad.net/~yade-users/+archive/external/>`_.
- Otherwise the following error occurs on AMD64 architectures::
- 
-		terminate called after throwing an instance of 'CGAL::Assertion_exception'
-		what():  CGAL ERROR: assertion violation!
-		Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
-		File: /usr/include/CGAL/Interval_nt.h
-		Line: 209
-		Explanation: Wrong rounding: did you forget the  -frounding-math  option if you use GCC (or  -fp-model strict  for Intel)?
-		Aborted
-
-
- 
 * **Ubuntu**, **Debian** and their derivatives::
 
 		sudo apt-get install cmake git freeglut3-dev libloki-dev \
@@ -184,6 +170,22 @@
 install the softwares listed above. Their names can differ from the 
 names of Debian-packages.
 
+ 
+.. warning:: If you have Ubuntu 14.04 Trusty, you need to add -DCMAKE_CXX_FLAGS="-frounding-math"
+ during the configuration step of compilation (see below) or to install libqcgal-dev 
+ from our `external PPA <https://launchpad.net/~yade-users/+archive/external/>`_.
+ Otherwise the following error occurs on AMD64 architectures::
+ 
+    terminate called after throwing an instance of 'CGAL::Assertion_exception'
+    what():  CGAL ERROR: assertion violation!
+    Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
+    File: /usr/include/CGAL/Interval_nt.h
+    Line: 209
+    Explanation: Wrong rounding: did you forget the  -frounding-math  option if you use GCC (or  -fp-model strict  for Intel)?
+    Aborted
+
+
+
 
 Compilation
 ^^^^^^^^^^^