Watch this Author's files
Joelle, where did you change __int64 for long long int? Im having the same problems installing it on Mac OS with Matlab R2009b.
ld: library not found for -lOpenNI
But library libOpenNI.dylib is in the /usr/lib/ folder... so I guess it has to do with something similar as what you did.