Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Need to update CMakeLists for new LookingGlassCoreSDK rename?

未关闭
#54 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
cmake, cpp
领域
build-system

调研方向

首先检查 vtk/Remote/RenderingLookingGlass 下 LookingGlass 远程模块的 CMake 配置,以及运行 ccmake 时使用的 HoloPlayCore 构建目录。复现该配置,并检查它为何会 checkout 较旧的 commit,或为何要求 HoloPlayCore 而不是 LookingGlassCoreSDK。完成标准是:重命名后的 SDK 能够在 macOS arm64 上完成配置和链接,且无需删除构建目录或使用 symlink 变通方案。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
C++
星标
18
派生
16
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Kitware/LookingGlassVTKModule 的其他 Issue

查看 Kitware/LookingGlassVTKModule 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。