Build instructions in Readme don't work
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Documentação
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- cmake, cpp
- Domínio
- build-system, documentation
Direção de pesquisa
Comece com README.md e a integração do CMake usada quando o módulo é copiado para a pasta Remote do VTK. Reproduza a configuração do Windows VTK 9.0.1, verificando HoloPlayCore_INCLUDE_DIR, HoloPlayCore_LIBRARY, Qt5_DIR e VTK_GROUP_ENABLE_QT. A tarefa estará concluída quando README descrever corretamente a preparação necessária e o build documentado produzir o módulo.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C++
- Estrelas
- 18
- Forks
- 16
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Kitware/LookingGlassVTKModule
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 38/100
Kitware/LookingGlassVTKModule#68 · 15 comentários ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Kitware/LookingGlassVTKModule#66 · 3 comentários ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
Kitware/LookingGlassVTKModule#54 · 2 comentários ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
Kitware/LookingGlassVTKModule#51 · 2 comentários ·
-
Problem opening fileAberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 30/100
Kitware/LookingGlassVTKModule#25 · 1 comentário ·
Todas as issues de Kitware/LookingGlassVTKModule
Issues semelhantes
-
The Outdated Version prompt shows the release tag as unescaped HTMLTalvez já em andamento @on8st assumiu hoje. Abertabug good first issue GUI maintainer-review priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
aethersdr/AetherSDR#6405 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
bitcoin-core/gui-qml#1003 ·
Mantenedores costumam responder em até 3 dias
-
fails to compile with Qt6Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
[Bug]:设置的关于页面,“系统信息”部分排版异常Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
metasequoiaime/msime#7328 ·
Mantenedores costumam responder em até 1 dia
-
[Linux] --calibrate combined with --model silently falls through to plain re-setup (setup.py:4958)Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia