Windows ARM64 package: import library does not match the README or the renamed DLL
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c, cmake
- Ambito
- build-system
Direzione di ricerca
Start with lib/dll/example/build_package.bat and the package README, then inspect the Windows ARM64 CMake target settings that determine the DLL and import library names. Verify which packaged names let Visual C++ link and load the DLL correctly; done means the package contains the promised import library and its name matches the DLL it loads.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The win-arm64 package is built with CMake, and lib/dll/example/build_package.bat copies:
zstd.dllasdll\libzstd.dllzstd.libasdll\zstd.lib
The package README promises dll\libzstd.lib as the import library for Visual C++, so that file is missing, like in #4027 for the MSYS2 packages (fixed there by #4992).
There is likely a second problem: an import library records the name of the DLL it was built for. Linking with zstd.lib should produce an executable that loads zstd.dll, which this package renames to libzstd.dll. I could not test this on Windows.
This package has not shipped yet (v1.5.7 only has win32 and win64), so it can be fixed before its first release. Two options: keep the DLL as zstd.dll in this package and ship the import library as dll\libzstd.lib, or build the DLL as libzstd.dll so that its import library matches the package.
Related: #4395.
- Lingua principale
- C
- Stelle
- 28.1k
- 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
- Leggi la 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 facebook/zstd
-
windows-artifacts: the win-arm64 job uses a Visual Studio generator missing from windows-11-armAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
One-shot decoding refuses some skippable framesForse già presa @ceedot-rock l’ha presa 8 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
`ZSTD_getDictID_fromFrame` returns a skippable frame's magic variant as its dictionary IDForse già presa @b84330808 l’ha presa 17 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
cover.c does not build on OpenHarmony: qsort_r is exported but not declared (musl)Forse già presa @bfs2021 l’ha presa 18 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Tutte le issue di facebook/zstd
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
trezor/trezor-firmware#8357 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue kernel
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
JackFurton/who-would-build-a-kernel-in-java#316 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
PE5PVB/TEF6686_ESP32#970 ·
-
bug sev-3
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100