-
Notifications
You must be signed in to change notification settings - Fork 86
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
dealing with vtk6 from kinetic - director initial setup & installation error #576
Comments
Pre-compiled director binaries can be downloaded here: https://bintray.com/patmarion/director/director/0.1.0-234-g74cea84#files If you want to compile from source, that should also work and it will download the correct version of vtk. I think you may have configured using the wrong CMakeLists.txt. You should use the superbuild CMakeLists.txt, see instructions at: https://github.com/robotlocomotion/director#building Here is where the option to use precompiled vtk vs. system vtk is defined: https://github.com/RobotLocomotion/director/blob/master/distro/superbuild/cmake/externals.cmake#L19 |
Hi @ahundt were you able to resolve this issue? I'm trying to install director using the pcl version (1.7) provided by ROS which is compiled against vtk6.2 |
I'm not actually sure that Director works with vtk 6.2. I know it works with VTK 5.8 (the last 5.x release) and works on vtk6.3 thru vtk8. I think ROS kinectic's vtk6.2 is not a great release version. But you should be able to build director against it's own internal version of VTK. @mauricefallon are you building director standalone or as part of an openhumanoids build? |
I have all director's dependencies building in catkin including Drake. The code still uses LCM but its now ROS compatible. I want to make director fully catkin integrated and perhaps ROS integrated in future. Its only a few CMake commands here and there. That works just fine - with perception disabled. This uses your precompiled vtk7.
I think my options are: Which approach would you suggest? |
I would have expected the vtk6.2 failure to be a cmake or build failure. If it actually builds and runs, but crashes with a runtime error, then it very well may be possible to just fix that run time error. It could be something as simple as adding/removing some libraries from this list, like, what happens if you add "vtkRenderingFreeTypeFontConfig"? https://github.com/RobotLocomotion/director/blob/master/src/vtk/DRCFilters/CMakeLists.txt#L60 |
Success! It took a day, but I found the issue. In June @sankhesh added a commit to ddQVTKWidgetView.cpp Here: Basically when I forced the use of the older code, Director works just fine. Such that those lines read:
The result is the full DRC Director works within a ROS/catkin build system with system installed vtk6, qt5, PCL1.7 and OpenCV. I'm not familiar with what's going on here, any idea what's going on? |
@mauricefallon VTK 6.2 does not support Qt 5. It might compile but there are known rendering issues. See http://vtk.1045678.n5.nabble.com/Depth-peeling-and-Qt-td5746110.html for example. It might just be a matter of fixing director to fail gracefully if the supported versions are not available. |
The documentation says it will install vtk for me if it isn't there:
However I'm getting the following error:
It seems I have the vtk6 versions that come with ros kinetic:
As kinetic is a LTS release I'd prefer not to disrupt my current ROS installations.
Could you advise me on the workaround you recommend?
Thanks!
The text was updated successfully, but these errors were encountered: