Skip to content

Instantly share code, notes, and snippets.

Created December 5, 2010 02:24
Show Gist options
  • Save anonymous/728699 to your computer and use it in GitHub Desktop.
Save anonymous/728699 to your computer and use it in GitHub Desktop.
glpclview error
in the drawglscene i get this error when compiling in eclipse:
Description Resource Path Location Type
initializing argument 1 of ‘int freenect_sync_get_depth(void**, uint32_t*, int, freenect_depth_format)’ main.cpp /kinect_test line 112 C/C++ Problem
initializing argument 1 of ‘int freenect_sync_get_video(void**, uint32_t*, int, freenect_video_format)’ main.cpp /kinect_test line 113 C/C++ Problem
invalid conversion from ‘void*’ to ‘void**’ main.cpp /kinect_test line 112 C/C++ Problem
invalid conversion from ‘void*’ to ‘void**’ main.cpp /kinect_test line 113 C/C++ Problem
this is the relevant code:
short *depth = 0;
char *rgb = 0;
uint32_t ts;
freenect_sync_get_depth((void*)&depth, &ts, 0, FREENECT_DEPTH_11BIT);
freenect_sync_get_video((void*)&rgb, &ts, 0, FREENECT_VIDEO_RGB);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment