Skip to content
Advertisement

make[2]: *** No rule to make target `/usr/lib/i386-linux-gnu/libmpfr.so’ in CGAL

I am using CGAL and I have this minimal example (which should be fine since it’s an example):

JavaScript

However, I am getting this error:

JavaScript

What I should do?

I am creating the CmakeLists files like this:

JavaScript

as I describe here.

If you need more information, please let me know.

JavaScript

Advertisement

Answer

The easiest way to install CGAL on Debian or Ubuntu is apt-get install libcgal-dev (or libcgal-qt4-dev). If you are going to build CGAL yourself, you should still apt-get build-dep cgal which installs the most relevant dependencies.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement