-
Notifications
You must be signed in to change notification settings - Fork 79
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
Build with autotools fails on Ubuntu 16.04 #196
Comments
Complete steps to reproduce: git clone https://github.com/beniz
cd libcmaes
./autogen.sh
echo "#define CMAES_EXPORT" > cmaes_export.h
./configure
make -k # first time shows error messages and a number of warnings
make -k # second times to only see short list of error messages Optionally, add e.g. |
Hi, see https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/ on installing gtest on Ubuntu. You need to compile and copy the gtest libfiles yourself. |
No offense, I did not claim that gtest is magical or had any ludicrous expectation. Those mentions in README.md:
... create the expectation that either gflags/gtest is not needed to run the examples, or the project make the whole process transparent. I know how to make the process transparent in a CMake setup and can even offer a PR. Anyway, I only tested the autotools build because the CMake build did not try to build example, see #197. Perhaps the best thing to do is to fix the README. |
Compilation fails on Ubuntu 16.04 with latest master.
Followed instructions from README.md, including
sudo apt-get install autoconf automake libtool libgoogle-glog-dev libgflags-dev libeigen3-dev
.Compilation command line includes
-lgtest -lgtest_main
but nolibgtest.so
exists, and no packagelibgtest
.Error message:
Commit is
Kernel is 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: