You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Can't Init a Window on MacOS. (System.DllNotFoundException)
To Reproduce
Install the Raylib-cs Nuget Package through Visual Studio Mac and write this piece of code.
using System;
using static Raylib.Raylib;
namespace myGame
{
class MainClass
{
const string GAME_NAME = "My game";
public static void Main()
{
int width = 800;
int height = 400;
InitWindow(width, height, GAME_NAME);
SetTargetFPS(60);
}
}
}
Expected behavior
A window should be Initialized with the chosen size and title.
Details
System.DllNotFoundException: raylib
at at (wrapper managed-to-native) Raylib.Raylib.InitWindow(int,int,string)
at myGame.MainClass.Main () [0x0000d] in /Users/myname/Documents/Programmation/C#/myGame/myGame/Program.cs:13
Desktop
OS: MacOS Mojave 10.14.1
The text was updated successfully, but these errors were encountered:
Yeah @chrisdill@Ahzed11, It needs to be built as a .dylib to be compatible, this would require you to build it yourself, using the Xcode GCC implementation
Describe the bug
Can't Init a Window on MacOS. (System.DllNotFoundException)
To Reproduce
Install the Raylib-cs Nuget Package through Visual Studio Mac and write this piece of code.
Expected behavior
A window should be Initialized with the chosen size and title.
Details
System.DllNotFoundException: raylib
at at (wrapper managed-to-native) Raylib.Raylib.InitWindow(int,int,string)
at myGame.MainClass.Main () [0x0000d] in /Users/myname/Documents/Programmation/C#/myGame/myGame/Program.cs:13
Desktop
The text was updated successfully, but these errors were encountered: