/cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x170): undefined reference to `MeCab::createTagger(char const*)' /cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x1b1): undefined reference to `MeCab::getTaggerError()' /cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x28c): undefined reference to `MeCab::getTaggerError()' /cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x3df): undefined reference to `MeCab::getTaggerError()' /cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x4e7): undefined reference to `MeCab::getTaggerError()' /cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x63b): undefined reference to `MeCab::getTaggerError()' /cygdrive/c/DOCUME~1/chisato/LOCALS~1/Temp/ccS9OCYN.o:example.cpp:(.text+0x757): more undefined references to `MeCab::getTaggerError()' follow collect2: ld returned 1 exit status
カレントディレクトリには、
$ ls example.c example.cpp libmecab.dll libmecab.lib mecab.h