1
DotNet / Re: Create RenderWindow on Linux failing with a segmentation fault.
« on: August 11, 2017, 08:00:18 am »
That worked, amazing.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I have SFML 2.4.2 installed.
I compiled CSFML and SFML.NET master branches.
I added a bit more code to make it easier to see the results of running the test.
(Had to upload to my dropbox - too large for the forums)
CSFML libs
SFML.NET libs
test program
Need mono installed for mcs if you want to make the test program yourself.
Also, should mention: I had to make symlinks for the csfml libs in the format: "libcsfml-<module>-2.so" myself, as that's what the DllImports are looking for (Windows style, instead of the Linux style of libcsfml-<module>.so.<version>).
Depending what distro you're on, the libraries I uploaded may not work, fyi.
Are you calling sfRenderWindow_create yourself?
Can you provide an example of this behavior?
I just pulled and built CSFML and SFML.NET, and the following program builds and runs without any errors (Arch Linux, x64):using SFML.Graphics;
using SFML.Window;
static class Program
{
public static void Main(string[] args)
{
var rw = new RenderWindow(new VideoMode(800, 600, 24), "test", Styles.Default);
rw.Clear();
rw.Display();
}
}