Skip to content

Need to update CMakeLists for new LookingGlassCoreSDK rename? #54

@rmlearney

Description

@rmlearney

MacOS 12.5.1, M1 arm64, Apple clang version 13.1.6 (clang-1316.0.21.2.5)

Trying to build and getting an interesting error about not finding arm64 symbols - seems this repo is reverting to the previous HEAD which is still linking to an older version of the SDK without the arm64 dylib.

I went into vtk/Remote/RenderingLookingGlass and pulled the latest (55da190d), but on running ccmake it reverts to the previous HEAD at 55dad90.

 Found Git: /usr/bin/git (found version "2.32.1 (Apple Git-133)")
 From https://github.com/Kitware/LookingGlassVTKModule
  * branch            HEAD       -> FETCH_HEAD
 Previous HEAD position was 5da190d Merge pull request #53 from psavery/fix-compile-warnings
 HEAD is now at 55dad90 Merge pull request #45 from psavery/device-aspect-ratio
 LookingGlass: Building as a Remote VTK module
 Remote - HoloPlayCore [OK]
 Remote - HoloPlayCore_INCLUDE_DIR:/Users/rmlearney/git/vtk/build/HoloPlayCore/HoloPlayCore/include
 Remote - HoloPlayCore_LIBRARY:/Users/rmlearney/git/vtk/build/HoloPlayCore/HoloPlayCore/dylib/macos/libHoloPlayCore.dylib
 Remote - HoloPlayCore_RUNTIME_LIBRARY:/Users/rmlearney/git/vtk/build/HoloPlayCore/HoloPlayCore/dylib/macos/libHoloPlayCore.dylib
 Found HoloPlayCore: /Users/rmlearney/git/vtk/build/HoloPlayCore/HoloPlayCore/dylib/macos/libHoloPlayCore.dylib
 Configuring done

Unfortunately it seems to be ignoring the LookingGlassCoreSDK I cloned into /src - probably because it's looking for HoloPlayCore not LookingGlassCoreSDK which they renamed it to in the interim.

Workaround

  1. Generate the build file
  2. Delete /build/HoloPlayCore
  3. Clone the latest Looking Glass LookingGlassCoreSDK repo into /vtk as advised in this repo's readme.md
  4. Make a symlink from /vtk/LookingGlassCoreSDK to /vtk/build/HoloPlayCore

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions