ubuntu编译muduo库报错,在CMakeLists.txt中添加如下。下面添加的是本机执行pkg-config --cflags --libs protobuf的内容,然后./build.sh -j2 即可
set(CXX_FLAGS
-pthread -I/usr/local/include -pthread -L/usr/local/lib -lprotobuf -lpthread
-g
ubuntu编译muduo库报错,在CMakeLists.txt中添加如下。下面添加的是本机执行pkg-config --cflags --libs protobuf的内容,然后./build.sh -j2 即可
set(CXX_FLAGS
-pthread -I/usr/local/include -pthread -L/usr/local/lib -lprotobuf -lpthread
-g