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

Build fails on Ubuntu 24 #197

Open
rlorigro opened this issue May 29, 2024 · 0 comments
Open

Build fails on Ubuntu 24 #197

rlorigro opened this issue May 29, 2024 · 0 comments

Comments

@rlorigro
Copy link
Contributor

Just a heads up, I inadvertently learned that bdsg is failing to build on Ubuntu 24

#22 37.53 /hapestry/sv_merge/external/bdsg/src/project_bdsg/bdsg/deps/libhandlegraph/src/include/handlegraph/serializable.hpp:43:13: error: 'uint32_t' does not name a type
#22 37.53    43 |     virtual uint32_t get_magic_number() const = 0;
#22 37.53       |             ^~~~~~~~
#22 37.53 /hapestry/sv_merge/external/bdsg/src/project_bdsg/bdsg/deps/libhandlegraph/src/include/handlegraph/serializable.hpp:9:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
#22 37.53     8 | #include <iostream>
#22 37.53   +++ |+#include <cstdint>
#22 37.53     9 | 

Not sure if reproducible, since it is part of my CMake build:

    # Download or update library as an external project
    ExternalProject_Add(project_bdsg
            GIT_REPOSITORY https://github.com/vgteam/libbdsg.git
            PREFIX ${CMAKE_SOURCE_DIR}/external/bdsg/
            CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_SOURCE_DIR}/external/bdsg/ -DRUN_DOXYGEN=OFF -DBUILD_PYTHON_BINDINGS=OFF
            BUILD_IN_SOURCE True
            INSTALL_DIR ${CMAKE_SOURCE_DIR}/external/bdsg/
            INSTALL_COMMAND make install
    )
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

1 participant