Documentation: Cannot Build Oryol for WASM, Android or Linux
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- build-system
Direzione di ricerca
The failures come from fips-unittestpp's CheckMacros.h and ExecuteTest.h (exception flags) and from the Map.h Insert call in the oryol Core containers, across the linux, android and emsc builds. Start by reading the cross-compiling section of the fips docs and reproducing one target, such as linux-make-debug. Done means the docs or build config produce a successful build for each target, and the issue author has confirmed it.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm following along with the examples in the documentation and I'm up to the section on cross compiling Oryol. I can't get this to work on my machine. I'm not sure if this issue should be submitted to the fips or the oryol repository.
The linux-make-debug build runs into this -fexception related error in multiple files:
/home/jdh/Documents/projects/hypersnake-workspace/fips-unittestpp/UnitTest++/src/CheckMacros.h:41:16: error: exception handling disabled, use ‘-fexceptions’ to enable
41 | catch (...) { \
| ^~~
Full output: linux.txt
The android-make-release build doesn't recognize a linker option
[ 45%] Linking CXX shared library libIOQueueSample.so
ld: error: unknown argument '-framework'
ld: error: cannot open Foundation: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Full output: android.txt
The emsc-make-release build runs into two types of error. The first is related to this Map implementation:
/home/jdh/Documents/projects/hypersnake-workspace/oryol/code/Modules/Core/Containers/Map.h:430:11: error: no member named 'Insert' in 'Map<KEY, VALUE>'
430 | this->Insert(KeyValuePair<KEY, VALUE>(key, value));
| ~~~~ ^
The second is another issue with exception handling:
/home/jdh/Documents/projects/hypersnake-workspace/fips-unittestpp/UnitTest++/src/ExecuteTest.h:20:2: error: cannot use 'try' with exceptions disabled
20 | try
| ^
Full output: wasm.txt
- Lingua principale
- Python
- Stelle
- 506
- Fork
- 84
- Merge medio
- 13h 14m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 floooh/fips
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
-
Install and CPack ?Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 18/100
-
cmake.py/run_build() adds Visual Studio args for Android buildsForse di nuovo libera @floooh l’ha presa 2504 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
bug harness
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mruangutai/harness#2687 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
modal-labs/modal-client#4158 ·
-
kind/bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kubeflow/sdk#998 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno