timoore / vsgCs

Cesium client for VSG
MIT License
54 stars 15 forks source link

vsgImGui #17

Closed ComradeMashkov closed 5 months ago

ComradeMashkov commented 5 months ago

When I build vsgCs client I get this error (MSVC 17 2022, Win10):

CMake Error at src/vsgCs/CMakeLists.txt:81 (target_link_libraries):
  Target "vsgCs" links to:

    vsgImGui::vsgImGui

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

CMake Error at src/CsApp/CMakeLists.txt:32 (target_link_libraries):
  Target "CsApp" links to:

    vsgImGui::vsgImGui

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

CMake Error at src/applications/csclient/CMakeLists.txt:14 (target_link_libraries):
  Target "csclient" links to:

    vsgImGui::vsgImGui

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

CMake Error at src/applications/gltfviewer/CMakeLists.txt:13 (target_link_libraries):
  Target "gltfviewer" links to:

    vsgImGui::vsgImGui

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

CMake Error at src/applications/worldviewer/CMakeLists.txt:14 (target_link_libraries):
  Target "worldviewer" links to:

    vsgImGui::vsgImGui

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

How can I fix this?

ComradeMashkov commented 5 months ago

@timoore I also tried to build it on macOS clang and I had the same error :/

ComradeMashkov commented 5 months ago

I built vsgImGui by myself, but now I have this error:

 error C3668: 'CsApp::CsViewer::advanceToNextFrame': method with override specifier 'override' did not override any base class methods [C:\Users\ilya.mashkov\Desktop\vsgCs\build\src\CsApp\CsApp.vcxproj]

Is it something wrong with my compilation process?