Jump to content
Visual Boy Advance-M

Compiling VBA-M on Mac OSX

Recommended Posts

Hi, I been trying to compile VBA-M from source (using the svn checked out from sourceforge). After somehow fumbling around with macports and managed to install the dependencies and then getting cmake to work, I keep on getting the following error when I run make


/Users/srl/Downloads/vba-m/vbam/trunk/src/Util.cpp: In function ‘void* utilMemGzOpen(char*, int, const char*)’:
/Users/srl/Downloads/vba-m/vbam/trunk/src/Util.cpp:606: error: invalid conversion from ‘long int (*)(void*, long int, int)’ to ‘off_t (*)(void*, off_t, int)’
make[2]: *** [CMakeFiles/vbamcore.dir/src/Util.cpp.o] Error 1
make[1]: *** [CMakeFiles/vbamcore.dir/all] Error 2
make: *** [all] Error 2


i tried this on trunk as well as pre-wx. I personally have very little experience with compiling and such and have no idea what this means. In fact, I'm surprised I managed to get cmake to work at all =/


If anyone can shed some light into this, it would be greatly appreciated!


side note: I haven't modified the CMakeList file thinggy. Simply typed in cmake .

I don't really understand how this all works so I'm kinda fumbling around in the dark here.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now