Closed jolting closed 7 years ago
In the PPA, Zesty 17.04 builds ok...
Neither PCL nor VTK are installed in the PPA packages, so your guess about the suspect seems right. Both have very little use (marginal, actually) inside MRPT, so the easiest thing to do would be... don't build against them!
If for some reason the libs are installed, setting DISABLE_PCL=ON and DISABLE_VTK=ON in CMake would make the work...
This bug was reported and apparently fixed in the latest VTK6. Hopefully VTK6 gets patched/upgraded in 17.10. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848785
@jlblancoc By the way the difference between the standard PPA dependencies and the ones I build with is:
libpcl-dev | libpcl-1.7-all-dev,
liblas-dev,
liblas-c-dev,
For completeness I turned everything on. liblas seems fairly benign, but PCL is always broken due to some VTK cmake issues.
Good to know, thanks! 👍
BTW: I didn't enabled by default liblas-dev
in PPA or Debian/Ubuntu because it has what I believe is a marginal use, but instead it has huge dependencies, in the order of hundreds of MBs, if I recall it right (!!)
The workaround is to install libmpich-dev, but I don't know why libopenmpi-dev isn't working. I think libmpi is a dependency of vtk. Perhaps libvtk6-dev has a problem.
Here's a full log: https://launchpadlibrarian.net/321484880/buildlog_ubuntu-zesty-i386.mrpt_1%3A1.5.0~snapshot201705262258-git-0c6a3ea-201705280416~ubuntu17.04.1_BUILDING.txt.gz
The build fails with:
There are also many cmake generation warnings