Hi,
I am trying to implement a CUDA GL interop program.I have seen cuda by example pdf provided by Nvidia as well.
I am trying to compile my code using nvcc compiler with -lglew linker along with other GL,glfw libraries.It shows -lglew not found.libGlew.so is present in jetson installation when i checked.Can anyone provide a solution to this?
on linux it is libGLEW.so, and the corresponding switch is -lGLEW
not -lglew
something like
-lGLEW -lGLU -lGL
is usually needed
1 Like
Hello Robert,
Thanks for the response.
But the problem persists.
nvcc <fname.cu> -o <fname.out> -lGLEW -lGLU -lGL -lglfw is what i am using.
i have included the path usr/include/GL in the LD_LIBRARY_PATH variable in bashrc as well.
unable to understand where the problem lies in my case.Any thoughts?
is libGLEW.so
present somewhere? (not libGLew or any other spelling) If so, where is it, exactly?
1 Like
Yes it is present at usr/lib/aarch64-linux-gnu.
To kickstart my interop program for now i have changed to gl,h and freeglut header and it runs.