Problem Building Tritetmesh

Asked by Pietro Maximoff

Hi

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 ...
/home/pietro/tritetmesh/scons/simula-scons
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?

Pietro

Question information

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

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

Johan

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

Setting the PKG_CONFIG_PATH variable solved the problem. Thanks.