Could anyone give me some tips for how to compile the GEM library for Vanilla? Maybe just a short list of instructions to get me started? I am a total noob at this stuff and there are so many files :O

PS I'm sure i have to compile because just moving the GEM library into one of pd's paths gives me this at the console:

/Applications/ dlopen(/Applications/, 10): no suitable image found.  Did find:
/Applications/ mach-o, but wrong architecture Gem: can't load library