2010-12-17, 18:07
I've no experience with C++, but have attempted to use the OpenNI libraries to build a similar Linux-based plug. I'm having problems, however, with compiling a basic Hello World with linked OpenNI headers. It appears I'm not alone:
http://www.openframeworks.cc/forum/viewt...816#p25816
Here are the errors:
I still haven't found an answer to the errors I'm receiving. If there are any Linux developers out there who've successfully compiled using the OpenNI libraries, please let me know!
Thanks to Johnsel for sharing his development progress and code (and for his time in helping me out - us extreme newbies are a frustrating lot!) Sorry for what appears to be cross-posting, but my aim is to recreate Johnsel's code in C++, so I think this post is relevant here
http://www.openframeworks.cc/forum/viewt...816#p25816
Here are the errors:
Code:
/home/user/src/openFrameworks/apps/myApps/kinect_test_4/src/ni/include/XnStatus.h|54|error: two or more data types in declaration of ‘parameter’|
/home/user/src/openFrameworks/apps/myApps/kinect_test_4/src/ni/include/XnStatus.h|63|error: two or more data types in declaration of ‘parameter’|
/home/user/src/openFrameworks/apps/myApps/kinect_test_4/src/ni/include/XnStatus.h|72|error: two or more data types in declaration of ‘parameter’|
/home/user/src/openFrameworks/apps/myApps/kinect_test_4/src/ni/include/XnStatus.h|72|error: expected ‘)’ before ‘,’ token|
/home/user/src/openFrameworks/apps/myApps/kinect_test_4/src/ni/include/XnStatus.h|72|error: expected unqualified-id before ‘const’|
I still haven't found an answer to the errors I'm receiving. If there are any Linux developers out there who've successfully compiled using the OpenNI libraries, please let me know!
Thanks to Johnsel for sharing his development progress and code (and for his time in helping me out - us extreme newbies are a frustrating lot!) Sorry for what appears to be cross-posting, but my aim is to recreate Johnsel's code in C++, so I think this post is relevant here