ソースの表示以前のリビジョンバックリンク全て展開する/折り畳む文書の先頭へ Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer Reddit Teams最近の変更Send via e-Mail印刷パーマリンク × 目次 MSYS2/MinGW-w64でWindows版QMPlay2をビルド 環境 手順 準備 QMPlay2のビルド « ラチェクラの「返品ポリシー」トロフィーは2周目序盤が簡単 【令和最新版⚡】アーロンチェアのポスチャーフィットキットの個人輸入、費用は?やり方は? » MSYS2/MinGW-w64でWindows版QMPlay2をビルド 思う所があってマルチプラットフォームなメディアプレーヤーQMPlay2をWindowsで自前ビルドした。公式にWindows用ビルドが提供されているので、自前ビルドしようっていう物好きな人はそういないだろうけど、参考になればとメモがてら手順を書いておく。 環境 Windows 10 (x64) 20H2 msys2 MinGW-w64 GCC 10.3.0 QMPlay2 21.06.07-gti-417708b8 手順 準備 とりあえずmsys2のインストールとパッケージ更新までは済ませておく。 以下の作業はMinGW-w64環境(MSYS2インストールディレクトリのmingw64.exe起動で出てくるシェル)で行う。 コンパイラ、開発環境類をインストール。 pacman -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake 注意すべきはcmake。msys2リポジトリにもcmakeがあるが、こちらはファイルパスの扱いがUNIXスタイルとなるため、mingw-w64リポジトリのソフトで正しく扱えない。したがって、Windowsスタイルのファイルパス用のming-w64のcmakeを使う必要がある。 gitをインストール pacman -S git Qtをインストール pacman -S mingw-w64-x86_64-qt5 FFmpegをインストール。これだけでビルドに必要な最低限のライブラリは殆ど自動で入った記憶。 pacman -S mingw-w64-x86_64-ffmpeg PortAudioをビルド。MinGWにビルド済みパッケージがあるけど、WASAPIが有効になってないので自前ビルドする必要がある。tarballの取得と展開は割愛。 cd portaudio /mingw64/bin/cmake .. -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw64 -DPA_USE_WMME=1 -DPA_USE_WASAPI=1 -DPA_USE_DS=1 -DPA_USE_WDMKS=1 -DMINGW=1 make -j8 make install ここまででQMPlay2をビルドする環境が整った。 QMPlay2のビルド ソースコードとサブモジュールを取得。 git clone https://github.com/zaps166/QMPlay2.git git submodule update --init ビルドディレクトリを作ってcmake。cmakeは前述の通りmingw64のバイナリを明示的に使い、加えてMakefileを生成したいので-Gでオプションが必要。さもないとVisual Studio用のソリューションファイルが生成されてしまう。 cd QMPlay2 mkdir build cd build /mingw64/bin/cmake .. -DCMAKE_INSTALL_PREFIX=../install -G"MSYS Makefiles" 上手くいけば↓こんな感じでcmakeが成功する。 -- Could NOT find TAGLIB (missing: TAGLIB_LIBRARY TAGLIB_INCLUDE_DIR) -- Could NOT find LIBGME (missing: LIBGME_LIBRARY LIBGME_INCLUDE_DIR) -- Enabled features: * Updates, Build with software updates * OpenGL, Build with OpenGL support * Vulkan, Build with Vulkan support * libass, Build with libass support * Inputs, Build with Inputs module * Modplug, Build with Modplug module * Extensions, Build with Extensions module * MediaBrowser, Build with MediaBrowser support * LastFM, Build with LastFM support * Lyrics, Build with lyrics support * Radio, Build with Radio Browser support * YouTube, Build with YouTube support * Visualizations, Build with Visualizations module * AudioFilters, Build with AudioFilters module * VideoFilters, Build with VideoFilters module * PortAudio, Build with PortAudio module * DXVA2, Build D3D11VA acceleration into FFmpeg * CUVID, Build with CUVID module * Notifications, Build additional notifications module * Git version, Append Git HEAD to QMPlay2 version -- Disabled features: * PCH, Use precompiled headers * CMD, Show CMD when running QMPlay2 * GLSLC, Compile Vulkan shaders * TagLib, Build with tags editor * VAAPI, Build VAAPI acceleration into FFmpeg * VDPAU, Build VDPAU acceleration into FFmpeg * libavdevice, Build FFmpeg with libavdevice suport * AudioCD, Build with AudioCD module * ALSA, Build with ALSA module * Chiptune GME, Build Chiptune with GME support * Chiptune SIDPLAY, Build Chiptune with SIDPLAY support * PulseAudio, Build with PulseAudio module * PipeWire, Build with PipeWire module * XVideo, Build with XVideo module * Link Time Optimization, Enable link time optimization for release builds * Address Sanitizer, Use Address Sanitizer * Undefined Behavior Sanitizer, Use Undefined Behavior Sanitizer -- Build type: Release -- Configuring done -- Generating done -- Build files have been written to: C:/Home/proj/QMPlay2/build 「TagLibとGMEがない」と怒られるが、必須ではないので問題なし。必要ならpacman -S mingw-w64-x86_64-taglib mingw-w64-x86_64-libgmeしとけばいいかと。 必須ライブラリがない場合、怒られてcmakeに失敗するので頑張って対処する。 makeとインストール。 make -j8 make install 上手くいけば、CMAKE_INSTALL_PREFIXで指定したフォルダ、ここでは../installにQMPlay2.exeなどがコピーされる。 PATHの関係でエクスプローラからexeダブルクリックでは起動できないため、ビルドしたシェルに../install/QMPlay2.exeと打ち込んで起動する。試してないけど、必要なDLLをexeと同じ場所に置いたり、PATHにmingw64/binを通せばエクスプローラからでも起動できると思う。 Comments Hello creators of healthier living spaces ! Consider the noise level of the best air purifiers for mold, especially if you'll be using it in a bedroom or quiet space. Models with a silent operation mode allow for peaceful air cleaning without disturbing your sleep. <a href=“https://best-air-purifiers-for-mold.vercel.app/” rel=“nofollow ugc”>best air purifier for mold</a>. Finding a balance between power and noise can enhance your overall experience. Selecting an air purifier that uses multiple filtration stages can significantly enhance its effectiveness against mold. Models that combine mechanical and electrostatic filters, for example, tend to perform better. Investing in such advanced technology can produce better results in eliminating mold spores. Protect Yourself from Mold with https://best-air-purifiers-for-mold.vercel.app/ - п»їhttps://best-air-purifiers-for-mold.vercel.app/ May you enjoy incredible fresh and mold-free air ! 1 | RandyFed | 2026-04-24 22:16 | reply Hello supporters of advanced air purification solutions ! Many people find that using the best air purifier for mold alongside regular cleaning routines offers the best results. <a href=https://best-air-purifiers-for-mold.vercel.app/#></a>. Dusting and vacuuming help remove visible mold and dust, while the air purifier works on invisible spores. Together, they create a healthier indoor environment for everyone. Portability is another aspect to think about when choosing the best HEPA air purifier for mold. Many purifiers come with wheels or are lightweight, allowing you to move them to areas most affected by mold. This flexibility enhances their effectiveness in combating mold growth. Best Air Purifier for Mold: Achieving Comfort and Clean Air - https://best-air-purifiers-for-mold.vercel.app/# May you enjoy incredible transformations in air quality ! 2 | RandyFed | 2026-04-25 01:48 | reply Name E-Mail Website 人間の証明として、ボックス内の全ての文字を入力してください。 この項目は空のままにして下さい:Preview Comment blog/2021/2021-07-24.txt 最終更新: 2021-07-24 21:20by Decomo