-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsuccessful installation attempt on Ubuntu 20.0 #1
Comments
Hi, thanks for showing an interest in this! I just tried to compile and run on recent systems I have (Mac OS 10.15.7 and ubuntu 18.04.05) and can basically do so. Some things to note:
As PhD research goes, I have not maintained this since 2018. |
Hi, Thank you for your instructions. I tried again from skratch, by setting up, as you suggested, an anaconda (conda 4.9.2) environment for tom. I am using
As it can be seen in the enclosed file, the path to headers of
Please, note that I have neither Compilation command line is almost identical to that of my issue-opening post except for the path to Is there any other thing I could try ? |
The error you are getting is what I meant with the “ issues with protected destructors in eigen ”. I get this, too, when using newer eigen versions. Please use eigen-3.3.7. You can download the .tar.gz from the eigen page, unzip somewhere, and adjust the path (in the cfg). That should work. |
Thank you for your patient explanations. I downloaded eigen-3.3.7 from GitLab and
Identifer As a paliative, I replaced in I will try to run TOM tomorrow :-) |
I have a successful run with the example! Thanks again. I would suggest completing TOM sources with a version compatible with at least python 3.8 ( |
After clonning the repository, I proceed to installation as follows
CPPFLAGS=-I/usr/include/eigen3 python setup.py install --user
which runs the following:
running install
running bdist_egg
running egg_info
writing python/tom.egg-info/PKG-INFO
writing dependency_links to python/tom.egg-info/dependency_links.txt
writing top-level names to python/tom.egg-info/top_level.txt
reading manifest file 'python/tom.egg-info/SOURCES.txt'
writing manifest file 'python/tom.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying python/tom/_version.py -> build/lib.linux-x86_64-3.8/tom
running build_ext
building 'tom.__tomlib' extension
gcc -pthread -B /home/tk/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include/eigen3 -fPIC -I/home/tk/anaconda3/lib/python3.8/site-packages/numpy/core/include -Iinclude/tom -Iinclude/external -I/opt/local/include/eigen3 -I/home/tk/anaconda3/include/python3.8 -c swig/_tomlib_wrap.cpp -o build/temp.linux-x86_64-3.8/swig/_tomlib_wrap.o -std=c++11 -Wno-unused-variable -Wno-sign-compare
Then the compilation produces a series of warnings and errors (see attached file) and exits with error status 1
result.txt
The text was updated successfully, but these errors were encountered: