Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLU_DEBUG cannot print Chinenes #5

Open
Juddd opened this issue Aug 27, 2022 · 0 comments
Open

LLU_DEBUG cannot print Chinenes #5

Juddd opened this issue Aug 27, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Juddd
Copy link

Juddd commented Aug 27, 2022

After compile the LibraryLinkUtilities\tests\UnitTests\ErrorReporting\TestSources\LoggerTest.cpp with this CMakeLists.txt, I can run the function LogDemo like this:
image
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:
image


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]
@rafal-c rafal-c self-assigned this Sep 2, 2022
@rafal-c rafal-c added the bug Something isn't working label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants