Build instructions in Readme don't work
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Dokumentation
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- cmake, cpp
- Bereich
- build-system, documentation
Rechercherichtung
Beginne mit README.md und der CMake-Integration, die verwendet wird, wenn das Modul in VTKs Remote-Ordner kopiert wird. Reproduziere die Windows-VTK-9.0.1-Konfiguration und überprüfe HoloPlayCore_INCLUDE_DIR, HoloPlayCore_LIBRARY, Qt5_DIR und VTK_GROUP_ENABLE_QT. Als erledigt gilt die Aufgabe, wenn README die erforderliche Vorbereitung korrekt beschreibt und der dokumentierte Build das Modul erzeugt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C++
- Sterne
- 18
- Forks
- 16
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Kitware/LookingGlassVTKModule
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 38/100
Kitware/LookingGlassVTKModule#68 · 15 Kommentare ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
Kitware/LookingGlassVTKModule#66 · 3 Kommentare ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
Kitware/LookingGlassVTKModule#54 · 2 Kommentare ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
Kitware/LookingGlassVTKModule#51 · 2 Kommentare ·
-
Problem opening fileOffen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 30/100
Kitware/LookingGlassVTKModule#25 · 1 Kommentar ·
Alle Issues in Kitware/LookingGlassVTKModule
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
EchoTools/nevr-runtime#116 ·
Maintainer antworten meist innerhalb von 1 Tag
-
code-quality libc++
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
llvm/llvm-project#229284 ·
Maintainer antworten meist innerhalb von 1 Tag
-
test-issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
llvm/offload-test-suite#1557 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag