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

Master build failing on Ubuntu 22.04.1 LTS #39

Open
hallahan opened this issue Aug 18, 2022 · 1 comment
Open

Master build failing on Ubuntu 22.04.1 LTS #39

hallahan opened this issue Aug 18, 2022 · 1 comment

Comments

@hallahan
Copy link

I'm on a fresh Ubuntu 22.04 install, and I'm attempting to compile OSMExpress.

I get through CMake, and when I make, I get the following error:

[ 32%] Built target capnp
[ 32%] Building CXX object vendor/s2geometry/CMakeFiles/s2.dir/src/s2/base/stringprintf.cc.o
/home/n/OSMExpress/vendor/s2geometry/src/s2/base/stringprintf.cc:17:10: fatal error: 's2/base/stringprintf.h' file not found
#include "s2/base/stringprintf.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [vendor/s2geometry/CMakeFiles/s2.dir/build.make:76: vendor/s2geometry/CMakeFiles/s2.dir/src/s2/base/stringprintf.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1791: vendor/s2geometry/CMakeFiles/s2.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

I also attempted to run the 0.2.0 compiled binary, and I get this error.

./osmx: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
@bdon
Copy link
Member

bdon commented Sep 1, 2022

I couldn't reproduce this on an ubuntu 22.04.1 with a fresh checkout, can you confirm the s2geometry submodule in vendor/ was initialized and synced correctly?

I don't think the compiled binary is going to be a viable option going forward without something like vcpkg.

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