PCL on raspberry Pi2?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

PCL on raspberry Pi2?

john24
Hello,

I've done some searching and couldn't anything on any work being done to get PCL working for raspberry Pi2.

Would anyone here know anything about support for PCL on Raspberry Pi2?

Kind Regards.
Reply | Threaded
Open this post in threaded view
|

Re: PCL on raspberry Pi2?

VictorL
This post was updated on .
Hello,

I don't think there are releases for the Raspberry however you should be able to compile PCL pretty easily.
I've done in on a Raspberry Pi (not Pi2), ODROID, and BeagleBone

For example on my Raspberry Pi I usually add these flags to compile libraries:
CFLAGS += -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard

Depending on what you need you might disable some modules!
These kind of questions are best asked on pcl-users

Bye
Reply | Threaded
Open this post in threaded view
|

Re: PCL on raspberry Pi2?

Jochen Sprickerhof
Administrator
In reply to this post by john24
Hi John,

* john24 <[hidden email]> [2015-04-23 01:39]:
> I've done some searching and couldn't anything on any work being done to get
> PCL working for raspberry Pi2.
>
> Would anyone here know anything about support for PCL on Raspberry Pi2?

You should be able to install them from here:

https://packages.debian.org/jessie/libpcl-dev

Cheers Jochen

_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: PCL on raspberry Pi2?

john24
In reply to this post by VictorL
Well I am trying to compile the PCl on the pi2 but having some issues as I am new to linux. Seems like I keep running out of memory for the swap currently got 1gb but it seems not enough. Got all mandatory libraries(boost, vtk, eigen and flann) compiled and installed.

victor you mentioned the CFLAGS += -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard where did you put this line?

I just made a build folder, used ccmake to configure and make to compile.
Reply | Threaded
Open this post in threaded view
|

Re: PCL on raspberry Pi2?

VictorL
Hello,

Did you try the packages Jochen mentioned? It would be easier!

These flags should be added in the CMAKE_CXX_FLAGS (it is part of the advanced variables)
They should not be mandatory but are optimizations to make the library faster.

You can try enabling PCL_ONLY_CORE_POINT_TYPES to reduce memory usage. (not 100% sure it will reduce memory usage during compilation)
You could also increase your swap size to 2/3 Gb!

Bye
Reply | Threaded
Open this post in threaded view
|

Re: PCL on raspberry Pi2?

Ką Mykolas
In reply to this post by john24
On 4/27/15, john24 <[hidden email]> wrote:
> Well I am trying to compile the PCl on the pi2 but having some issues as I
> am
> new to linux. Seems like I keep running out of memory for the swap currently
> got 1gb but it seems not enough. Got all mandatory libraries(boost, vtk,
> eigen and flann) compiled and installed.

Another approach would be just crosscompiling it on another, "bigger"
machine with more RAM. You'd save some time too.
_______________________________________________
PCL-developers mailing list
[hidden email]
http://pointclouds.org/mailman/listinfo/pcl-developers
http://pointclouds.org