Saw that there was an update to the pixy git so I tried to run the build_pantilt_c_demo.sh and I’m getting the following error:
root@beaglebone:/home/debian/pixy/scripts# sudo ./build_pantilt_c_demo.sh
mkdir: cannot create directory ../build': File exists mkdir: cannot create directory
…/build/pantilt_in_c’: File exists
lib /usr/local/lib/libpixyusb.a
inc /usr/local/include
– Found libpixyusb
– Found libusb-1.0:
– - Includes: /usr/include/libusb-1.0
– - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
– Boost version: 1.49.0
– Found the following Boost libraries:
– thread
– system
– chrono
– Configuring done
– Generating done
– Build files have been written to: /home/debian/pixy/build/pantilt_in_c
[100%] Building CXX object CMakeFiles/pantilt_c.dir/pan_tilt.cpp.o
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp: In function ‘void initialize_gimbals()’:
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:63:28: error: ‘PIXY_RCS_CENTER_POS’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp: In function ‘void gimbal_update(Gimbal*, int32_t)’:
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:92:28: error: ‘PIXY_RCS_MAX_POS’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:94:35: error: ‘PIXY_RCS_MIN_POS’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp: In function ‘int main(int, char**)’:
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:151:20: error: ‘PIXY_MAX_X’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:151:20: error: ‘PIXY_MIN_X’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:152:34: error: ‘PIXY_MAX_Y’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:152:34: error: ‘PIXY_MIN_Y’ was not declared in this scope
/home/debian/pixy/src/host/pantilt_in_c/pan_tilt.cpp:178:23: error: ‘struct Block’ has no member named ‘print’
make[2]: *** [CMakeFiles/pantilt_c.dir/pan_tilt.cpp.o] Error 1
make[1]: *** [CMakeFiles/pantilt_c.dir/all] Error 2
make: *** [all] Error 2