Open obitodaitu opened 1 week ago
The project supports x86_64 (amd64) on various platforms. Does it not work on your end? If so, can you share the architecture and platform you are trying compile it on?
architecture:x64,platform:windows11. my code: int main() { std::cout << "Hello World!\n";
int i;
int argc = 3;
char** argv;
argv = (char**)malloc(sizeof(char*) * argc);
if (argv == NULL)
{
return 0;
}
argv[0] = _strdup("mecab-ko");
argv[1] = _strdup("-d");
argv[2] = _strdup("C:/Program Files (x86)/mecab-ko/lib/mecab-ko/dic/mecab-ko-dic");
MeCabKo::Tagger* tagger = MeCabKo::createTagger(argc, argv);
if (tagger)
{
std::cout << "tagger is vaid!\n";
}
for (i = 0; i < argc; i++)
free(argv[i]);
free(argv);
} error : tagger is always nullptr. I use the codes from mecab which work, I saw your new code :disable macos arm64 for now; cross-compiled arm64 binary cannot be run on x86 machine: if [ "$CIBW_ARCHS" == "arm64" ]; then
The code should work on windows with X86_64 (AMD 64).
MacOS/ARM64 was enabled in the most recent commit, but even if not so, it does not actually affect Windows with AMD 64 (notice the difference in name AMD and ARM).
I hope this helps. Let me know if you have any other concerns. Otherwise, I will close this issue.
can you support x86_64?