Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Open3D makes "glEnable()" having segmentation fault

Open GCChen97 opened this issue 2 years ago • 1 comments

Checklist

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?

GCChen97 avatar Aug 18 '22 06:08 GCChen97

Turning off BUILD_GUI makes pangolin works fine.

GCChen97 avatar Aug 20 '22 17:08 GCChen97

Why not use Open3D GUI only?

nnop avatar Jan 29 '23 19:01 nnop

Because documents of open3D GUI C++ API are not complete.

GCChen97 avatar Feb 01 '23 05:02 GCChen97