Problem with System.PlatformNotSupportedException #511
-
Hello @HurricanKai , junger Deutscher 👍 Ich weiß schon dass du jüngster Programmierer. Ich bin auch Deutscher :D Sorry I contact with @HurricanKai on German Language. I made code below:
After compilation was successfully.
Is it better then System.Runtime... DLLImport - I need use NativeApi, correctly? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hallo 👋 Also, a couple of suggestions:
if (glfw_win.Native.X11.HasValue)
{
var (displayHandle, windowHandle) = glfw_win.Native.X11.Value;
// your X11 code here
}
|
Beta Was this translation helpful? Give feedback.
Hallo 👋
This exception suggests we can't find GLFW or it doesn't work on your platform, make sure that you have a valid glfw binary next in the working directory.
Also, a couple of suggestions:
And to answer that last question, it's very unlikely you ever need to touch NativeApi yourself.