Problem Building Tritetmesh

Asked by Pietro Maximoff


I followed the instructions in the INSTALL file but when I type scons in the tritemesh directory, I get the following even though tetgen and triangle have been installed:

scons: Reading SConscript files ...
Using options from scons/options.cache
Checking for dolfin... yes
Checking for numpy-1... yes
Checking for python-2... yes
Checking for tetgen... no (pkg-config file not found)
 Trying to generate pkg-config file for tetgen... failed
Checking for triangle... no (pkg-config file not found)
 Trying to generate pkg-config file for triangle... failed
Warning: Unknown dependency package: tetgen
Warning: Unknown dependency package: triangle
scons: done reading SConscript files.
scons: *** No targets specified and no Default() targets found. Stop.

What could be the problem?


Question information

English Edit question
TriTetMesh Edit question
No assignee Edit question
Solved by:
Pietro Maximoff
Last query:
Last reply:
Revision history for this message
Johan Hake (johan-hake) said :

Have you entered the "externals" directory and installed tetgen and triangle?

If so you might want to add the directory the pkg-config files where installed in to your PKG_CONFIG_PATH variable


Revision history for this message
Pietro Maximoff (segment-x) said :

Setting the PKG_CONFIG_PATH variable solved the problem. Thanks.