Golang中国

yuer437

Golang China 第 6302 号会员,加入于 2016-10-31 19:15


yuer437最近创建的主题


1 Go1.7通过swig3.0.10调用C++的so库报错
Cgoyuer437 • 2016-10-31 19:38 • 最后回复来自 yuer437
yuer437 创建的更多主题

yuer437最近回复了


回复了 yuer437 创建的主题: Go1.7通过swig3.0.10调用C++的so库报错 2016-10-31 19:38

错误看不清,我重新贴一下:

/tmp/go-build408713353/com.iflytek.ossp/common/cflume/_obj/LogLib_wrap.cxx.o: In function _wrap_sendlog_cflume_fa5fb250c6e385aa': ../common/cflume/LogLib_wrap.cxx:489: undefined reference tologlib::sendlog(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)’
/tmp/go-build408713353/com.iflytek.ossp/common/cflume/_obj/LogLib_wrap.cxx.o: In function _wrap_init_cflume_fa5fb250c6e385aa': ../common/cflume/LogLib_wrap.cxx:474: undefined reference tologlib::init(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’
/tmp/go-build408713353/com.iflytek.ossp/common/cflume/_obj/LogLib_wrap.cxx.o: In function _wrap_close_cflume_fa5fb250c6e385aa': ../common/cflume/LogLib_wrap.cxx:495: undefined reference tologlib::close()’
collect2: ld returned 1 exit status

yuer437 创建的更多回复