Score:1

Error running cuda with opengl

ba flag

I am trying to compile julia example code using the command "nvcc -lglut julia.cu -o julia" and getting the following error

Starting build...

/usr/bin/ld: /tmp/tmpxft_00004758_00000000-11_julia_gpu.o: undefined reference to symbol 'glFlush'
/usr/bin/ld: /lib/aarch64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

Build finished with error(s).
The terminal process terminated with exit code: -1.

I have also tried installing OpenGL but get the same error.

hr flag
`DSO missing from command line` suggests you should be running nvcc with `-lGL` as well as `-lglut`
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.