im working on compiling a kinect hack. i ran make in a folder, it started to make it then i got an error... here is the results
HackBook:AS3OpenNI Developer$ make
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../AS3OpenNI -I/usr/include/nite -I/usr/include/ni -I/usr/local/include -DXN_SSE -o Release/main.o main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:783: error: invalid conversion from ‘void (*)(XnFloat, void*)’ to ‘void (*)(XnUInt32, XnFloat, void*)’
main.cpp:783: error: initializing argument 2 of ‘void* XnVSteadyDetector::RegisterSteady(void*, void (*)(XnUInt32, XnFloat, void*))’
main.cpp: In function ‘int main(int, char**)’:
main.cpp:783: error: invalid conversion from ‘void (*)(XnFloat, void*)’ to ‘void (*)(XnUInt32, XnFloat, void*)’
main.cpp:783: error: initializing argument 2 of ‘void* XnVSteadyDetector::RegisterSteady(void*, void (*)(XnUInt32, XnFloat, void*))’
lipo: can't figure out the architecture type of: /var/folders/Uq/Uqg-h-sKEzKf9PCDQjQOXE+++TY/-Tmp-//cceCeWQB.out
make: *** [Release/main.o] Error 1
HackBook:AS3OpenNI Developer$
please help me!
what am i missing, or doing wrong?
thanks
HackBook:AS3OpenNI Developer$ make
g++ -c -arch i386 -arch x86_64 -O3 -fno-tree-pre -fno-strict-aliasing -DNDEBUG -msse3 -mssse3 -I../AS3OpenNI -I/usr/include/nite -I/usr/include/ni -I/usr/local/include -DXN_SSE -o Release/main.o main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:783: error: invalid conversion from ‘void (*)(XnFloat, void*)’ to ‘void (*)(XnUInt32, XnFloat, void*)’
main.cpp:783: error: initializing argument 2 of ‘void* XnVSteadyDetector::RegisterSteady(void*, void (*)(XnUInt32, XnFloat, void*))’
main.cpp: In function ‘int main(int, char**)’:
main.cpp:783: error: invalid conversion from ‘void (*)(XnFloat, void*)’ to ‘void (*)(XnUInt32, XnFloat, void*)’
main.cpp:783: error: initializing argument 2 of ‘void* XnVSteadyDetector::RegisterSteady(void*, void (*)(XnUInt32, XnFloat, void*))’
lipo: can't figure out the architecture type of: /var/folders/Uq/Uqg-h-sKEzKf9PCDQjQOXE+++TY/-Tmp-//cceCeWQB.out
make: *** [Release/main.o] Error 1
HackBook:AS3OpenNI Developer$
please help me!
what am i missing, or doing wrong?
thanks