草庐IT

uchardet

全部标签

c++ - 与库的 c 绑定(bind)链接

我正在尝试链接到下一个库:(seedocs)它是一个C绑定(bind),用于用C++编写的库。但是如果制作静态库然后尝试链接到它。我收到这些消息:uchardet//libuchardet.a(uchardet.cpp.o):Infunction`uchardet_new':uchardet.cpp:(.text+0x19):undefinedreferenceto`operatornew(unsignedlong)'uchardet.cpp:(.text+0x3c):undefinedreferenceto`std::string::_Rep::_S_empty_rep_storag