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

Building without Visual Studio possible? #6

Open
sigmabeta opened this issue Feb 9, 2016 · 4 comments
Open

Building without Visual Studio possible? #6

sigmabeta opened this issue Feb 9, 2016 · 4 comments

Comments

@sigmabeta
Copy link

Hi there, do you have any advice regarding building this without VS? Particularly on non-Windows platforms, and especially particularly for ARM, as I'm trying to include the library in an Android app.

I have been able to build blarrg's version of the library, which uses CMake, but you seem to have fixed many of the issues I've encountered using it. Any help you could provide would be appreciated.

@kode54
Copy link
Owner

kode54 commented Feb 11, 2016

Blargg's CMake files should be good to go, so long as you add all the new files. I welcome a pull request against both master and the vgmplay branches, as well as any CMake files that need to go into the vgmplay repository.

@ZoriaRPG
Copy link

What MSVC version is required for the project files? MSVC9 does not see them as a supported type.

I might try to adapt the CMake files. Is there any list of changes (changelog) or list of new files?

Our software (Zelda Classic) relies on GME, but we use a woefully ancient build of it. I'm not sure if the APi itself has changed in any way that requires us to change code internally to our software, or if the new library can directly replace an older one.

A general makefile for MinGW, or other build files would be nice; as would documentation. I do not see any /docs path now, which used to exist.

@wyatt8740
Copy link

wyatt8740 commented Apr 25, 2018

I shoehorned this version of the library into building in linux with CMake. It might still need some work to build on other platforms, but right now it's working for me (tm). In the past I have made CMake work from MinGW, so you could try that.
https://github.com/wyatt8740/Game_Music_Emu

I've only found one ABI breakage so far, which my build has a stub function for to prevent crashing. It relates to the transition to the new higan/bsnes-based SPC library - gme_enable_accuracy().

In my version, this is a stub, which allows for binary compatibility with GME 0.6.2, as packaged in Debian.

@wyatt8740
Copy link

@ZoriaRPG forgot to ping you.

It still needs some work, I think, but for now I've been able to use it with ffmpeg on my linux box. And I think, but am not sure, that it will work in MinGW. If it doesn't, I'd look in blargg_common.h for any type incompatibilities. I think MinGW has stdint.h, so that shouldn't be too big of an issue.

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

4 participants