-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pcl_visualization build failure on Mac OS X #712
Comments
@asmaloney As an alternative you can use https://github.com/PointCloudLibrary/pcl/blob/master/doc/tutorials/content/installing_homebrew.rst to install it in Mac. |
Hi Francisco, so you don't get this bug? Do you have any idea why? |
I'm going to test it, I have seen this type of issues when trying to build directly. |
@asmaloney I was referring to @fran6co ;). |
@asmaloney you don't have much choice about PCL, 1.7.1 doesn't work on Mavericks. About VTK not sure, I'm using 6.1.0 build by homebrew with QT4. This is the command homebrew generates for PCL:
|
This is the cmake VTK is using:
|
The main difference is that the homebrew cmake for vtk has |
@jspricke Understood - I was just putting forward some possibilities.
@fran6co Sorry - I'm not sure what you're referring to here - building it without HomeBrew, building it with HomeBrew, or PCL 1.7.1 at all? (I'm trying to build on 10.8, but I'll need it to run on 10.9 obviously.) Thanks - I'll take a look at the options you have here and see if I can make any progress. |
10.9 is using libc++ instead of libstdc++, if your build system is 10.9 you are not going to be able to build 1.7.1 there, no matter what build method you use. |
Thanks for the clarification. What's the actual problem with building with libc++ vs. libstdc++? Is this going to be addressed soon or am I going to be stuck on 10.8 for development?
|
The problem is that libc++ and libstdc++ are not compatible, you have to use one or the other for your app and the dependencies. |
Thanks Francisco. And thank you for the work you've put into this! |
So it looks like vtkCocoaRenderWindowInteractor::GetCocoaServer() and vtkCocoaRenderWindowInteractor::SetCocoaServer() were removed from vtkCocoaRenderWindowInteractor.h in this VTK commit: Kitware/VTK@a3e9fc9 From their changelog:
I'm not good enough with git to figure out when it was committed to master, but those member functions don't exist in the current "HEAD". @fran6co Maybe this is a more recent change to VTK than the version you are using? That would explain why I have the error but you don't. |
@asmaloney, just checked VTK history (https://github.com/Kitware/VTK/blob/v6.1.0/Rendering/OpenGL/vtkCocoaRenderWindowInteractor.h) and confirmed that 6.1.0 doesn't contain that commit. Not sure what is the versioning policy of VTK, but it would look like is going to be released for 7.x as it would break the API. Just stick to VTK 6.1.0 + dev version of PCL. |
Cool, thanks again. |
No prob. |
Sounds like this can be closed, please complain otherwise. |
This is related to PointCloudLibrary#712, they finally merged the patch Kitware/VTK@a3e9fc9 mentioned by @asmaloney.
I was excited to see that #363 was finally merged, so I updated all the support libs and of pcl using git to try to compile on Mac OS X 10.8.
I configured pcl like this:
I am using the VTK git master branch which I configured using this:
When compiling, I get the following errors:
Is this something that needs to be fixed for the new VTK integration or is it something I need to change in my configuration?
Thank you for your help.
The text was updated successfully, but these errors were encountered: