This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

demo example " 6. Create CSG 2D-geometry " fails to run

–1 vote

I have just upgraded to Ubuntu 14.04 and running demo example 6. that uses CSG gives the message "DOLFIN must be compiled with CGAL to run this demo."

asked Jul 29, 2014 by JohnNkuna FEniCS Novice (130 points)

What is your question? It seems like the version you are using is not compiled with CGAL, which is required for the CSG geometry demos.

1 Answer

0 votes

Your FEniCS installation is probably broken after upgrade. On my Trusty, FEniCS 1.4.0 has CGAL.

Try

sudo apt-get purge fenics
sudo ppa-purge ppa:fenics-packages/fenics
sudo add-apt-repository ppa:fenics-packages/fenics
sudo apt-get update
sudo apt-get install fenics
sudo apt-get dist-upgrade

If it does not help post to fenics-support@fenicsproject.org list.

answered Aug 5, 2014 by Jan Blechta FEniCS Expert (51,420 points)

Hi Jan, i tried installing using the ppa. Infact a colleague of mine also has FEniCS 1.4.0 running fine with CGAL on Trusty. but we've tried purging and reinstalling or using the ppa as above - it didnt solve the problem. Thanks a lot for the response

Please, send this question to the FEniCS support mailing list: http://fenicsproject.org/mailman/listinfo/fenics-support.

...