Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[linux] generic build instructions #10

Open
arrowgent opened this issue Mar 21, 2022 · 1 comment
Open

[linux] generic build instructions #10

arrowgent opened this issue Mar 21, 2022 · 1 comment

Comments

@arrowgent
Copy link

arrowgent commented Mar 21, 2022

requires libvgm

sudo apt install \
        libasound2-dev \
        libpulse-dev \
        libao-dev \
        zlib1g-dev \
git clone https://github.com/ValleyBell/libvgm

cd libvgm

cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON .
cd build
make

vgmplay requires libvgm

sudo apt install \
          libinih-dev

git clone https://github.com/ValleyBell/vgmplay-libvgm

cd vgmplay-libvgm

cmake -Bbuild -DCMAKE_MODULE_PATH=../libvgm/build -DCMAKE_BUILD_TYPE=Release .
cd build
make

files required:

/build/vgmplay
/VGMPlay.ini

usage:

vgmplay [filename.vgm]


references
https://github.com/ValleyBell/libvgm/blob/master/Compiling.txt

build instructions pulled from your github workflows
https://github.com/ValleyBell/libvgm/tree/master/.github/workflows
https://github.com/ValleyBell/vgmplay-libvgm/tree/master/.github/workflows

works great thanks a ton!

@ValleyBell
Copy link
Owner

It should be noted that you shouldn't clone libvgm separately.

The vgmplay repo has libvgm as a submodule, which guarantees that the vgmplay and libvgm versions match.
Just do a git submodule update --init in the cloned vgmplay repo.


ALSA/PulseAudio/libao are all optional, btw. If you don't need/want ALSA support, you don't need the dev package and CMake should disable it automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants