partio
partio copied to clipboard
Error when make install
When I install this package it shows the following error message
/usr/bin/ld: cannot find -lOpenGL::OpenGL collect2: error: ld returned 1 exit status src/tools/CMakeFiles/partview.dir/build.make:91: recipe for target 'src/tools/partview' failed make[2]: *** [src/tools/partview] Error 1 CMakeFiles/Makefile2:967: recipe for target 'src/tools/CMakeFiles/partview.dir/all' failed make[1]: *** [src/tools/CMakeFiles/partview.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2
Is there any solution to this? Anything would help. When I search the internet I barely see any information regard to -lOpenGL::OpenGL. So I don't know how to solve this.
I am using the cmake version exactly 3.15.0
Is there any solution to this? Anything would help.
Try doing this:
sed -i.bak -e 's,OpenGL::OpenGL,$${OPENGL_LIBRARIES},' src/tools/CMakeLists.txt
This is what I have in the FreeBSD port.
Do you have libglvnd installed?