Building PCL 1.8.0 issue. vtkgl missing.

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

Building PCL 1.8.0 issue. vtkgl missing.

YanDaik

Good day everyone.


I'm trying to build latest PCL version from git. And as it's said it is not easy.
Now I'm currently stuck at this issue i can't figure out 3rd day in the row.

One:

Error (active) cannot open source file "vtkOpenGLExtensionManager.h" pcl_visualization d:\temp\libs\pcl\visualization\src\vtk\vtkVertexBufferObject.cxx 21
 

Two:

Error (active) cannot open source file "vtkgl.h" pcl_visualization d:\temp\libs\pcl\visualization\src\vtk\vtkVertexBufferObject.cxx 27

Three:

Error C1083 Cannot open include file: 'vtkVisibleCellSelector.h': No such file or directory pcl_visualization D:\temp\libs\pcl\visualization\src\pcl_visualizer.cpp 59

I've made little research and looks like file vtkgl.h should be generated by Cmake when VTK is build. But doesn't matter how i try that file is not being generated. I'm compiling newest version of VTK - 7.0.0 (also tried previous 6.3.0)

So here are the questions:

Am i doing something wrong?
Should that file be generated?
May be i'm missing something when building  VTK?
Is  PCL compatible with newest VTK?
How's your life?
Why new Star Wars movie is so bad?

Hope to receive some feedback soon, i'm burning here.

Here's screenshot of CMAKE Vtk build:
VTK 7.0.0

Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: Building PCL 1.8.0 issue. vtkgl missing.

VictorLamoine
Administrator

Hello,

Newer versions of VTK are compiled by default with OpenGL2 hardware backend, which is not supported by PCL at the moment (see https://github.com/PointCloudLibrary/pcl/issues/1275). Make sure to compile and install VTK with OpenGL support and then try to compile PCL again. You might need to clear PCL CMake cache and build files.

Bye

Good day everyone.


I'm trying to build latest PCL version from git. And as it's said it is not
easy.
Now I'm currently stuck at this issue i can't figure out 3rd day in the row.

One:

Error (active)          cannot open source file "vtkOpenGLExtensionManager.h"
pcl_visualization
d:\temp\libs\pcl\visualization\src\vtk\vtkVertexBufferObject.cxx        21

Two:

Error (active)          cannot open source file "vtkgl.h"       pcl_visualization
d:\temp\libs\pcl\visualization\src\vtk\vtkVertexBufferObject.cxx        27

Three:

Error   C1083   Cannot open include file: 'vtkVisibleCellSelector.h': No such
file or directory       pcl_visualization
D:\temp\libs\pcl\visualization\src\pcl_visualizer.cpp   59

I've made little research and looks like file vtkgl.h should be generated by
Cmake when VTK is build. But doesn't matter how i try that file is not being
generated. I'm compiling newest version of VTK - 7.0.0 (also tried previous
6.3.0)
So here are the questions:

Am i doing something wrong?
Should that file be generated?
May be i'm missing something when building  VTK?
Is  PCL compatible with newest VTK?
How's your life?
Why new Star Wars movie is so bad?

Hope to receive some feedback soon, i'm burning here.

Here's screenshot of CMAKE Vtk build:
<http://www.pcl-users.org/file/n4040453/2015-12-23.png>

Thank you!



--
View this message in context: http://www.pcl-users.org/Building-PCL-1-8-0-issue-vtkgl-missing-tp4040453.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: Building PCL 1.8.0 issue. vtkgl missing.

VictorLamoine
Administrator
Just to bump on the topic, OpenGLl2 back-end is now fully supported in PCL trunk (it will never be in PCL 1.7.2).

The incoming release of PCL 1.8.0 will bring this support.
For more details:
https://github.com/PointCloudLibrary/pcl/pull/1534