hcrest/libfreespace

How to build for Raspberry Pi 2?

Opened this issue · 3 comments

Hello,

Can I use libfreespace with Raspberry Pi 2?
How can I build it for it?

Hi,

I have not personally built libfreespace for Raspberry Pi but I expect that it would work. Which OS are you running? Raspbian? Ubuntu? We've tested the Linux build of libfreespace with a standard Ubuntu desktop, but I know it also works on other Linux-based systems like Android. You may need to make some tweaks with the cmake configuration. Hope that helps!

We're using Raspbian for now

Hi,

I have built libfreespace-example with the latest Raspbian (jessie) successfully and was able to run an example as is. You will need to install cmake, libusb and doxygen (optional).
Using cmake.
Clone libfreespace and libfreespace-example in the same folder.
Create a build directory, so your folder contains
libfreespace
libfreespace-example
build
$cd build
build$cmake ../libfreesapce-example
build$make

Or follow the instruction in libfreespace-example/README with cmake-gui.