You are not logged in.
Hi, everyone
I'm trying to compile some example codes from the Point Cloud Library, and I received these errors:
/usr/bin/ld: cannot find -lvtkgl2ps
/usr/bin/ld: cannot find -lvtkRenderingFreeTypeOpenGL
/usr/bin/ld: cannot find -lvtkgl2ps
/usr/bin/ld: cannot find -lvtkRenderingFreeTypeOpenGL
collect2: error:ld returned 1
CMakeFiles/pcd_write_test.dir/build.make:305: recipe for target 'pcd_write_test' failed
make[2]: *** [pcd_write_test] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pcd_write_test.dir/all' failed
make[1]: *** [CMakeFiles/pcd_write_test.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
When I run
locate vtkgl2ps
I got this
/usr/include/vtk/vtkgl2ps
/usr/lib/libvtkgl2ps.so
/usr/lib/libvtkgl2ps.so.1
But these files actually does not exists. So I bet they once exists on my hard drive, but after some upgrade process (I just did it several hours ago), they are gone. Did the newly upgraded vtk library removed vtkgl2ps & vtkRenderingFreeTypeOpenGL? Or am I doing sth wrong?
Last edited by victl (2015-11-17 16:00:21)
Offline
[EDIT]
I've just checked the change log of 'vtk' library, here is what I found:
2015-10-07 Use system glew and gl2ps libraries anatolik -5/+7
So my question is, how could I work around these issue to make my codes compile?
Offline
[EDIT AGAIN]
I finally tried to compile the newest pcl from github. and it works well for me, no problem anymore. thanks!
Offline