Quote:
Originally Posted by ejs
Hi D-Sig,
Could you post a list of th Symlinks? Mine compiles but doesn't actually use OpenGL.
Eric
|
Hi Eric,
I trust you had a look on my previous posts, esp. the ones where I list the results of the "locate" command so that you can see the libraries I have installed.
This last try, I made the following changes to the CMakeLists.txt line 336
and made sure (added as needed) there were symbolic links for each of the elements of the libraries in /usr/lib/arm-linux-gnueabihf/; e.g. for dri2 I added libdri2.so -> libdri2.so.1. For the XXX_static libs you need to have a libXXX.a or libXX.so; I had the libGLU.a but I could not decide what libGL.so to use and it appeared the mesa/libGL.so was giving errors. So, I let the src/glshim that comes with
OpenCPN provide the libGL.a (/OpenCPN/build/lib/libGL.a)
SET(OPENGL_LIBRARIES "GL_static" "GLU_static" "EGL" "X11" "drm" "dri2")
and commented out lines 397-398 because each creates its own problem.
#add_subdirectory(src/glu)
#SET( OPENGL_LIBRARIES "GLU_static" ${REVISED_OPENGL_LIBRARIES})
The behaviour of chart handling and the graphics have a marked improvement but I'm concerned that using the glshim and not the GLES version I do not get the full benefit of
hardware acceleration.
I have posted a section of the log concerning the OpenGL and there are entries that I would like an explanation. Let's hope someone with more knowledge on the subject can enlighten us
Good Luck and let me know how you did
DS