0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

pkg-configのインストール

Posted at

コマンド

C:\に移動し管理者権限で以下のコマンドを実行する。

.bat
mkdir pkg-config
cd pkg-config
curl -L -O https://download.gnome.org/binaries/win64/glib/2.26/glib_2.26.1-1_win64.zip
curl -L -O https://download.gnome.org/binaries/win64/dependencies/gettext-runtime_0.18.1.1-2_win64.zip
curl -L -O https://download.gnome.org/binaries/win64/dependencies/pkg-config_0.23-2_win64.zip
powershell -command "Expand-Archive -Path glib_2.26.1-1_win64.zip ."
powershell -command "Expand-Archive -Path gettext-runtime_0.18.1.1-2_win64.zip ."
powershell -command "Expand-Archive -Path pkg-config_0.23-2_win64.zip ."

環境変数

PATH」にC:\pkg-config\binを設定する。

.bat
setx PATH "%PATH%;C:\pkg-config\bin"

以上、お疲れ様でしたー

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?