PCL Visualization on Mac OS

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

PCL Visualization on Mac OS

Boris Lau
Hi folks,

sorry for bringing up this topic again, but I just can't get the PCL
visualization to run on Mac OS X Mountain Lion.

I'm using the current binaries for PCL and all dependencies from this
page: http://pointclouds.org/downloads/macosx.html

I compile in cmake using the bundle macro:
add_executable (badass MACOSX_BUNDLE badass.cpp)
where badass.cpp contains one of the PCL tutorials.

I run the app using "open badass.app"

When I compile this tutorial:
http://pointclouds.org/documentation/tutorials/cloud_viewer.php
the app crashes instantly and gives me this error:
http://www.informatik.uni-freiburg.de/~lau/crashreport.txt

When I compile this tutorial:
http://pointclouds.org/documentation/tutorials/pcl_visualizer.php
and use --args "-s" as argument for open, a window pops up but closes
instantly, while the process still exists.

PCL Apps without visualization seem to work fine.

Do you have any idea how to fix this problem?

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

Re: PCL Visualization on Mac OS

aichim
Administrator
Hi,


I am not sure what I can add on top of what was already discussed on the mailing lists before. :-(

Do the applications with visualization that come with PCL work (e.g., pcl_viewer, openni_viewer) ?


Cheers,
Alex
---
http://www.openperception.org



On Mar 5, 2013, at 2:59 PM, Boris Lau <[hidden email]> wrote:

> Hi folks,
>
> sorry for bringing up this topic again, but I just can't get the PCL visualization to run on Mac OS X Mountain Lion.
>
> I'm using the current binaries for PCL and all dependencies from this page: http://pointclouds.org/downloads/macosx.html
>
> I compile in cmake using the bundle macro:
> add_executable (badass MACOSX_BUNDLE badass.cpp)
> where badass.cpp contains one of the PCL tutorials.
>
> I run the app using "open badass.app"
>
> When I compile this tutorial:
> http://pointclouds.org/documentation/tutorials/cloud_viewer.php
> the app crashes instantly and gives me this error:
> http://www.informatik.uni-freiburg.de/~lau/crashreport.txt
>
> When I compile this tutorial:
> http://pointclouds.org/documentation/tutorials/pcl_visualizer.php
> and use --args "-s" as argument for open, a window pops up but closes instantly, while the process still exists.
>
> PCL Apps without visualization seem to work fine.
>
> Do you have any idea how to fix this problem?
>
> Best, Boris
> _______________________________________________
> [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: PCL Visualization on Mac OS

Boris Lau
Hi Alex,

from the mailing list I took the hint with the macro bundle, and opening
the .app instead the single binary. Is there anything else that I've
missed (using the binary pcl)?

The pcd_viewer works when I call the binary directly inside the app
folder. Opening the app via 'open' causes this error:

LSOpenURLsWithRole() failed with error -10810 for the file
/usr/local/bin/pcd_viewer.app

openni_viewer opens some windows but closes right away when I open the
app, calling the binary causes "invalid drawable".

When I download OpenNI separately, the included "ClosetPointViewer"
works fine...

Best, Boris



On 06.03.13 19:45, Alexandru Ichim wrote:

> Hi,
>
>
> I am not sure what I can add on top of what was already discussed on the mailing lists before. :-(
>
> Do the applications with visualization that come with PCL work (e.g., pcl_viewer, openni_viewer) ?
>
>
> Cheers,
> Alex
> ---
> http://www.openperception.org
>
>
>
> On Mar 5, 2013, at 2:59 PM, Boris Lau <[hidden email]> wrote:
>
>> Hi folks,
>>
>> sorry for bringing up this topic again, but I just can't get the PCL visualization to run on Mac OS X Mountain Lion.
>>
>> I'm using the current binaries for PCL and all dependencies from this page: http://pointclouds.org/downloads/macosx.html
>>
>> I compile in cmake using the bundle macro:
>> add_executable (badass MACOSX_BUNDLE badass.cpp)
>> where badass.cpp contains one of the PCL tutorials.
>>
>> I run the app using "open badass.app"
>>
>> When I compile this tutorial:
>> http://pointclouds.org/documentation/tutorials/cloud_viewer.php
>> the app crashes instantly and gives me this error:
>> http://www.informatik.uni-freiburg.de/~lau/crashreport.txt
>>
>> When I compile this tutorial:
>> http://pointclouds.org/documentation/tutorials/pcl_visualizer.php
>> and use --args "-s" as argument for open, a window pops up but closes instantly, while the process still exists.
>>
>> PCL Apps without visualization seem to work fine.
>>
>> Do you have any idea how to fix this problem?
>>
>> Best, Boris
>> _______________________________________________
>> [hidden email] / http://pointclouds.org
>> http://pointclouds.org/mailman/listinfo/pcl-users
>
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users
>

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