Description
Hi Everyone,
I try to install OpenSceneGraph Under Windows 10, and I follow the steps from [1.3.InstallUnderWindows] (https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.3.InstallUnderWindows)
$ cmake -G "MinGW Makefiles" ~/q/OpenSceneGraph/
$ cmake --build .
Output error from Msys2:
C:/msys64/mingw64/include/oaidl.h: 579:5: error: reference to 'byte' is ambiguous
579 | byte *pRecord;
| ^~~~
C:/msys64/mingw64/include/c++/14.2.0/cstddef:70:14: note: candidates are: 'enum class std::byte'
70 | enum class byte : unsigned char {};
| ^~~~
C:/msys64/mingw64/include/rpcndr.h: 93:25: note: 'typedef unsigned char byte'
93 | typedef unsigned char byte;
| ^~~~
mingw32-make[2]: *** [src\osg\CMakeFiles\osg.dir\build.make:769: src/osg/CMakeFiles/osg.dir/DisplaySettings.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:2752: src/osg/CMakeFiles/osg.dir/all] Error 2
mingw32-make: *** [Makefile:135: all] Error 2
I don't know how to fix this issue in Msys2 [windows 10]