Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6684686
  • 博文数量: 1159
  • 博客积分: 12444
  • 博客等级: 上将
  • 技术积分: 12570
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-13 21:34
文章分类

全部博文(1159)

文章存档

2016年(126)

2015年(350)

2014年(56)

2013年(91)

2012年(182)

2011年(193)

2010年(138)

2009年(23)

分类: C/C++

2015-11-30 23:03:30

/opt/cBPM/criteria-lin/bin/Criteria/Debug/Tools.Executor/src/main.o:在函数‘parse_query_string(std::string const&)’中:
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:28:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::regex_iterator(__gnu_cxx::__normal_iterator, __gnu_cxx::__normal_iterator, std::basic_regex > const&, std::bitset<11ul>)’未定义的引用
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:29:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::regex_iterator()’未定义的引用
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:31:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::regex_iterator(std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits > const&)’未定义的引用
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:33:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::operator*()’未定义的引用
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:34:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::operator*()’未定义的引用
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:31:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::operator++(int)’未定义的引用
/opt/cBPM/criteria-lin/src/Criteria/Criteria.Tools/Criteria.Tools.Executor/src/main.cpp:31:对‘std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits >::operator!=(std::regex_iterator<__gnu_cxx::__normal_iterator, char, std::regex_traits > const&)’未定义的引用
collect2: 错误:ld 返回 1


++++++++++++++++++++++++++++
https://geekwentfreak-raviteja.rhcloud.com/blog/2014/08/04/c11-regex-using-g/


, but . (The headers were present in earlier versions, but were unusable.)

++++++++++++++++++++++++++++++++
Build GCC 4.9.2 for C/C++ on CentOS 7

yum install libmpc-devel mpfr-devel gmp-devel

cd ~/Downloads
curl ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-4.9.2/gcc-4.9.2.tar.bz2 -O
tar xvfj gcc-4.9.2.tar.bz2

cd gcc-4.9.2
./configure --disable-multilib --enable-languages=c,c++
make -j 4
make install
阅读(4422) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~