error LNK2001 ?

litimage 2003-08-25 01:16:50
声明:
namespace MeCab {
class DictionaryMaker
{
public:
void clear();
void add(const std::string &);
...
};
}
实现:
namespace MeCab {
void DictionaryMaker::add(const std::string &rule)
{ ruleSet.insert (rule); }
...
}
compile:
error LNK2001: unresolved external symbol "public: unsigned int __thiscall MeCab::DictionaryMaker::getDicId(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?getDicId@DictionaryMaker@MeCab@@QAEIABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

请高人指点迷津

...全文
34 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
oopig 2003-08-25
  • 打赏
  • 举报
回复
getDicId()这个函数没有定义

69,364

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧