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 - Trass3r

Pages: [1] 2 3 ... 7
1
D / Proper setup guide and usage tutorial?
« on: December 30, 2011, 01:12:25 pm »
Quote from: "Groogy"
Getting D to link against CSFML was hard, so I did everything dynamically instead.

Yep that's a big open issue. DSFML ought to load everything statically.
But that makes inheritance in the wrapper more complicated.

Quote
Other than that and a few other small stuff in the D compiler. The language is freaking sweet and I would love to see someone pick it up again and create a new DSFML bindings for version 2.

It's a perfect mix between managed and native languages if you ask me.

Glad you like it 8)

The system module should still be pretty usable, network module isn't required -> stdlib

2
D / Proper setup guide and usage tutorial?
« on: November 23, 2011, 01:50:59 pm »
Seems like Laurent removed the bindings from the git repo.
No clue where he put it.

You just use rdmd with the file containing main(). It automatically finds all imported modules then.

If you are new to D I don't recommend DSFML though since I don't maintain it anymore.
A proper solution should be based on SWIG.

3
D / DSFML compile error: Undefined Symbol
« on: November 02, 2011, 12:26:00 am »
You have to use D2.

4
D / Re: Proper setup guide and usage tutorial?
« on: August 08, 2011, 03:14:16 pm »
Quote from: "Kobie"
How would I setup DSFML 1.3 (from the downloads section on the main site) with DMD2

You wouldn't.
That package is horribly outdated and doesn't even compile with D2.
You need to use the latest git revision.
For DSFML itself using rdmd is enough, it's a build tool that comes with the dmd package.
But to run the program you need to compile SFML and then CSFML via CMake first.

5
SFML projects / Notice : SWIG for SFML
« on: August 08, 2011, 03:07:09 pm »
It's not perfect but it may do the job if there are no (actively maintained) bindings for your language.
And maintaining a binding is anything but fun.

6
Window / getting the GL context
« on: March 12, 2011, 03:37:12 pm »
For interoperation with OpenCL I need the OpenGL context associated with the current window. (and on Windows also the DC, but I think I can get that via GetDC(window.GetSystemHandle())

Could this be made available?

7
D / DSFML2 Problems
« on: February 02, 2011, 09:19:22 pm »
Btw, unless you use some other compiler you need to compile 32-bit dlls.
dmd is only able to produce 32bit code on Windows so far.

8
D / DSFML2 Problems
« on: February 02, 2011, 06:26:33 pm »
Quote from: "Laurent"
And? CSFML and SFML are two separate projects, and since CSFML depends on SFML of course it needs to know where SFML is ;)
Don't be confused by the fact that their sources are both stored in the same repository.

Well, having to specify the paths for all 10 libraries (release+debug) is tedious. Maybe I'm missing something.

9
D / DSFML2 Problems
« on: February 02, 2011, 05:52:06 pm »
If you build SFML as static libs, they will later be inserted into the csfml dlls. Thus you only have 1 dll per module.

The CSFML cmake stuff is somewhat messed up for me too.
I always have to specify the paths to the SFML libs manually.

10
D / DSFML2 Problems
« on: February 02, 2011, 09:04:56 am »
Not the sfml dlls. You may simply rename the csfml dlls as well.

Btw, I compile sfml as static libraries in both Debug and Release mode and after that compile csfml dlls in both modes.

11
D / DSFML2 Problems
« on: February 01, 2011, 10:30:55 pm »
Yes, the debug version searches for a debug version of the csfml dlls.
I'm currently converting everything to static dll loading, then you can use whatever version you want.

12
D / DSFML2 Problems
« on: January 31, 2011, 08:00:44 pm »
Did you run it in a console window to see the output?
Any helpful error message?

13
D / DSFML2 Problems
« on: January 31, 2011, 07:40:15 pm »
Standard naming scheme csfml-*[-d]-2.dll

14
D / How to set font color?
« on: January 30, 2011, 10:34:46 pm »
The D wrapper uses proper D properties style, i.e. text.color = Color(255,.....);

15
D / SVN DSFML2 Net broken?
« on: January 30, 2011, 09:10:20 pm »
I started a thread some time ago where I asked if network should be removed from DSFML.
I think I will do so, it's already quite outdated (thus currently not usable anyways) and phobos already provides network stuff.

Pages: [1] 2 3 ... 7
anything