Open3D
Open3D copied to clipboard
Open3D makes "glEnable()" having segmentation fault
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
master
branch).
My Question
I am trying to use open3d c++ in my project. When the program tries to execute glEnable(GL_DEPTH_TEST)
, segmentation fault occured. But when I remove all open3d code and make no links to open3d lib, the program runs normally.
In my project, I also use pangolin that also uses glew. I wonder if the custom glew of open3d has conflicts with the glew that pangolin uses.
How to fix the problem?
Turning off BUILD_GUI makes pangolin works fine.
Why not use Open3D GUI only?
Because documents of open3D GUI C++ API are not complete.