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

Missing thurst header file in esdf_integrator.cu #27

Open
haowu-figure opened this issue May 8, 2023 · 2 comments
Open

Missing thurst header file in esdf_integrator.cu #27

haowu-figure opened this issue May 8, 2023 · 2 comments

Comments

@haowu-figure
Copy link

I got the following error when building the library, which I can fix by adding #include <thrust/sort.h> and #include <thrust/unique.h> to esdf_integrator.cu.

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1002): error: qualified name is not allowed

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1002): error: expected a ";"

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1011): error: a class or namespace qualified name is required

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1011): error: global-scope qualifier (leading "::") is not allowed

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1011): error: expected a ";"

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1090): error: namespace "thrust" has no member "sort"

/tmp/nvblox/nvblox/src/integrators/esdf_integrator.cu(1095): error: namespace "thrust" has no member "unique"
@Veng97
Copy link

Veng97 commented Sep 24, 2023

I'm getting the same issue

@alexmillane
Copy link
Contributor

I would guess that you're building with CUDA >12.0. The version currently released only supports CUDA 11.x.

We will release a new version in the next few weeks which fixes 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

3 participants