首页 > 其他分享 >could not find boost (missing iostreams) (found version xxxx)

could not find boost (missing iostreams) (found version xxxx)

时间:2023-08-11 18:00:40浏览次数:31  
标签:xxxx lib missing could CMAKE PATH boost find iostreams

具体报错信息如上图,通过终端指定-DBOOST_LIBRARYDIR是无效的, 需要在cmakelis中修改。注意这里报错溯源是cmakelist line29, 所以修改如下

set(CMAKE_INCLUDE_PATH ${CMAKE_INCLUDE_PATH} "/home/rzhang/del/include")  ###新增
set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} "/home/rzhang/del/lib") 新增
find_package(Boost REQUIRED COMPONENTS date_time filesystem iostreams)

在cmakelist line29 ,在find_package上面, 告诉cmake去哪里找链接库, 否则就会去默认路径/usr/lib /usr/local/include下面去找。上面新增的两行是我的boost版本太旧, 依旧没有libiosstream, 所以重装了boost1.76.0版本, 再把boost编译之后的include 、lib告诉cmake。于是就通过了

标签:xxxx,lib,missing,could,CMAKE,PATH,boost,find,iostreams
From: https://www.cnblogs.com/xle97/p/17623663.html

相关文章

  • Couldn't launch Python exit code 9009
    Couldn'tlaunchPythonexitcode9009startstable-diffusion-webui,发现,python环境没有,我本地其实是已经安装完毕的,后来发现是因为windows的应用商店的快捷键,当你CMD命令行输入python的时候,会自动跳转到应用商店,然后你就会发现,你的python环境没有了,所以,需要将应用商店......
  • CUDA 配置环境(三):nvcc fatal : Could not set up the environment for Microsoft Visua
    解决在QT中编写CUDA程序出现nvccfatal:CouldnotsetuptheenvironmentforMicrosoftVisualStudiousing的问题问题详情在QT编写CUDA代码,在已经配好.pro文件中的代码,并且CUDA安装没有问题,还可以在VS2017中正常运行CUDA程序时,一开始debug的时候我遇到了以下问题:Could......
  • Node Sass错误问题 Node Sass could not find a binding for your current environmen
    Modulebuildfailed(from./node_modules/sass-loader/dist/cjs.js):Error:MissingbindingD:\2@Html\vue_work_room\blsh-student-view\node_modules\node-sass\vendor\win32-x64-83\binding.nodeNodeSasscouldnotfindabindingforyourcurrentenviron......
  • FileNotFoundError: Could not find module 'xxx.dll'. Try using the full path with
    首先看看报错信息 我的python版本是3.8版本,试了网上加各种办法后发现不行。然后怀疑是系统本身的问题,就下载了visual studio,用其中的dumpbin一查,发现果然少了一个dll文件。详细步骤:1.下载并安装visual studio 2.找到开发者命令工具,并打开 3.在打开的控制台上......
  • Could not extract response: no suitable `HttpMessageConverter` found for respons
    1.问题复现话不多说,先贴出问题代码:这里的GetUserInfoByAccessToken是我自定义的一个实体类。GetUserInfoByAccessTokengetUserInfoByAccessTokenString=restTemplate.getForObject(userInfoByAccessCodeURL,GetUserInfoByAccessToken.class);异常信息:Couldnotextractr......
  • Port XXX is already in use. xxxx..解决办法-gradio退出可用
    原因:端口被占用,程序启动后关闭但端口依然存在解决办法:手动杀死端口  1.安装工具(已经有的不需要安装,直接跳到第二步)yuminstallnet-tools-y命令介绍:yum:自动化简单化地管理rpm包的命令。install:安装net-tools:网络工具 2.安装完毕,执行查看端口命令: netstat-tpln......
  • 解决npm ERR! code ERESOLVE -npm ERR! ERESOLVE could not resolve
     当使用一份vue源码开发项目时,npminstall报错了npmERR!codeERESOLVEnpmERR!ERESOLVEcouldnotresolvenpmERR!npmERR!Whileresolving:[email protected]!Found:[email protected]!node_modules/webpacknpmERR!webpack@"^4.0.0"from@vue/......
  • Could not find server 'server name' in sys.servers. SQL Server 2014
    Couldnotfindserver'servername'insys.servers.SQLServer2014  Atfirstcheckoutthatyourlinkedserverisinthelistbythisqueryselectnamefromsys.serversIfitnotexiststhentrytoaddtothelinkedserverEXECsp_addl......
  • could not import go.etcd.io/etcd/clientv3-go
    问题描述今天在封装etcd的时候导包报错:couldnotimportgo.etcd.io/etcd/clientv3(norequiredmoduleprovidespackage"go.etcd.io/etcd/clientv3")问题解决:get:确保下载了client包gogetgo.etcd.io/etcd/clienttidygomodtidy本文由mdnice多平台发布......
  • should,would,could,must,might,may,can有什么区别
    二.情态动词的基本用法   1.can(could)   1)表示能力,could主要指过去时间。例如:   ①Twoeyescanseemorethanone.  两只眼比一只眼看得清。   ②Couldthegirlreadbeforeshewenttoschool?  这女孩上学前能识字吗?   2)表示可能......