dblalock/bolt

Error occured while installing on MacOS (Silicon M1)

igorwood opened this issue · 1 comments

swig has been installed successfully.
After entering python setup.py install, following messages show up

/opt/homebrew/lib/python3.9/site-packages/setuptools/dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(

building '_bolt' extension
swigging cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i to cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp
swig -python -c++ -o cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i
cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i:3: Error: Unterminated string constant
error: command '/opt/homebrew/bin/swig' failed with exit code 1

I face similar issues on Ubuntu 20.04.3 LTS.
I use Python 3.8.10 in virtualenv 20.0.17 and SWIG Version 4.0.1; Compiled with g++ [x86_64-pc-linux-gnu]; Configured options: +pcre

swigging cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i to cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp
swig -python -c++ -o cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake_wrap.cpp cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i
cpp/src/external/eigen/.hg/store/data/_c_test_config.cmake.i:3: Error: Unterminated string constant
error: command 'swig' failed with exit status 1

An I receive quite a lot of warnings like python/bolt/config.i:46: Warning 315: Nothing known about 'Eigen::Dynamic'.

However seems to be related to #4.