Elena
Elena

Reputation: 37

include could not fined load file: CGAL_TBB_support

I'm trying to run "Triangulation_3" examples and while doing the "cmake" I get this error:

CMake Error at CMakeLists.txt:44 (include): include could not find load file: CGAL_TBB_support

I'm using ubuntu 20.04 and I've already installed TBB library using

sudo apt-get install libtbb-dev

How can I fix this error?

Thanks.

Upvotes: 0

Views: 482

Answers (1)

lrineau
lrineau

Reputation: 6294

It seems you are using the system libcgal-dev version 5.0.3, as provided by apt for Ubuntu 20.04. That version of CGAL does not have the CMake module CGAL_TBB_support.cmake.

Probably you are using CGAL examples from more recent version of CGAL, maybe one you downloaded or cloned using Git.

If you recent version of CGAL is, for example, at the path /home/me/downloads/CGAL-5.3, then set the CMake cache variable CGAL_DIR to that directory. You can pass the option -DCGAL_DIR=/home/me/downloads/CGAL-5.3 to the cmake command line, for example. Or set the variable CGAL_DIR to /home/me/downloads/CGAL-5.3 in CMake-GUI. Of course, adjust you the real path on your system.

Upvotes: 1

Related Questions