0

I want to run sample code from PCL site to simple read cloud from file. I installed libraries, and prepared build script:

g++ -std=c++11 main.cpp -lboost_system `pkg-config --libs --cflags opencv4` -g -o main

but compiller throws many errors like:

/usr/include/pcl/io/pcd_io.h:56: undefined reference to `vtable for pcl::PCDReader'

I know that I need to linking libpcl_io.so like I linked boost library by adding -lboost_system , but my question is - how? I tried add to script something like -lpcl, -libpcl, -lpcl_io, but it doesn't works

So, what is keyword to linking PCL Libraries?

Fidor
  • 121
  • 1
  • 10

0 Answers0