Closed MizuFelix closed 1 year ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
In case anyone is seeing this in the future, you have to call mono_config_parse("/Library/Frameworks/Mono.framework/Versions/6.12.0/etc/mono/config"); before you call mono_jit_init();
Description
Hello! I'm currently working on a Game Engine in C++ with C# as scripting language. I wanted to call a function from C#, that calls Console.WriteLine(). But I got an error and couldn't fix it. I'm on MacOS Ventura and use Mono 12.0.
Reproduction Steps
Error from Terminal:
There is a little more text but I don't know if it makes sense posting it...
C++ Code:
MCC_DEV_CONSOLE() is just a macro that calls std::out
C# Code:
Expected behavior
It should print: "The MCC-Engine is a Game Engine written in C++ and C#!" to the Console
Actual behavior
Throws an error
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response