红联Linux门户
Linux帮助

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

发布时间:2016-07-27 15:22:59来源:linux网站作者:northeastsqure
因为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.
 
本文永久更新地址:http://www.linuxdiyf.com/linux/22757.html