PlanarSLAM icon indicating copy to clipboard operation
PlanarSLAM copied to clipboard

vtkPNGWriter error

Open Rothschild-hhu opened this issue 2 years ago • 3 comments

Hello, when I run PlanarSLAM on the freiburg3_structure_texture_far dataset, I am getting the following error:

PlanarSLAM Printer: This is the 1th image ERROR: In /build/vtk6-VHOYAG/vtk6-6.3.0+dfsg1/IO/Image/vtkPNGWriter.cxx, line 260 vtkPNGWriter (0x7f5d80348240): Unable to open file mesh/000000.png ERROR: In /build/vtk6-VHOYAG/vtk6-6.3.0+dfsg1/IO/Image/vtkImageWriter.cxx, line 505 vtkPNGWriter (0x7f5d80348240): Ran out of disk space; deleting file(s) already written Segmentation fault (core dumped)

Compilation is passed. After checking, it seems that it is not the reason for insufficient disk space, because there are more than 10 G free spaces.

The versions of some third-party libraries I use are as follows:

  1. Pangolin = 0.5
  2. OpenCV & OpenCV_Contrib = 3.4.5
  3. Eigen3 = 3.3.7
  4. PCL = 1.8 (coming with ROS Melodic )

Is it caused by the incompatibility of PCL and VTK versions? Whether the version of PCL must be 1.7 or 1.9? Can you give me some advice? or which version are you using?Best regards.

Rothschild-hhu avatar Mar 20 '22 06:03 Rothschild-hhu

You can just try creating a new dir "mesh" in your root dir. VTK cannot create a new dir automatically.

red0orange avatar Apr 07 '22 11:04 red0orange

Thanks a lot for your answer. After creating the mesh folder in the root directory of the project and running the program, an image is generated in it,000000 but a new error occurs: Segmentation fault (core dumped) It has also appeared in the previous issue #9 , I will upgrade PCL version from 1.8 to 1.9 as suggested.

Rothschild-hhu avatar Apr 07 '22 12:04 Rothschild-hhu

Thanks a lot for your answer. After creating the mesh folder in the root directory of the project and running the program, an image is generated in it,000000 but a new error occurs: Segmentation fault (core dumped) It has also appeared in the previous issue #9 , I will upgrade PCL version from 1.8 to 1.9 as suggested. 你好 我遇到了和你一样的问题,请问你解决了吗

HHy5222 avatar Jun 24 '24 05:06 HHy5222