[Slackbuilds-users] OpenSubdiv linking issue
    Tim Dickson 
    dickson.tim at googlemail.com
       
    Fri Apr 14 15:14:44 UTC 2023
    
    
  
hi all, I'm attempting to build OpenSubdiv with optional deps tbb and 
glfw3 and am getting a linking error
[ 33%] Linking CXX executable ../../bin/glViewer
/usr/bin/ld: 
../common/CMakeFiles/examples_common_gl_obj.dir/clDeviceContext.cpp.o: 
in function `CLDeviceContext::Initialize()':
clDeviceContext.cpp:(.text+0x1b3): undefined reference to 
`glXGetCurrentContext'
/usr/bin/ld: clDeviceContext.cpp:(.text+0x1bd): undefined reference to 
`glXGetCurrentDisplay'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/glViewer/CMakeFiles/glViewer.dir/build.make:149: 
bin/glViewer] Error 1
make[1]: *** [CMakeFiles/Makefile2:4055: 
examples/glViewer/CMakeFiles/glViewer.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
any ideas?
thanks, Tim
    
    
More information about the SlackBuilds-users
mailing list