Skip to content

Instantly share code, notes, and snippets.

@kench
Created June 18, 2011 14:43
Show Gist options
  • Save kench/1033151 to your computer and use it in GitHub Desktop.
Save kench/1033151 to your computer and use it in GitHub Desktop.
DepthJS NPAPI Plugin Compilation Issues with libfreenect
ken@Ken-Desktop:~/Downloads/depthjs/npapi_plugin$ ./build-linux.sh
Assuming homebrew install of libusb and libfreenect
depthjs.cc: In constructor ‘DepthJSDevice::DepthJSDevice(freenect_context*, int)’:
depthjs.cc:75:99: error: ‘FREENECT_VIDEO_RGB_SIZE’ was not declared in this scope
depthjs.cc: At global scope:
depthjs.cc:162:13: warning: ‘bool setupDevice()’ defined but not used
ocv_freenect.cpp: In function ‘void depth_cb(freenect_device*, void*, uint32_t)’:
ocv_freenect.cpp:57:37: error: ‘FREENECT_DEPTH_11BIT_SIZE’ was not declared in this scope
ocv_freenect.cpp: In function ‘void rgb_cb(freenect_device*, void*, uint32_t)’:
ocv_freenect.cpp:70:33: error: ‘FREENECT_VIDEO_RGB_SIZE’ was not declared in this scope
ocv_freenect.cpp: In function ‘int initFreenect()’:
ocv_freenect.cpp:133:54: error: ‘freenect_set_video_format’ was not declared in this scope
ocv_freenect.cpp:134:56: error: ‘freenect_set_depth_format’ was not declared in this scope
ocv_freenect.cpp: In function ‘void* ocvFreenectThread(void*)’:
ocv_freenect.cpp:373:40: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:379:43: warning: comparison between signed and unsigned integer expressions
ocv_freenect.cpp:443:44: warning: comparison between signed and unsigned integer expressions
bg_fg_blobs.cpp: In function ‘cv::Scalar refineSegments(const cv::Mat&, cv::Mat&, cv::Mat&, std::vector<cv::Point_<int> >&, std::vector<cv::Point_<int> >&, cv::Point2i&)’:
bg_fg_blobs.cpp:51:30: warning: comparison between signed and unsigned integer expressions
bg_fg_blobs.cpp:59:37: warning: comparison between signed and unsigned integer expressions
bg_fg_blobs.cpp:66:39: warning: comparison between signed and unsigned integer expressions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment