vsg-dev/vsgExamples

MinGW 32 compile error

rhabacker opened this issue · 3 comments

With recent source I get the following compile errors:

/home/xxx/src/vsgFramework-mingw32-build/src/vsgExamples/examples/viewer/vsgwindows/vsgwindows.cpp: In function 'int main(int, char**)':
/home/xxx/src/vsgFramework-mingw32-build/src/vsgExamples/examples/viewer/vsgwindows/vsgwindows.cpp:124:21: error: 'class vsg::Trackball' has no member named 'addWindow'
  124 |     main_trackball->addWindow(window1);
      |                     ^~~~~~~~~
/home/xxx/src/vsgFramework-mingw32-build/src/vsgExamples/examples/viewer/vsgwindows/vsgwindows.cpp:128:26: error: 'class vsg::Trackball' has no member named 'addWindow'
  128 |     secondary_trackball->addWindow(window2);
      |                          ^~~~~~~~~
make[5]: *** [examples/viewer/vsgwindows/CMakeFiles/vsgwindows.dir/build.make:86: examples/viewer/vsgwindows/CMakeFiles/vsgwindows.dir/vsgwindows.cpp.obj] Fehler 1

It looks like this method was added to VulkanSceneGraph on 11/26/2021 (after the version was raised to 0.2.0), but vsgExamples still depends on 0.1.13, which does not have this method.

You'll need to update to VulkanSceneGraph master. I haven't yet bumped the version number for this API addition as there are more changes in the works.

Looks like we were commenting at the same time. The change to Trackball is actually after the 0.2.0 version bump, but updating vsgExamples make sense so have gone ahead and updated it.