Open rmlearney opened 1 year ago
You'll need to tell CMake where to find the SDK library/include paths, by setting these variables:
-DHoloPlayCore_LIBRARY:PATH=/<path>/<to>/HoloPlayCore/dylib/macos/libHoloPlayCore.dylib
-DHoloPlayCore_INCLUDE_DIR:PATH=<path>/<to>/HoloPlayCore/include
If you don't specify those CMake options, then this one is downloaded automatically, which is an older version without arm64 support. We can't update that automatic download version yet until some issues in #52 are resolved (especially the Linux glibc issue, since we need wheel support).
You can modify which tag of this module that VTK uses by editing this line. We haven't made any changes since that tag that are relevant for arm64 support, though, so it shouldn't be needed (rather, specifying the SDK library/include paths is what is needed).
Note also that if you only care about Python support for this module, you could checkout #52 and just run pip install .
in the root directory of this project, and it will build this module automatically (linking against a pre-built VTK) and install it.
For arm64, I had an issue where the Looking Glass render window is not automatically moved into the looking glass device (it appears behind some of your windows on your main display, and you have to move it to the device yourself). See #52 for details.
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.Unfortunately it seems to be ignoring the
LookingGlassCoreSDK
I cloned into/src
- probably because it's looking forHoloPlayCore
notLookingGlassCoreSDK
which they renamed it to in the interim.Workaround
/build/HoloPlayCore
LookingGlassCoreSDK
repo into/vtk
as advised in this repo's readme.md/vtk/LookingGlassCoreSDK
to/vtk/build/HoloPlayCore