Compile Panda on OSX Lion

not 100% related but sounds similar

[url]openCVTexture.h line 89]

it was also a problem related to some unknown int64 type stuff maybe you can apply a similar fix somehow.