- 论坛徽章:
- 19
|
reiase 发表于 2013-07-12 15:06 ![]()
回复 1# 方兆国
这是release的报错- 15:12:03 **** Incremental Build of configuration Release for project RegexBoost ****
- Info: Internal Builder is used for build
- g++ -O3 -Wall -c -fmessage-length=0 -o fangzhaoguo.o "..\\fangzhaoguo.cpp"
- g++ -o RegexBoost.exe fangzhaoguo.o
- fangzhaoguo.o:fangzhaoguo.cpp:(.text+0xc80): undefined reference to `boost::regex_error::regex_error(std::string const&, boost::regex_constants::error_type, long long)'
- fangzhaoguo.o:fangzhaoguo.cpp:(.text+0xc88): undefined reference to `boost::regex_error::raise() const'
- fangzhaoguo.o:fangzhaoguo.cpp:(.text+0xc90): undefined reference to `boost::regex_error::~regex_error()'
- fangzhaoguo.o:fangzhaoguo.cpp:(.text+0xcd8): undefined reference to `boost::regex_error::~regex_error()'
- d:/program files/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: fangzhaoguo.o: bad reloc address 0x3 in section `.text$_ZN5boost16exception_detail10clone_baseD1Ev[_ZN5boost16exception_detail10clone_baseD1Ev]'
- collect2.exe: error: ld returned 1 exit status
- 15:12:15 Build Finished (took 12s.280ms)
复制代码 这是release的截屏
|
|