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

uint32_t compile issue #1

Open
ntakebay opened this issue Oct 17, 2024 · 0 comments
Open

uint32_t compile issue #1

ntakebay opened this issue Oct 17, 2024 · 0 comments

Comments

@ntakebay
Copy link

ntakebay commented Oct 17, 2024

Hi,
I was trying to compile TwoBit v2.1.1 with g++ 14, and encountered following compilation error.

/usr/local/share/SeekDeep/external/build/TwoBit/v2.1.1/TwoBit/scripts/setUpScripts/rmNeedToRecompile.py:53: SyntaxWarning: invalid escape sequence '\w'
  pattern = re.compile("^[\w]*#include.*\".*\.h")
In file included from src/TwoBit/objects/TwoBitSequenceMeta.cpp:17:
src/TwoBit/objects/TwoBitSequenceMeta.hpp:48:17: error: ‘uint32_t’ does not name a type
   48 |                 uint32_t pos_;
      |                 ^~~~~~~~
src/TwoBit/objects/TwoBitSequenceMeta.hpp:22:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
   21 | #include <iostream>
  +++ |+#include <cstdint>
   22 | 

It works after adding #include to src/TwoBit/objects/TwoBitSequenceMeta.hpp as the compiler suggested. I thought that you might want to fix this issue.

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