您的位置:首页 > 运维架构

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

2016-05-15 15:16 756 查看
因为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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: