前言:
ubuntu 16.04
刚装的PCL 1.8.1
Qt环境下c++开发
使用CMAKE
我做了什么呢:
在程序里include <pcl/...> (pcl的库)
如:
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <pcl/io/pcd_io.h>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
然后遇到了:
main.cpp:(.text+0x86): undefined reference to `boost::system::generic_category()'
main.cpp:(.text+0x92): undefined reference to `boost::system::system_category()'
问题出现原因是&#