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

VBODisplay example not working #964

Open
KaranBalakumar opened this issue Dec 27, 2024 · 1 comment
Open

VBODisplay example not working #964

KaranBalakumar opened this issue Dec 27, 2024 · 1 comment

Comments

@KaranBalakumar
Copy link

I tried compiling the VBODisplay example with cuda. When I try to run the example it gives me this output

image

I am using CUDA 11.8 and this is my CMakeLists.txt

enable_language(CUDA)
  
find_package(Pangolin REQUIRED)
include_directories(${Pangolin_INCLUDE_DIRS})
link_directories(${Pangolin_LIBRARY_DIRS})
link_libraries(${Pangolin_LIBRARIES})

find_package(CUDAToolkit REQUIRED)

set(CUDA_SOURCES
    main.cpp
    kernal.cu  
)

add_executable(VBODisplay ${CUDA_SOURCES})
target_link_libraries(VBODisplay CUDA::cudart ${Pangolin_LIBRARIES})
@christian-rauch
Copy link
Collaborator

I can reproduce this by simply adding add_subdirectory(VBODisplay) to https://github.com/stevenlovegrove/Pangolin/blob/master/examples/CMakeLists.txt, re-compiling, and then running ./build/examples/VBODisplay/VBODisplay.

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