Game_Music_Emu icon indicating copy to clipboard operation
Game_Music_Emu copied to clipboard

Building without Visual Studio possible?

Open sigmabeta opened this issue 8 years ago • 4 comments

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.

sigmabeta avatar Feb 09 '16 03:02 sigmabeta

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.

kode54 avatar Feb 11 '16 03:02 kode54

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.

ZoriaRPG avatar Oct 16 '17 18:10 ZoriaRPG

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 avatar Apr 25 '18 16:04 wyatt8740

@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.

wyatt8740 avatar Apr 25 '18 17:04 wyatt8740