Enable cross compilation by removing dependency on `ShaderEncoder` and `ShaderLinker`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- cmake, cpp
- Ambito
- build-system, computer-graphics
Direzione di ricerca
Inizia esaminando i passaggi CMake che compilano ed eseguono ShaderEncoder e ShaderLinker sui file .glsl nella sezione visualization, quindi consulta issue #5732 per il contesto correlato. Il lavoro è completato quando la build di Open3D può eseguire la cross-compilation senza tentare di eseguire sull’host gli eseguibili shader compilati per la destinazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Checklist
- I have searched for similar issues.
- For Python issues, I have tested with the latest development wheel.
- I have checked the release documentation and the latest documentation (for
mainbranch).
Proposed new feature or change
The current cmake build process involves a step to build two executables ShaderEncoder and ShaderLinker, which operate on the .glsl shader files in the visualization section of the library. When cross-compiling, these executables (ShaderEncoder and ShaderLinker) are built with the toolchain file used for cross-compiling, which usually cannot be run on the host machine. This means that the build step always fails when attempting to run those executables on the shader files.
Possible solutions include:
- Allowing a cmake variable that disables building the visualization portion of the library
- Removing the
ShaderEncoderandShaderLinkerexecutable steps from the build process, replacing them with a cmake-native approach that does not depend on a separate executable step - Remove the
ShaderEncoderandShaderLinkerexecutable steps from the build process and replace them with using Vulkan shaders - Keep the
ShaderEncoderandShaderLinkerportions of the cmake build process, but aggressively and carefully ensure that all those executables are built on the host machine rather than with any build flags relevant for cross-compilation
References
No response
Additional information
Other issues in the Open3D repository showing this issue:
- Lingua principale
- C++
- Stelle
- 14.3k
- Fork
- 2.7k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
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 isl-org/Open3D
-
Add explicit list of supported format in io documentationForse già presa @SKSavale l’ha presa 60 giorni fa. Apertafeature request
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
feature request
Difficoltà 1/5 1-3 ore Idoneità per principianti 76/100
-
Getting Started page gives incorrect link to development wheelsForse già presa @SatvikMishra08 l’ha presa 59 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Window(title, width, height, flags) ignores the flags argumentForse già presa @Wahaj18 l’ha presa 56 giorni fa. Apertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
compute_fpfh_feature stub incorrectly requires the optional indices argumentForse già presa @huxiaoyi-ovo l’ha presa 60 giorni fa. Apertabug
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
Tutte le issue di isl-org/Open3D
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jaff-chemistry/jaff#231 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
ColumnDecimal::Append(Int128) stores a value outside the Decimal(P, S) range with no error: cut to 32/64 bits, or with too many digitsForse già presa @RUSHIT305 l’ha presa oggi. Apertabug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ClickHouse/clickhouse-cpp#645 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation enhancement help wanted P0
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#359 ·
I maintainer di solito rispondono entro 1 giorno
-
DXF import: INSERT ignores the BLOCK base pointForse già presa @Kevinzhou03 l’ha presa oggi. ApertaType: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
openscad/openscad#7360 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno