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

Compilation error: uint16_t does not name a type #368

Open
fjulian opened this issue Aug 14, 2024 · 0 comments
Open

Compilation error: uint16_t does not name a type #368

fjulian opened this issue Aug 14, 2024 · 0 comments

Comments

@fjulian
Copy link

fjulian commented Aug 14, 2024

Hi, thanks for this great tool first of all!

Right now I am trying to install it in a new environment using pip install igibson==2.0.2 (also tried with 2.2.2, but same issue) and get the following error message:

igibson/render/pybind11/include/pybind11/attr.h:192:10: error: 'uint16_t' in namespace 'std' does not name a type; did you mean 'wint_t'?
        192 |     std::uint16_t nargs;
            |          ^~~~~~~~                                     
            |          wint_t

To make sure uint16_t works in general on the system, I tried compiling the following minimal example, which works fine:

#include <iostream>
#include <cstdint>

using namespace std;

int main() {
        uint16_t bla = 7;
        int a = 3;
        cout << a << " " << bla << "\n";
        return 0;
}

Here are the versions of the tools I'm using:
ubuntu 22.04.4, 5.15.0-113-generic
Python 3.10.13
pip 24.2
g++ 13.2.0
cmake 3.27.7

This is running in an environment I don't have sudo rights in, so I'm somewhat limited regarding installing software.
Any help to solve this would be greatly appreciated. Thanks in advance!

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