IOS PCL VES Problem

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

IOS PCL VES Problem

DHWood
Hi, I am quite new to osx, git, c++, etc.. but I have been able to test the kiwiviewer on my iPad for the version of VES that doesnt have PCL
as per the instructions on the VES/Point Cloud Library page.

The problem comes when trying to test the hellopcl xcode project. The instructions say to clone the PCL superbuild make scripts but doesn't mention what to do with them.

Also cloning the stage/pcl-ios-app repository doesn't work as throws the error "directory already exists".
I have tried switching branches, removing the original VES and just cloning the stage version but that throws lots of errors when building VES and VTK for IOS (make -j4) and when running "./cmake_command.sh" in the hellopcl folder also throws lots of errors(e.g. cant find VES).

I have the compiled version of PCL installed with all dependancies.

Am i missing something?



Thanks

Duncan

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

DHWood
bump...
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

Pat Marion
Hi Duncan,

You should use cmake to configure the pcl-superbuild project like you would any other cmake based project.  After cloning, create a build directory and configure.  If you want to do the iOS build, enable the BUILD_IOS_DEVICE option.  Then run make, it will download, configure, compile, and install several projects, including pcl.  If you run into an error message, make sure to copy the full error message and you can post that to this mailing list and we'll try to help out.

I am working on packaging the iOS pcl.framework so that you can use pcl on iOS without having to build the whole thing yourself, since the build can be quite complicated.  I'll send a notice when that's available.

Pat


On Thu, Feb 28, 2013 at 10:11 PM, DHWood <[hidden email]> wrote:
bump...




--
View this message in context: http://www.pcl-users.org/IOS-PCL-VES-Problem-tp4026418p4026472.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

DHWood
Hi Pat,

Thanks for replying, I have started fresh, cloned the superbuild and tried to make it. but I got this error:

[ 99%] Performing install step for 'ves-ios-device'
make[3]: *** No rule to make target `install'.  Stop.
make[2]: *** [CMakeExternals/Stamp/ves-ios-device/ves-ios-device-install] Error 2
make[1]: *** [CMakeFiles/ves-ios-device.dir/all] Error 2
make: *** [all] Error 2


Thanks

Duncan
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

Pat Marion
You need to provide the full output, what you provided does not show the error message.

Pat

On Sat, Mar 2, 2013 at 3:29 AM, DHWood <[hidden email]> wrote:
Hi Pat,

Thanks for replying, I have started fresh, cloned the superbuild and tried
to make it. but I got this error:

[ 99%] Performing install step for 'ves-ios-device'
make[3]: *** No rule to make target `install'.  Stop.
make[2]: *** [CMakeExternals/Stamp/ves-ios-device/ves-ios-device-install]
Error 2
make[1]: *** [CMakeFiles/ves-ios-device.dir/all] Error 2
make: *** [all] Error 2


Thanks

Duncan



--
View this message in context: http://www.pcl-users.org/IOS-PCL-VES-Problem-tp4026418p4026499.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

DHWood
Terminal_Saved_Output.txt.zip

Hi Pat, Here's the full terminal output..

Duncan
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

Pat Marion
Ok, I see what happened.  Your build successfully finished compiling pcl, but there was an issue when compiling ves.  The pcl-superbuild uses the ves next branch, and recently (1.5 weeks ago) a change was introduced into the ves next branch which requires a new configuration option which is was not set by the pcl-superbuild.  I just pushed a fix for this, so if you cd into your pcl-superbuild folder and run "git pull", then you can run make and hopefully it will work now.

By the way, you ran cmake inside the pcl-superbuild directory.  You shouldn't do that.  Instead, run the cmake command in a build directory that is separate from the pcl-superbuild dir, like this:

cd pcl-superbuild
mkdir ../build
cd ../build
cmake ../pcl-superbuild



Pat

On Sun, Mar 3, 2013 at 9:41 PM, DHWood <[hidden email]> wrote:
Terminal_Saved_Output.txt.zip
<http://www.pcl-users.org/file/n4026511/Terminal_Saved_Output.txt.zip>

Hi Pat, Here's the full terminal output..

Duncan



--
View this message in context: http://www.pcl-users.org/IOS-PCL-VES-Problem-tp4026418p4026511.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

DHWood
Great!! Was able to compile..

Thanks alot for your help Pat.

Duncan
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

Pat Marion
Awesome, I'm glad it worked.  I just updated the wiki page to add instructions for running cmake, sorry those were missing.  I also added a link to where you can download a pre-built iOS framework bundle.  This bundle is built using the superbuild, so it should be equivalent to what you just built yourself.

http://vtk.org/Wiki/VES/Point_Cloud_Library

Pat

On Tue, Mar 5, 2013 at 11:28 PM, DHWood <[hidden email]> wrote:
Great!! Was able to compile..

Thanks alot for your help Pat.

Duncan



--
View this message in context: http://www.pcl-users.org/IOS-PCL-VES-Problem-tp4026418p4026568.html
Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

devilt8
Hitting an error here... Cannot for the life of me get PCL to compile properly for iOS.  Tried several approaches.  I even found an option in the VES superbuild cmake to add support for PCL, and to indicate the directory of the 'PCL superbuild'.  Attempted to work this way around but again no success.  With the pcl superbuild however, the output is... console output. any help would be much appreciated! I have spent many days trying to get this to work.
Reply | Threaded
Open this post in threaded view
|

Re: IOS PCL VES Problem

Radu B. Rusu
Administrator
Your log file indicates clues:
 * your GCC is 4.2.1
 * the error "branch out of range" appears when compiling FLANN
 * the super build is using code from gcasey/master - you can contact the author to see what the compiler/version recommendations are

Best,
Radu.

On Sep 26, 2013, at 5:51 AM, devilt8 <[hidden email]> wrote:

> Hitting an error here... Cannot for the life of me get PCL to compile
> properly for iOS.  Tried several approaches.  I even found an option in the
> VES superbuild cmake to add support for PCL, and to indicate the directory
> of the 'PCL superbuild'.  Attempted to work this way around but again no
> success.  With the pcl superbuild however, the output is...  console output
> <https://www.dropbox.com/s/5rxmeoxhgg9f01m/output.txt>  . any help would be
> much appreciated! I have spent many days trying to get this to work.
>
>
>
> --
> View this message in context: http://www.pcl-users.org/IOS-PCL-VES-Problem-tp4026418p4029863.html
> Sent from the Point Cloud Library (PCL) Users mailing list mailing list archive at Nabble.com.
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users

_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users