Hello all,
On my machine, building Ceres (with shared libs -DBUILD_SHARED_LIBS=ON, and including the tests, per default) fails with
../../lib/libtest_util.so: undefined reference to `fLI::FLAGS_v'
...and I'm hoping somebody could point me in the right direction of what might be wrong.
(The build succeeds when excluding the tests (cmake with -DBUILD_TESTING=OFF), though then I'm seeing (presumably related) linker issues when using Ceres later.)
Searching for the error gives me a few hits on other projects (not related to Ceres), but also using glog (e.g.:
https://code.google.com/p/server1/issues/detail?id=1 -- the solution suggested there doesn't do the trick for me however).
This is a fresh git clone (head I6f1e42b419), Ubuntu 14.04, c++/g++ (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4; glog and gflags installed via apt-get install cmake libgoogle-glog-dev (as suggested at
http://ceres-solver.org/building.html#dependencies). dpkg -s libgoogle-glog-dev shows version 0.3.3-1; dpkg -s libgflags-dev shows version 2.0-1.1ubuntu1.
Any hints appreciated.
Thanks much!
Steffen