Thread overview |
---|
September 01, 2012 Derelict3+SFML2 | ||||
---|---|---|---|---|
| ||||
Hello, I've got a little problem with DerelictSFML2. Despite the fact that I downloaded from the official website binaries CSFML2, this little application closes with the message: "Failed to load symbol sfWindow_setSize from shared library csfml-window-2.dll" module main; import std.stdio; import derelict.sfml2.system; import derelict.sfml2.window; int main (string [] argv) { DerelictSFML2System.load (); DerelictSFML2Window.load (); return 0; } Could you explain to me what is wrong? |
September 01, 2012 Re: Derelict3+SFML2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zhenya | On Saturday, 1 September 2012 at 15:53:20 UTC, Zhenya wrote:
> Hello, I've got a little problem with DerelictSFML2. Despite the fact that I downloaded from the official website binaries CSFML2, this little application closes with the message: "Failed to load symbol sfWindow_setSize from shared library csfml-window-2.dll"
I just had a look at the windows sfml2 binary folder, and the setSize symbol is not included in the csfml-window-2.dll exports (although getSize is). You might have to rebuild from source. (There are quite a few symbols missing from the prebuilt binaries, based on what should be there from the docs on the website).
|
September 01, 2012 Re: Derelict3+SFML2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to cal | On Saturday, 1 September 2012 at 19:59:33 UTC, cal wrote:
> On Saturday, 1 September 2012 at 15:53:20 UTC, Zhenya wrote:
>> Hello, I've got a little problem with DerelictSFML2. Despite the fact that I downloaded from the official website binaries CSFML2, this little application closes with the message: "Failed to load symbol sfWindow_setSize from shared library csfml-window-2.dll"
>
> I just had a look at the windows sfml2 binary folder, and the setSize symbol is not included in the csfml-window-2.dll exports (although getSize is). You might have to rebuild from source. (There are quite a few symbols missing from the prebuilt binaries, based on what should be there from the docs on the website).
Thank you very much,I will try to build csfml from source.
|
Copyright © 1999-2021 by the D Language Foundation