PCL 1.7.1 for Android

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

PCL 1.7.1 for Android

Jaybird
This post has NOT been accepted by the mailing list yet.
Hi Folks,

I want to build PCL 1.7.1 for Android.  I was able to build PCLusing the pcl-superbuild

https://github.com/patmarion/pcl-superbuild

using NDK version r8b.   This resulted in a build for PCL 1.6.  It appears that the superbuild repository has not been updated for sometime.  Can someone point me to some instructions  or explain how to build the PCL 1.7.1 for Android?  

Thanks in advance,
Jay


Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
This post has NOT been accepted by the mailing list yet.
Hi Jaybird
I want to build PCL 1.6.0 for Android. I know you have it work!  I hava tried by referencing by these web:
http://www.vtk.org/Wiki/VES/Developers_Guide_(Windows)
http://www.vtk.org/Wiki/VES/Download_And_Build_Instructions#Android_instructions
http://www.vtk.org/Wiki/VES/Point_Cloud_Library
http://www.vtk.org/gitweb?p=VES.git;a=blob;f=Apps/Android/README.txt;hb=HEAD

The VES ,the kiwi and the pcl-superbuild were buid unsuccessfully, however,I have no idea about what`s wrong with them.
Can you give me some of advices or keypoints.It`s better if I get a more  detailed  tutorial.
I will sincerely appreciate you about your help.
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Jaybird
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi,

I haven't had the need to build the PCL for android lately.  Below are the
notes I took when I tried it:

I used the pcl-superbuild from the repository

https://github.com/patmarion/pcl-superbuild

The pcl-superbuild has not been updated to support the new NDK builds.  It
appears version 8d will work

wget http://dl.google.com/android/ndk/android-ndk-r8d-linux-x86.tar.bz2

export ANDROID_NDK=<ROOT DIR FOR NDK>

cd pcl-superbuild-master

mkdir build

cd build

ccmake ..

Remove the PCL build for iOS.

Apply path for pthread issue below (
http://www.pcl-developers.org/missing-lpthread-error-when-building-PCL-for-Android-td5707900.html#a5707905
)


I hope the helps.

Cheers,
Jay


On Thu, Jun 4, 2015 at 8:53 PM, Frangmuler [via Point Cloud Library (PCL)
Developers mailing list] <ml-node+s1059499n5709878h62@n5.nabble.com> wrote:

> Hi Jaybird
> I want to build PCL 1.6.0 for Android. I know you have it work!  I hava
> tried by referencing by these web:
> http://www.vtk.org/Wiki/VES/Developers_Guide_(Windows)
>
> http://www.vtk.org/Wiki/VES/Download_And_Build_Instructions#Android_instructions
> http://www.vtk.org/Wiki/VES/Point_Cloud_Library
>
> http://www.vtk.org/gitweb?p=VES.git;a=blob;f=Apps/Android/README.txt;hb=HEAD
>
> The VES ,the kiwi and the pcl-superbuild were buid unsuccessfully,
> however,I have no idea about what`s wrong with them.
> Can you give me some of advices or keypoints.It`s better if I get a more
>  detailed  tutorial.
> I will sincerely appreciate you about your help.
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5709878.html
>  To unsubscribe from PCL 1.7.1 for Android, click here
> <http://www.pcl-developers.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5709279&code=amF5amV2b25AZ21haWwuY29tfDU3MDkyNzl8LTE1MjExOTcyOTM=>
> .
> NAML
> <http://www.pcl-developers.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Mitsuru
This post has NOT been accepted by the mailing list yet.
Hi!

I am trying to use PCL(1.6.0) on Android Studio.
Thanks to the following website, I could build PCL for Android (pcl-superbuild).
http://stackoverflow.com/questions/29266543/building-pcl-for-android
But I have no idea of  how to use it.
I would appreciate it if you would give me help or advice.

Sincerely,
Mitsuru
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
Hi!
I am just a newer for building PCL for Android. I could build PCL(1.6.0) on Eclipse, however, I am studying how to use it.
You could follow the instruction:
There is a accessory, which is a video about how to build VES on Android, it is Pat Marion`s Android tutorial. You could download it! 

I hope it will be helpful!

Sincerely
Frang

------------------ Original ------------------
From:  "Misuru [via Point Cloud Library (PCL) Developers mailing list]";<[hidden email]>;
Date:  Mon, Aug 24, 2015 09:05 PM
To:  "零"<[hidden email]>;
Subject:  Re: PCL 1.7.1 for Android

Hi!

I am trying to use PCL(1.6.0) on Android Studio.
Thanks to the following website, I could build PCL for Android (pcl-superbuild).
http://stackoverflow.com/questions/29266543/building-pcl-for-android
But I have no idea of  how to use it.
I would appreciate it if you would give me help or advice.

Sincerely,
Mitsuru


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5709932.html
To unsubscribe from PCL 1.7.1 for Android, click here.
NAML

从QQ邮箱发来的超大附件
Android tutorial App Building with VES and Kiwi-HD.mp4 (234.23M, 2015年09月24日 09:55 到期)
进入下载页面:http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=5b3630390c546893825f7a114036064d0352090a530e01031a0f545f561b005a0f521d5b55030d4f0e02070a0303515a5500530f66013423595242560f52141642425f4b0f575842177740494674410b5b5259570116430b435e106f23651403595210720f415d4f7f721e541602345f&code=7609f64b
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Mitsuru
This post has NOT been accepted by the mailing list yet.
Hi, Frangmuler!
Thank you for your quick reply and information sharing.

I am also a newer for Android development, PCL and VTK.
I really appreciate your help.

After building PCL+VTK (pcl-superbuild), static libraries (*.a) are generated.
(I can see *.a in pcl-android/lib, vtk-android/lib, boost-android/lib and flann-android/lib directories)
I believe if I would do setting about these static libraries in my Android project, I could use PCL like general PCL programming.
Could you let me know your thoughts?

Sincerely,
Mitsuru
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
I think it`s about NDK. I readed the book, which`s named Android Native Development Kit Cookbook. You can google it!  Its chapter 8:Porting and Using the Existing Libraries with Android NDK, which`s talking about how to using the existing libraries. My next step is just do it with the tutorial. 


------------------ Original ------------------
From: "Mitsuru [via Point Cloud Library (PCL) Developers mailing list]"<[hidden email]>;
Date: 2015年8月25日(星期二) 下午3:28
To: "零"<[hidden email]>;
Subject: Re: PCL 1.7.1 for Android

Hi, Frangmuler!
Thank you for your quick reply and information sharing.

I am also a newer for Android development, PCL and VTK.
I really appreciate your help.

After building PCL+VTK (pcl-superbuild), static libraries (*.a) are generated.
(I can see *.a in pcl-android/lib, vtk-android/lib, boost-android/lib and flann-android/lib directories)
I believe if I would do setting about these static libraries in my Android project, I could use PCL like general PCL programming.
Could you let me know your thoughts?

Sincerely,
Mitsuru


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5709934.html
To unsubscribe from PCL 1.7.1 for Android, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Mitsuru
This post has NOT been accepted by the mailing list yet.
Hi, Frangmuler!

I can download "Android Native Development Kit Cookbook."
I will read chapter 8, Thanks!

After building pcl-superbuild, I also found the directory of "PCLAndroidSample".
Running this sample program would be my next step.
Have you ever tried it?

Mitsuru
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
Sorry, I didn`t get the directory. I can build the pcl-superbuild successfully following the website:
However,I can`t get any samples.
How did you get the directory? 
Is there any smaples after buiding pcl-superbuild?  I didn`t found.

If you want to visualize the point clouds data, you should build the VES following the website:
https://vimeo.com/68386768
https://dotuyau.wordpress.com/2014/08/11/project-3d-viewer-using-ves-vtk-opengl-es-rendering-toolkit-for-android/



------------------ Original ------------------
From: "Mitsuru [via Point Cloud Library (PCL) Developers mailing list]"<[hidden email]>;
Date: 2015年8月26日(星期三) 上午9:22
To: "零"<[hidden email]>;
Subject: Re: PCL 1.7.1 for Android

Hi, Frangmuler!

I can download "Android Native Development Kit Cookbook."
I will read chapter 8, Thanks!

After building pcl-superbuild, I also found the directory of "PCLAndroidSample".
Running this sample program would be my next step.
Have you ever tried it?

Mitsuru


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5709936.html
To unsubscribe from PCL 1.7.1 for Android, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Mitsuru
This post has NOT been accepted by the mailing list yet.
PCLAndroidSample.gz

PCLAndroidSample was created after building pcl-superbuild.
http://stackoverflow.com/questions/29266543/building-pcl-for-android
Please find uploaded a zip file.

Yes, I want to visualize (and process) point cloud data on Google Tango.

VES  is one way to visualize point could because VES was released as a VTK-based mobile application.
But now I do not use VES because it was announced that VES will not be maintained.
"VES is no longer being maintained. Please use VTK as we have added support
for mobile architectures. (from readme.txt of VTK)
"

So I am trying to use PCL+VTK.
I found "vtk-andorid" direcory. It would be possbile to use it...
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
Thanks.
But there is no any samples was created after I building pcl-superbuild following the website. 
What`s the path to the samples` directory? 

The Google Tango as I know is not free and not open. Do you have any instructions of Google Tango? Thanks.

The VTK 6.2.0v added support for mobile architectures.  You can build it and use it directly for android platform! Scanning the website:

------------------ Original ------------------
From: "Mitsuru [via Point Cloud Library (PCL) Developers mailing list]"<[hidden email]>;
Date: 2015年8月27日(星期四) 中午12:59
To: "零"<[hidden email]>;
Subject: Re: PCL 1.7.1 for Android

PCLAndroidSample.gz

PCLAndroidSample was created after building pcl-superbuild.
http://stackoverflow.com/questions/29266543/building-pcl-for-android
Please find uploaded a zip file.

Yes, I want to visualize (and process) point cloud data on Google Tango.

VES  is one way to visualize point could because VES was released as a VTK-based mobile application.
But now I do not use VES because it was announced that VES will not be maintained.
"VES is no longer being maintained. Please use VTK as we have added support
for mobile architectures. (from readme.txt of VTK)
"

So I am trying to use PCL+VTK.
I found "vtk-andorid" direcory. It would be possbile to use it...


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5709939.html
To unsubscribe from PCL 1.7.1 for Android, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Mitsuru
This post has NOT been accepted by the mailing list yet.
Hi!!!

> Thanks.
> But there is no any samples was created after I building pcl-superbuild following the website.
> What`s the path to the samples` directory?
I found the sample in the following directory:
pcl-superbuild/build/CMakeExternals/Source/pcl/mobile_apps/android/PCLAndroidSample
(I created the directory of "build" by myself, and did cmake there)


>The Google Tango as I know is not free and not open. Do you have any instructions of Google Tango? >Thanks.
The Google Tango is now released as a development kit (not for commercial use.)

The instruction of Project Tango C API is here:
https://developers.google.com/project-tango/apis/c/
Additionally, we can find some sample programs
https://github.com/googlesamples/tango-examples-c

For visualization, Google released OpenGL-based source code, tango-gl.
https://github.com/googlesamples/tango-examples-c/tree/master/tango-gl
But unfortunately, I cannot find instruction about tango-gl.
I tried to understand how to use tango-gl. But it is complex and difficult for me.

So I am going to try to find an easy-to-use alternative application.
It would be VTK for mobile architectures.

>The VTK 6.2.0v added support for mobile architectures.  You can build it and use it directly for android platform! Scanning the website:
>http://www.kitware.com/blog/home/post/860
>http://vtk.1045678.n5.nabble.com/Building-and-using-VTK-for-Android-on-Windows-td5731635.html
Thank you :)
Now I wonder if the version of VTK embedded in the PCL is 6.2.0 or more...
I have no idea that we should install PCL and VTK together (pcl-superbuild) or separately (pcl-superbuild & VTK latest version).
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
Hi.
We should install PCL and VTK separately. 
I have 4 usefull directories in the path, pcl-superbuild/build/CMakeExternals/Install ,after building pcl-superbuild following the website:
There is no any directory about VTK.
Thanks your help! I will try to study Google Tango!



------------------ Original ------------------
From: "Mitsuru [via Point Cloud Library (PCL) Developers mailing list]"<[hidden email]>;
Date: 2015年8月28日(星期五) 中午12:19
To: "零"<[hidden email]>;
Subject: Re: PCL 1.7.1 for Android

Hi!!!

> Thanks.
> But there is no any samples was created after I building pcl-superbuild following the website.
> What`s the path to the samples` directory?
I found the sample in the following directory:
pcl-superbuild/build/CMakeExternals/Source/pcl/mobile_apps/android/PCLAndroidSample
(I created the directory of "build" by myself, and did cmake there)


>The Google Tango as I know is not free and not open. Do you have any instructions of Google Tango? >Thanks.
The Google Tango is now released as a development kit (not for commercial use.)

The instruction of Project Tango C API is here:
https://developers.google.com/project-tango/apis/c/
Additionally, we can find some sample programs
https://github.com/googlesamples/tango-examples-c

For visualization, Google released OpenGL-based source code, tango-gl.
https://github.com/googlesamples/tango-examples-c/tree/master/tango-gl
But unfortunately, I cannot find instruction about tango-gl.
I tried to understand how to use tango-gl. But it is complex and difficult for me.

So I am going to try to find an easy-to-use alternative application.
It would be VTK for mobile architectures.

>The VTK 6.2.0v added support for mobile architectures.  You can build it and use it directly for android platform! Scanning the website:
>http://www.kitware.com/blog/home/post/860
>http://vtk.1045678.n5.nabble.com/Building-and-using-VTK-for-Android-on-Windows-td5731635.html
Thank you :)
Now I wonder if the version of VTK embedded in the PCL is 6.2.0 or more...
I have no idea that we should install PCL and VTK together (pcl-superbuild) or separately (pcl-superbuild & VTK latest version).


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5709943.html
To unsubscribe from PCL 1.7.1 for Android, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Mitsuru
This post has NOT been accepted by the mailing list yet.
Sorry for the late reply.

Seeing this website, I found three directories: boost-android, flann-android and pcl-android.
http://www.hirotakaster.com/weblog/how-to-build-pcl-for-android-memo/
But in my built directory, I found four directories including vtk-android


I am no sure whether this vtk-android works well.
First, I will try it.
If it seems not to work well, I will try to install PCL and VTK separately!
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Youngwan
This post has NOT been accepted by the mailing list yet.
I'm trying to compile PCL for android according to
Link1:http://www.hirotakaster.com/weblog/how-to-build-pcl-for-android-memo/
Link2 : http://stackoverflow.com/questions/29266543/building-pcl-for-android

But, always unsuccessful..


In my Mac,  As shown below, errors occur.

    CMake Error at /Users/macbook/pcl-superbuild/build/CMakeExternals/Stamp/eigen/download-eigen.cmake:27 (message):
      error: downloading
      'http://www.vtk.org/files/support/eigen-3.1.0-alpha1.tar.gz' failed
   
        status_code: 56
        status_string: "Failure when receiving data from the peer"
        log:   Trying 66.194.253.19...
   
      Connected to www.vtk.org (66.194.253.19) port 80 (#0)
   
      GET /files/support/eigen-3.1.0-alpha1.tar.gz HTTP/1.1
   
      Host: www.vtk.org
   
      User-Agent: curl/7.44.0
   
      Accept: */*
   
     
      Recv failure: Connection reset by peer
   
      Closing connection 0
   
     
    make[2]: *** [CMakeExternals/Stamp/eigen/eigen-download] Error 1
    make[1]: *** [CMakeFiles/eigen.dir/all] Error 2
    make: *** [all] Error 2

-----------------------------------------------------------------------------------------------


It cannot download eigen file. Is wrong url??
Reply | Threaded
Open this post in threaded view
|

Re: PCL 1.7.1 for Android

Frangmuler
Sorry, I didn`t study the PCL for a long time!
You can try it as follow:
1. Try it as the video:  https://vimeo.com/68386768


3. You maybe using Google Project Tango

4. Compile PCL for ios by using the framework in your mac : https://packages.kitware.com/packages/application/view?applicationId=14

Good luck!


------------------ Original ------------------
From: "Youngwan [via Point Cloud Library (PCL) Developers mailing list]"<[hidden email]>;
Date: 2016年4月9日(星期六) 凌晨0:24
To: "零"<[hidden email]>;
Subject: Re: PCL 1.7.1 for Android

I'm trying to compile PCL for android according to
Link1:http://www.hirotakaster.com/weblog/how-to-build-pcl-for-android-memo/
Link2 : http://stackoverflow.com/questions/29266543/building-pcl-for-android

But, always unsuccessful..


In my Mac,  As shown below, errors occur.

    CMake Error at /Users/macbook/pcl-superbuild/build/CMakeExternals/Stamp/eigen/download-eigen.cmake:27 (message):
      error: downloading
      'http://www.vtk.org/files/support/eigen-3.1.0-alpha1.tar.gz' failed
   
        status_code: 56
        status_string: "Failure when receiving data from the peer"
        log:   Trying 66.194.253.19...
   
      Connected to www.vtk.org (66.194.253.19) port 80 (#0)
   
      GET /files/support/eigen-3.1.0-alpha1.tar.gz HTTP/1.1
   
      Host: www.vtk.org
   
      User-Agent: curl/7.44.0
   
      Accept: */*
   
     
      Recv failure: Connection reset by peer
   
      Closing connection 0
   
     
    make[2]: *** [CMakeExternals/Stamp/eigen/eigen-download] Error 1
    make[1]: *** [CMakeFiles/eigen.dir/all] Error 2
    make: *** [all] Error 2

-----------------------------------------------------------------------------------------------


It cannot download eigen file. Is wrong url??


If you reply to this email, your message will be added to the discussion below:
http://www.pcl-developers.org/PCL-1-7-1-for-Android-tp5709279p5710074.html
To unsubscribe from PCL 1.7.1 for Android, click here.
NAML