Skip to content
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

Docker Build Fail #23

Open
robw4 opened this issue Aug 10, 2021 · 1 comment
Open

Docker Build Fail #23

robw4 opened this issue Aug 10, 2021 · 1 comment

Comments

@robw4
Copy link

robw4 commented Aug 10, 2021

First of all, thanks for the hard work in putting this repo together. I am trying to build a docker image using the provided Dockerfile. When I run:

docker build . --tag mulls

The build fails at

Step 17/21 : RUN rm -rf build &&     mkdir build &&     cd build &&     cmake .. -DBUILD_WITH_SOPHUS=ON -DBUILD_WITH_PROJ4=ON -DBUILD_WITH_LIBLAS=ON -DCMAKE_CXX_COMPILER=${CXX_COMPILER} &&     make -j${NPROC}

with 1 error:

/usr/local/include/sophus/common.hpp:42:10: fatal error: 'fmt/core.h' file not found
#include <fmt/core.h>
         ^~~~~~~~~~~~

I have had a quick google but couldn't find anything that looked immediately applicable. Would you have any ideas?

@markuspi
Copy link

markuspi commented Oct 19, 2022

I also ran into this problem. After MULLS was released, Sophus introduced fmt as a new dependency. I had still no success in compiling after installing the package libfmt-dev. So instead, I edited install_dep_lib.sh to download an older version of sophus:

-git clone --depth 1 https://github.com/strasdat/Sophus.git
+git clone --branch v1.0.0 --depth 1 https://github.com/strasdat/Sophus.git

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

No branches or pull requests

2 participants