歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> Linux技術

`regfreeA `regexecA `regcompAubuntu 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.
Copyright © Linux教程網 All Rights Reserved