Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

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.


Messages - Jbolte

Pages: [1]
1
D / Re: problem when compiling derelict3 sfml2 wrong dll
« on: December 15, 2012, 04:16:20 pm »
Ah, I didn't check for missing functions. I only went through CSFML's commit history and made only the changes that were made since Derelict's SFML binding was last updated. I'll definitely add those and check for any others soon. :)

2
D / Re: problem when compiling derelict3 sfml2 wrong dll
« on: December 13, 2012, 02:38:56 pm »
Hey, that's great that you got it built. I'll write up some instructions for how I did everything (I used MinGW) sometime soon. Everything is on this forums and the regular SFML cmake tutorial, just not in one place (and it's easy to miss one very important detail).

Also, I realized that I made a couple of mistakes with my CSFML build I linked to in my last post. Those should be fixed in this new build. https://dl.dropbox.com/u/19250085/CSFML.rar (same link as before)

3
D / Re: problem when compiling derelict3 sfml2 wrong dll
« on: December 12, 2012, 11:52:55 pm »
Hello, I have finally managed to build CSFML (excluding docs) to be usable with Derelict3. I have also updated the Derelict3 binding of SFML to match the current CSFML master, and I sent a pull request to Aldacron for the Derelict3 master.

My CSFML build is at https://dl.dropbox.com/u/19250085/CSFML.rar. My Derelict3 repo is at https://github.com/TheLionsRoar/Derelict3. Everything seems to work fine with my tests, but if something goes wrong for others I will do my best to help. I'm very new at this. :)

4
D / Re: problem when compiling derelict3 sfml2 wrong dll
« on: December 12, 2012, 07:10:41 pm »
Can you upload those csfml builds you made because I have the exact same problem and I can't build the c++ and c libs.

I would also appreciate them. I spent two hours last night just trying to build the libraries; the C++ libs were quite quick and easy following the tutorial, but the rest of the time was spent attempting to just configure cmake for the C libs (not even building them).

EDIT: Well, in the time since I posted this message I managed to get cmake working just great. I'll edit again shortly with the build I get, to see if it helps you any.

EDIT 2: After a lot of confusion with MingW (I rarely ever use this stuff xD) and a well needed break, I got CSFML built finally. It solves the problem with sfRenderWindow_setSize in the latest master of Derelict3, but has another with sfRenderTexture_convertCoords. I'm still trying to make this work though.

5
SFML website / Re: New forum
« on: March 25, 2012, 03:38:01 am »
Ooh. Very nice. :D

6
Java / Test Release
« on: January 31, 2012, 09:18:49 pm »
That one worked just great. I can't believe how my graphics card only supports such an old version of OpenGL, but I suppose it's partly because I'm using a laptop.

By the way, at least you've learned some of GLSL and OpenGL. I keep trying to learn even just basic OpenGL, and I find it's very difficult, especially when I don't know C++ that well.  :)

7
Java / Test Release
« on: January 31, 2012, 08:30:28 pm »
Thanks for your responses! I replaced the jar and tried again, and I got a different error about the shader. I don't know anything about shaders, so I am not much help to know what is happening. This time it says:

Code: [Select]

Failed to compile fragment shader:
ERROR: 0:14: 'f' : syntax error parse error


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(ExampleScene.java:14
8)
        at org.jsfml.examples.scene.ExampleApp.play(Unknown Source)
        at org.jsfml.examples.scene.Standalone.main(Unknown Source)

8
Java / Test Release
« on: January 31, 2012, 05:11:03 pm »
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:

Quote

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!

Pages: [1]
anything