Build instructions in Readme don't work
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- cmake, cpp
- Ambito
- build-system, documentation
Direzione di ricerca
Inizia da README.md e dall'integrazione CMake utilizzata quando il modulo viene copiato nella cartella Remote di VTK. Riproduci la configurazione Windows VTK 9.0.1, verificando HoloPlayCore_INCLUDE_DIR, HoloPlayCore_LIBRARY, Qt5_DIR e VTK_GROUP_ENABLE_QT. Il lavoro è completato quando README descrive accuratamente la preparazione necessaria e la compilazione documentata produce il modulo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I tried following the provided instructions for building VTK 9.0.1 with support for Looking Glass devices enabled by this project, but I wasn't able to make them work. I followed the instructions detailed here:
- https://github.com/Kitware/LookingGlassVTKModule/blob/master/README.md
- https://docs.lookingglassfactory.com/developer-tools/index-2
In the end, I was able to figure out how to properly build VTK 9.0.1 with LookingGlass support following a rather different procedure detailed below. So either the README needs to be amended or something is broken in the CMake scripts.
Setup
- Windows 10
- Visual Studio 2015
- VTK 9.0.1
- CMake 3.20.3
- Python 3.9.0
- Qt 5.11.0
Things that I tried and didn't work
- adding
VTK_MODULE_ENABLE_VTK_RenderingLookingGlassas a BOOL entry in CMake-gui 3.20.3 and enabling it - adding
VTK_MODULE_ENABLE_VTK_RenderingLookingGlassas a STRING entry in CMake-gui 3.20.3 and setting its value to ON - adding the environment variable
VTK_MODULE_ENABLE_VTK_RenderingLookingGlass=ONin CMake-gui 3.20.3 - modifying
CMakeCache.txtand adding the following lines:
//Enable the VTK::RenderingLookingGlass module.
VTK_MODULE_ENABLE_VTK_RenderingLookingGlass:BOOL=ON
- invoking
cmakedirectly from the command line inside the VTK source root directory
cmake -DVTK_MODULE_ENABLE_VTK_RenderingLookingGlass:BOOL=ON -S . -B Build -G "Visual Studio 14 2015" -A x64
What actually worked
- clone the repo at https://github.com/Kitware/LookingGlassVTKModule
- copy the contents of the cloned repo
LookingGlassVTKModuleto theRemotefolder in the VTK source tree - configure the CMake project for VTK for Visual Studio 2015 and set the architecture option to
x64 - set the variable
HoloPlayCore_INCLUDE_DIRto the include path of the HoloPlay SDK - set the variable
HoloPlayCore_LIBRARYto point to the pre-built static library of the HoloPlay SDK for Windows - set
VTK_GROUP_ENABLE_QTtoYES - set
Qt5_DIRto the location of the CMake folder of my installation of Qt - set
PYTHON_VERSIONto 3
checkVTK_WRAP_PYTHON - configure again
- generate the project files
- open the main solution in Visual Studio 2015
- build the project for release
Notes
I did a grep on the entire source tree of VTK and I found no mention of the word LookingGlass, so my expectations was that by setting the variable VTK_MODULE_ENABLE_VTK_RenderingLookingGlass to ON, CMake will reference an online registry to find this repository, download the code and and update the CMake configuration with the variables HoloPlayCore_INCLUDE_DIR and HoloPlayCore_LIBRARY required to generate a proper output. Clearly my assumption was incorrect and it seems that developers are required to copy at least some files from this repository to the VTK source tree. Figuring out how to do so without being intimately familiar with VTK's innerworkings is not easy. Please provide more details on how to prepare for a build in the README.
- Lingua principale
- C++
- Stelle
- 18
- Fork
- 16
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Kitware/LookingGlassVTKModule
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
Kitware/LookingGlassVTKModule#68 · 15 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Kitware/LookingGlassVTKModule#66 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Kitware/LookingGlassVTKModule#54 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
Kitware/LookingGlassVTKModule#51 · 2 commenti ·
-
Problem opening file Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
Kitware/LookingGlassVTKModule#25 · 1 commento ·
Tutte le issue di Kitware/LookingGlassVTKModule
Issue simili
-
ai_reviewed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ydb-platform/ydb#53869 · 3 commenti ·
-
bug cert blocker needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Apertaupstream update
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
vllm-project/vllm-ascend#17329 ·