How can I specify the location of Python.h during the make?
I am having trouble making the SWIG component of Dolfin. After running cmake with the following commands:
export PYTHONPATH=
cmake -DCMAKE_
I get the following configuration:
-- The following optional packages were found:
-- -------
-- (OK) OPENMP
-- (OK) MPI
-- (OK) UMFPACK
-- (OK) ZLIB
-- (OK) PYTHON
--
-- The following optional packages could not be found:
-- -------
-- (**) PETSC
-- (**) SLEPC
-- (**) TRILINOS
-- (**) MTL4
-- (**) CHOLMOD
-- (**) SCOTCH
-- (**) PARMETIS
-- (**) CGAL
-- (**) SPHINX
But then `make` fails with the following error:
[100%] Built target dolfin
[100%] Swig source
Scanning dependencies of target _cpp
[100%] Building CXX object dolfin/
/home/kjharke/
/home/kjharke/
The errors go on for another 30 lines or so.
Python.h is located at /usr/include/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Johannes Ring
- Solved:
- Last query:
- Last reply: