With SFML version 2.2 and non hardware-accelerated OpenGL on Windows, running the SFML examples results in Julia crashing
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x0 -- unknown function (ip: 0000000000000000)
In particular, the crash happens when execution reaches the draw() function, e.g. draw(window, line) in line.jl example.
In fact, I upgraded the SFML binaries to version 2.3 in this fork (https://github.com/ibadr/sfml-binaries), and changed the build.jl script to point there for downloading the SFML binaries, and I was subsequently able to build SFML.jl using these upgraded binaries. Afterwards, the examples run just fine, with some warnings that confirm my speculation, e.g.
Warning: Detected "Microsoft Corporation GDI Generic" OpenGL implementation
The current OpenGL implementation is not hardware-accelerated
Warning: The created OpenGL context does not fully meet the settings that were requested
Requested: version = 2.2 ; depth bits = 0 ; stencil bits = 0 ; AA level = 0 ; core = false ; debug = false
Created: version = 1.1 ; depth bits = 16 ; stencil bits = 8 ; AA level = 0 ; core = false ; debug = false
With SFML version 2.2 and non hardware-accelerated OpenGL on Windows, running the SFML examples results in Julia crashing
In particular, the crash happens when execution reaches the
draw()
function, e.g.draw(window, line)
in line.jl example.After some investigation, I can confirm that this issue is related to this discussion http://en.sfml-dev.org/forums/index.php?topic=17793.0
In fact, I upgraded the SFML binaries to version 2.3 in this fork (https://github.com/ibadr/sfml-binaries), and changed the build.jl script to point there for downloading the SFML binaries, and I was subsequently able to build SFML.jl using these upgraded binaries. Afterwards, the examples run just fine, with some warnings that confirm my speculation, e.g.