taku910/mecab

Meet a undefined reference to '__imp__ZN5MeCab12createTaggerEPKc' when running the example.cpp

SefaZeng opened this issue · 2 comments

I try to run the example.cpp file, but meet these errors:

C:/Program Files (x86)/MeCab/sdk/example.cpp:14: undefined reference to `__imp__ZN5MeCab12createTaggerEPKc'

C:/Program Files (x86)/MeCab/sdk/example.cpp:15: undefined reference to `__imp__ZN5MeCab14getTaggerErrorEv'

C:/Program Files (x86)/MeCab/sdk/example.cpp:18: undefined reference to `__imp__ZN5MeCab14getTaggerErrorEv'

C:/Program Files (x86)/MeCab/sdk/example.cpp:24: undefined reference to `__imp__ZN5MeCab14getTaggerErrorEv'

C:/Program Files (x86)/MeCab/sdk/example.cpp:27: undefined reference to `__imp__ZN5MeCab14getTaggerErrorEv'

C:/Program Files (x86)/MeCab/sdk/example.cpp:33: undefined reference to `__imp__ZN5MeCab14getTaggerErrorEv'

What is the problem?And how can i solve it?Any help will be appreciate!

I use the clion IDE on windows10

Hi @SefaZeng, were you able to figure this out? I get this same issue.