Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build OpenSubDiv 3.6.0 on OpenBSD #1332

Open
brad0 opened this issue Mar 31, 2024 · 4 comments
Open

Can't build OpenSubDiv 3.6.0 on OpenBSD #1332

brad0 opened this issue Mar 31, 2024 · 4 comments

Comments

@brad0
Copy link

brad0 commented Mar 31, 2024

Trying to update from OpenSubDiv 3.5.0 to 3.6.0 it is now failing to build.

FAILED: opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cpuGLVertexBuffer.cpp.o
/home/ports/pobj/opensubdiv-3.6.0/bin/c++ -DGLFW_VERSION_3 -DOPENSUBDIV_HAS_GLSL_COMPUTE -DOPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK -DOPENSUBDIV_HAS_OPENGL -DOPENSUBDIV_VERSION_STRING=\"3.6.0\" -DOSD_USES_INTERNAL_GLAPILOADER -I/home/ports/pobj/opensubdiv-3.6.0/OpenSubdiv-3_6_0/opensubdiv -I/home/ports/pobj/opensubdiv-3.6.0/OpenSubdiv-3_6_0/glLoader -I/home/ports/pobj/opensubdiv-3.6.0/build-amd64/opensubdiv/osd -O2 -pipe -DNDEBUG -std=c++14   -Wall -Wextra -Wno-invalid-offsetof -Wno-strict-aliasing -Wno-overloaded-virtual -fPIC -MD -MT opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cpuGLVertexBuffer.cpp.o -MF opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cpuGLVertexBuffer.cpp.o.d -o opensubdiv/osd/CMakeFiles/osd_gpu_obj.dir/cpuGLVertexBuffer.cpp.o -c /home/ports/pobj/opensubdiv-3.6.0/OpenSubdiv-3_6_0/opensubdiv/osd/cpuGLVertexBuffer.cpp
In file included from /home/ports/pobj/opensubdiv-3.6.0/OpenSubdiv-3_6_0/opensubdiv/osd/cpuGLVertexBuffer.cpp:27:
In file included from /home/ports/pobj/opensubdiv-3.6.0/OpenSubdiv-3_6_0/opensubdiv/osd/../osd/cpuGLVertexBuffer.h:31:
/home/ports/pobj/opensubdiv-3.6.0/OpenSubdiv-3_6_0/opensubdiv/osd/../osd/opengl.h:49:18: fatal error: 'GL/gl.h' file not found
        #include <GL/gl.h>
                 ^~~~~~~~~
1 error generated.

I think it might have something to do with this commit.

05abd4e

The header path to /usr/X11R6/include is missing.

@davidgyu
Copy link
Member

davidgyu commented Apr 1, 2024

Filed as internal issue #OSD-442

@davidgyu
Copy link
Member

davidgyu commented Apr 1, 2024

Could you attach a copy of your CMakeCache.txt?

Thanks!

@brad0
Copy link
Author

brad0 commented Apr 3, 2024

CMakeCache.txt

@brad0
Copy link
Author

brad0 commented Apr 18, 2024

Any update on this? I have a workaround for now. But CMake should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants