Closed bernakabadayi closed 4 years ago
These are related issues: https://github.com/MPI-IS/mesh/issues/15 https://github.com/MPI-IS/mesh/issues/17
Hi @bernakabadayi
the issue is most likely related to the BOOST_ROOT
environment variable. Could you please send me the exact command that you are running, and if necessary the value of $BOOST_ROOT
? Note that it should point to the include directory of the Boost libraries.
Thanks!
Hi @jcpassy,
Firstly, I installed the boost lib as suggested in the Installation via brew install boost.
then run BOOST_ROOT=/usr/local/Cellar/boost/1.72.0_2/ make all
/private/var/folders/63/82v1bwrj13d_5gm3wqyc8nvh0000gn/T/pip-req-build-xgu7147w/build/temp.macosx-10.15-x86_64-3.6/CGAL-4.7/include/CGAL/config.h:85:10: fatal error: 'boost/config.hpp' file not found
#include <boost/config.hpp>
^~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
error: command 'clang' failed with exit status 1
Running setup.py install for psbody-mesh ... error
Cleaning up...
Removing source in /private/var/folders/63/82v1bwrj13d_5gm3wqyc8nvh0000gn/T/pip-req-build-xgu7147w
Removed build tracker: '/private/var/folders/63/82v1bwrj13d_5gm3wqyc8nvh0000gn/T/pip-req-tracker-11t974hx'
ERROR: Command errored out with exit status 1: /Users/bernakabadayi/dev/TF_FLAME/Environments/TF_FLAME/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/63/82v1bwrj13d_5gm3wqyc8nvh0000gn/T/pip-req-build-xgu7147w/setup.py'"'"'; __file__='"'"'/private/var/folders/63/82v1bwrj13d_5gm3wqyc8nvh0000gn/T/pip-req-build-xgu7147w/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/63/82v1bwrj13d_5gm3wqyc8nvh0000gn/T/pip-record-lrs2llyh/install-record.txt --single-version-externally-managed --compile --install-headers /Users/bernakabadayi/dev/TF_FLAME/Environments/TF_FLAME/include/site/python3.6/psbody-mesh --boost-location=/usr/local/Cellar/boost/1.72.0_2/ Check the logs for full command output.
Exception information:
Traceback (most recent call last):
File "/Users/bernakabadayi/dev/TF_FLAME/Environments/TF_FLAME/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 186, in _main
Thanks!
For those getting the same problem, check Clang version you use and compare with the boost, solved thanks a lot :)
for me it resolved after I did sudo apt-get install python3-dev
Hi, while trying to make all psbody-mesh lib, I got this error. I already installed the boost and set the boost_dir as suggested in the readme. Do you have any idea what the reason is?
Thanks in advance