Skip to content

Instantly share code, notes, and snippets.

@rektide
Created November 7, 2013 05:38
Show Gist options
  • Save rektide/7349572 to your computer and use it in GitHub Desktop.
Save rektide/7349572 to your computer and use it in GitHub Desktop.
[ 76%] Building CXX object examples/CMakeFiles/glview.dir/glview.c.obj
D:\utils\lib\libfreenect\examples\glview.c: In function 'void keyPressed(unsigned char, int, int)':
D:\utils\lib\libfreenect\examples\glview.c:185:17: error: cannot convert 'bool' to 'freenect_flag_value' in assignment
auto_exposure = !auto_exposure;
^
D:\utils\lib\libfreenect\examples\glview.c:190:17: error: cannot convert 'bool' to 'freenect_flag_value' in assignment
white_balance = !white_balance;
^
D:\utils\lib\libfreenect\examples\glview.c:195:13: error: cannot convert 'bool' to 'freenect_flag_value' in assignment
raw_color = !raw_color;
^
D:\utils\lib\libfreenect\examples\glview.c:201:10: error: cannot convert 'bool' to 'freenect_flag_value' in assignment
mirror = !mirror;
^
examples\CMakeFiles\glview.dir\build.make:57: recipe for target 'examples/CMakeFiles/glview.dir/glview.c.obj' failed
mingw32-make[2]: *** [examples/CMakeFiles/glview.dir/glview.c.obj] Error 1
CMakeFiles\Makefile2:241: recipe for target 'examples/CMakeFiles/glview.dir/all' failed
mingw32-make[1]: *** [examples/CMakeFiles/glview.dir/all] Error 2
Makefile:115: recipe for target 'all' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment