Open yurivict opened 6 years ago
Did you solve this issue?
Neither of us work with Free BSD, so this issue isn't being investigated.
This is my solution. Should not only import pangolin.
1) In the CMakeLists.txt file, add the following:
find_package(OpenGL REQUIRED)
find_package(GLUT REQUIRED)
include_directories(${OPENGL_INCLUDE_DIRS})
include_directories(${GLUT_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
2) In the corresponding cpp file, add the header file:
#include <GL/glu.h>
With gcc-7 compiler on FreeBSD 11.2, the build fails:
Further, the build this continues after this error.