vsg-dev / osg2vsg

Adapter library for converting OpenSceneGraph Images and 3D models to VulkanSceneGraph
MIT License
43 stars 15 forks source link

win64: can't build on VS2019 #80

Closed remoe closed 1 year ago

remoe commented 1 year ago

Can't build on VS2019:

...\include\osg/GL(114,10): fatal error C1083: Cannot open include file: 'GL/glcorearb.h': No such file or directory [...\src\osg2vsg\osg2vsg.vcxproj]
  BuildOptions.cpp
...\include\osg/GL(114,10): fatal error C1083: Cannot open include file: 'GL/glcorearb.h': No such file or directory [...\src\osg2vsg\osg2vsg.vcxproj]
  ConvertToVsg.cpp
...\include\osg/GL(114,10): fatal error C1083: Cannot open include file: 'GL/glcorearb.h': No such file or directory [...\src\osg2vsg\osg2vsg.vcxproj]
  GeometryUtils.cpp

Possible fix: Using GLCore ?

FIND_PATH( GLCORE_GLCOREARB_HEADER
    NAMES GL/glcorearb.h GL3/glcorearb.h OpenGL/glcorearb.h gl/glcorearb.h
)
include_directories(${GLCORE_GLCOREARB_HEADER})
robertosfield commented 1 year ago

Merry Xmas :-)

I would have thought this should be something handled by the OSG rather than dependent projects like osg2vsg.

remoe commented 1 year ago

Merry Xmas as well 🎄 😄

Ok.