Open wuqingshan2010 opened 4 years ago
Smells like a different compiler version or different options. Try building with make VERBOSE=1
and copy the compiler flags, especially any -std=
flags exactly to your project.
Also, please include the exact text of the exception i.e. what makes you think it is std::string.
when i debugging "model = new lm::ngram::Model(filePath, config);", it will throw the "std::bad_alloc" exceptions