Open brad0 opened 5 months ago
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.
https://github.com/PixarAnimationStudios/OpenSubdiv/commit/05abd4e826ab19fec006df326fa5e4be40b354e8
The header path to /usr/X11R6/include is missing.
Filed as internal issue #OSD-442
Could you attach a copy of your CMakeCache.txt?
CMakeCache.txt
Thanks!
Any update on this? I have a workaround for now. But CMake should be fixed.
Trying to update from OpenSubDiv 3.5.0 to 3.6.0 it is now failing to build.
I think it might have something to do with this commit.
https://github.com/PixarAnimationStudios/OpenSubdiv/commit/05abd4e826ab19fec006df326fa5e4be40b354e8
The header path to /usr/X11R6/include is missing.