Page 1 of 1

Compiling VBA-M on Mac OSX

Posted: Sat Dec 24, 2011 9:33 pm
by srl

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

 

Code: Select all

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