`regfreeA' `regexecA' `regcompA'ubuntu opencv链接无法找到

因为boost 和 linux系统自身都有regex.h导致了冲突,临时把/usr/include/boost/regex.h改名可以编译通过,然后改回来;

我想,在~/.bashrc 里面把C_INCLUDE_PATH=/usr/include/:/home/silva/ffmpeg_build/include: 系统include放在前面也可以。

https://groups.google.com/forum/#!topic/cantera-users/iHb6u9U_yow

Hi Ray,

thanks for your answer. I removed boost_lib_dir and boost_ from cantera.conf and after compiling again, scons test was successful. Furthermore, Ember seems to have been tested and installed correctly afterwards as well (which was my primary goal).

Thank you a lot for your help,

Eduardo.

https://groups.google.com/forum/#!searchin/caffe-users/regex.h/caffe-users/zTfFsRnNl9c/ckD-bar6BAAJ

I think the cause is the google tests is looking for the generic regex.h but cmake used the regex.h from boost. and boost is not linked. 

I'm not sure how to fix it properly but renaming /usr/local/include/boost/ regex.h temporarily to something else fix the problem.


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值