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.
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.
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
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.
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.
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