<< return to Pixycam.com

Compiling libpixyusb with GCC

Hello, I’m working on a robotics project written entirely in C on a BeagleBone Black. We are trying to compile all of our motor controller files and our custom functions for the Pixy (distance, angles, etc) together, while linking our functions to libpixyusb so we can use it over USB. The problem we’re getting is that we are using the GCC compiler to do this, and whenever we do, we get quite a few errors from libpixyusb because of the files. Do you know of a workaround for this, or how to compile the Pixy code with GCC?

Hello Charles,
We use GCC to compile libpixyusb :slight_smile: Have you seen this

http://cmucam.org/projects/cmucam5/wiki/Building_the_libpixyusb_example_on_Linux

What errors are you getting? Perhaps they are linker errors?

Edward