Windows ARM64 package: import library does not match the README or the renamed DLL

オープン
#4,997 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, cmake
領域
build-system

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

The win-arm64 package is built with CMake, and lib/dll/example/build_package.bat copies:

  • zstd.dll as dll\libzstd.dll
  • zstd.lib as dll\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.

主要言語
C
スター
28.1k
フォーク
2.7k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

facebook/zstd のほかの issue

facebook/zstd の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。