- 博客(2)
- 收藏
- 关注
原创 undefined reference to ‘pthread_create’ 问题解决
undefined reference to ‘pthread_create’ 问题解决最近在学习用多线程,遇到undefined reference to ‘pthread_create’ 问题,对于该问题的解决办法,没太看懂g++ pthread.c -lpthread -o pthread ,这样的操作。我用的ubuntu 18.04最后通过在CmakeLists 中增加set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread")
2021-04-14 12:37:37
275
原创 视觉SLAM g2o 显示Could not find a package configuration file provided by “G2O“ with any of the following
视觉SLAM g2o 显示Could not find a package configuration file provided by “G2O” with any of the following names: 解决办法CmakeList 文件内容 写法cmake_minimum_required(VERSION 3.17)project(g2oCurveFitting)set(CMAKE_CXX_STANDARD 14)list( APPEND CMAKE_MODULE_PATH /ho
2021-02-23 17:21:14
1586
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人