Hi pdinklag! First, I wanted to say that this project is great and will be quite useful. Thank you for creating it.
Second, I have downloaded the test release 3 from Github, and it will not run. I am a complete newb in knowing how to get things like that setup to run properly, so I will just tell you exactly what I did. I am running Windows 7, 64-bit, and Java 7 32-bit.
I extracted both jars from the zip file to my desktop, then double clicked on jsfml-examples.jar. A window appeared and quickly closed. Knowing running jars from the command line would display any runtime errors, I open up command prompt and run it with java -jar, and I get the following:
Failed to compile fragment shader:
ERROR: 0:14: '*' : wrong operand types no operation '*' exists that takes a le
ft-hand operand of type 'const int' and a right operand of type 'const float' (o
r there is no acceptable conversion)
ERROR: 0:14: '*' : wrong operand types no operation '*' exists that takes a le
ft-hand operand of type 'const int' and a right operand of type 'float' (or ther
e is no acceptable conversion)
ERROR: 0:14: '/' : wrong operand types no operation '/' exists that takes a le
ft-hand operand of type 'const int' and a right operand of type 'uniform float'
(or there is no acceptable conversion)
ERROR: 0:14: 'sin' : no matching overloaded function found - implicit conversion
not allowed
java.io.IOException: Failed to load shader from source.
at org.jsfml.graphics.Shader.loadFromSource(Unknown Source)
at org.jsfml.graphics.Shader.loadFromStream(Unknown Source)
at org.jsfml.examples.scene.ExampleScene.initialize(Unknown Source)
at org.jsfml.examples.scene.ExampleApp.play(Unknown Source)
at org.jsfml.examples.scene.Standalone.main(Unknown Source)
Is this something wrong with the examples, or do I need to setup something else? Do the dll files need to be in the same location, such as with LWJGL programs, or does jsfml.jar take care of this?
Thanks!