Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build for Raspberry Pi 2? #3

Open
dkrikun opened this issue Jun 20, 2016 · 3 comments
Open

How to build for Raspberry Pi 2? #3

dkrikun opened this issue Jun 20, 2016 · 3 comments

Comments

@dkrikun
Copy link

dkrikun commented Jun 20, 2016

Hello,

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

@merrillroller
Copy link
Contributor

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!

@dkrikun
Copy link
Author

dkrikun commented Jun 28, 2016

We're using Raspbian for now

@kayjin
Copy link

kayjin commented Jun 28, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants