Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Boost version w boost::filesystem #106

Closed
JoshuaSBrown opened this issue Apr 9, 2018 · 4 comments
Closed

Boost version w boost::filesystem #106

JoshuaSBrown opened this issue Apr 9, 2018 · 4 comments

Comments

@JoshuaSBrown
Copy link
Contributor

There is a problem with boost 1.53 and the boost::filesystem

../libxtp/libvotca_xtp.so.5: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/tests/unit_test_glink] Error 1
make[1]: *** [src/tests/CMakeFiles/unit_test_glink.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../libxtp/libvotca_xtp.so.5: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/tests/unit_test_atom] Error 1
make[1]: *** [src/tests/CMakeFiles/unit_test_atom.dir/all] Error 2
[ 89%] Linking CXX executable unit_test_aobasis
../libxtp/libvotca_xtp.so.5: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_option, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/tests/unit_test_aobasis] Error 1
make[1]: *** [src/tests/CMakeFiles/unit_test_aobasis.dir/all] Error 2
make: *** [all] Error 2

Either the copy command needs to be replaced with something else: either a home made file copy command/ or a call to the enviornment cp command, or the requirements on the boost version should be updated.

@JoshuaSBrown
Copy link
Contributor Author

The error was encountered on CentOS operating system

@junghans
Copy link
Member

junghans commented Apr 9, 2018

boost-1.53 might too old.

@junghans
Copy link
Member

It is back in https://travis-ci.org/votca/buildutil/builds/372206567 with boost-1.55!

@junghans junghans reopened this Apr 28, 2018
@junghans
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants