fork of ValleyBell / libvgm, here the focus is buiding from source with Visual Studio's MSVC + vcpkg + CMake in Windows 10/Windows 11.
Used Visual Studio. Install Visual Studio . Used vcpkg cross-platform C/C++ package manager. Install and use packages with vcpkg .
As it can be seen from CMakeLists.txt, the following two packages are required:
- libiconv
- zlib
Install packages with vcpkg verb vcpkg install ...
PS C:\<PATH>\vcpkg>vcpkg install libiconv:x64-windows zlib:x64-windows
Clone repository and compile sources
PS C:\<PATH>>git clone https://github.com/gzaffin/libvgm.git
PS C:\<PATH>>cd libvgm
PS C:\<PATH>\libvgm>mkdir build
PS C:\<PATH>\libvgm>cd build
PS C:\<PATH>\libvgm\build>cmake -G "Visual Studio 17 2022" -A x64 -T host=x64 -D CMAKE_TOOLCHAIN_FILE=C:/<PATH>/vcpkg/scripts/buildsystems/vcpkg.cmake ..
PS C:\<PATH>\libvgm\build>cmake --build . --config Release