basp-group / sopt

SOPT: Sparse OPTimisation.
http://basp-group.github.io/sopt/
GNU General Public License v2.0
21 stars 9 forks source link

vanilla build fails on ubuntu 16.04 #15

Open gijzelaerr opened 7 years ago

gijzelaerr commented 7 years ago

Hi! The sopt build fails on ubuntu 16.04:

[  1%] Building CXX object cpp/sopt/CMakeFiles/sopt.dir/wavelets/wavelets.cc.o
In file included from /home/gijs/Work/packaging/sopt-2.0.0/sopt-2.0.0/cpp/sopt/../sopt/logging.h:7:0,
                 from /home/gijs/Work/packaging/sopt-2.0.0/sopt-2.0.0/cpp/sopt/wavelets/wavelets.cc:4:
/home/gijs/Work/packaging/sopt-2.0.0/sopt-2.0.0/cpp/sopt/../sopt/logging.enabled.h:6:29: fatal error: spdlog/fmt/ostr.h: No such file or directory
compilation terminated.
cpp/sopt/CMakeFiles/sopt.dir/build.make:62: recipe for target 'cpp/sopt/CMakeFiles/sopt.dir/wavelets/wavelets.cc.o' failed
make[2]: *** [cpp/sopt/CMakeFiles/sopt.dir/wavelets/wavelets.cc.o] Error 1
CMakeFiles/Makefile2:435: recipe for target 'cpp/sopt/CMakeFiles/sopt.dir/all' failed
make[1]: *** [cpp/sopt/CMakeFiles/sopt.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

During cmake configure sopt config states -- Found spdlog. Also the libspdlog-dev package (1.6) is installed.

Any idea? Is this an incompatible version of libspdlog?

gijzelaerr commented 7 years ago

yes, a newer version of libspdlog is required:

related discussion here:

https://github.com/kernsuite/packaging/issues/13