LibraryLinkUtilities
LibraryLinkUtilities copied to clipboard
LLU_DEBUG cannot print Chinenes
After compile the LibraryLinkUtilities\tests\UnitTests\ErrorReporting\TestSources\LoggerTest.cpp
with this CMakeLists.txt, I can run the function LogDemo
like this:
But when I change the
LLU_DEBUG("Library function entered with ", Argc, " arguments.");
in line 58 into LLU_DEBUG("函数输入了", Argc, "个参数.");
, then I call this function. The kernel will crash now:
dll="D:/test/LibraryLinkUtilities/tests/UnitTests/ErrorReporting/TestSources/build/Debug/LoggerTest.dll";
Get["D:/test/LibraryLinkUtilities/install/share/LibraryLinkUtilities.wl"]
`LLU`InitializePacletLibrary[dll];
LogDemo=LibraryFunctionLoad[dll,"LogDemo",{Integer,Integer,Integer,Integer,Integer},Integer];
LogDemo[1,2,3,4,5]