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

Pages: [1] 2 3 ... 5
1
D / RenderWindow is missing a constructor
« on: January 03, 2009, 07:57:04 am »
Yeah, me too. But we don't talk of a rich app framework here, windowing capabability are minimal, when you create a window, you don't want some dummy callback window or other non visible things. That's why at first sight, I didn't see the point of empty ctor (and for the previous reason too).

But i'm agree with you, if I drop invariants stuffs, there is no reason to not provide an empty ctor. =)

2
D / Conflicts with tango/phobos and other stuff
« on: January 02, 2009, 10:53:47 pm »
That was the first question I asked to myself, when I started the maintenance of the binding. =)

System and network provide lots of duplicate with existing function|classes already present in phobos or tango.

I can only keep audio graphics and window, and drop system and network (like the .Net binding). I'll think about it after the upcoming release, but yeah that would be easier to only maintain three module instead of five.

3
D / RenderWindow is missing a constructor
« on: January 02, 2009, 10:40:30 pm »
Hum, i see your point.

In fact, there is an other reason for this. All class have an invariant control and null pointers cannot even exists with this contract (for the same reason, SoundStream doesn't have an initialize method, but sample rate and channels count are passed from the protected ctor).

But I think, i'm gonna drop all the invariants contracts which, imo aren't that useful. =)

4
D / Small note about the dsss build script
« on: January 02, 2009, 09:10:21 pm »
Hi,

ok, I'll make the change (Actually, I don't use dsss install feature). =)

5
D / RenderWindow is missing a constructor
« on: January 02, 2009, 09:06:23 pm »
Hi,

I know, but IMO, it doesn't make sense to create an empty window. Moreover, i don't have any empty constructor through the C api.

I'll add that to the differences, but i don't see any reason (in the D context) to provide a default ctor for a window.

Thanks for your report. =)

6
D / DSFML improperly named in dsss records.
« on: December 09, 2008, 07:43:17 am »
After some DSSS doc reading, i've found the problem. I just forgot to name DSFML in the dsss.conf, you can add :

Quote
name=DSFML


in the header of the dsss.conf. I'll commit the change for the next update. thanks for your report.

7
General discussions / SFML 1.4
« on: December 08, 2008, 10:24:34 pm »
Quote from: "christoph"
Hm what I want is the behaviour introduced by http://paste.debian.net/22798/ -- when you use destdir now, the symlink contains the absolute path. I do really prefer having an relative path in the symlinks (symlink: libsfml-system.so -> libsfml-system.so.1.4)

Rationale: If you do an 2 Step install, first building the lib, installing to an temporary directory moving the libs somewhere else and placing them there in /usr/lib -- the thing all distributions do -- you will get /usr/lib/libsfml-system.so linking to /home/user/build/sfml/lib/libsfml-syste.so.1.4 or something like that which is not what one would want.

I guess this should not break anything, libsfml*.so is pointing now to the corresponding *.so.1.4 in the same dir.


Oups, i hadn't seen this post, and i already made some changes in CSFML makefiles. Could you tell me if I made the right changes ?

edit : rev 953.

8
D / pong sample cannot open libcsfml-audio.so
« on: December 08, 2008, 08:21:06 pm »
Ok, i've found the problem. SFML on linux doesn't explicitely link between module, if a module is loaded and his dependency dlopen returns null (and give you the error).

The problem with pong sample is the order of import statements :

Code: [Select]
import dsfml.audio.all;
import dsfml.graphics.all;
import dsfml.system.all;
import dsfml.window.all;


must be :

Code: [Select]
import dsfml.system.all;
import dsfml.window.all;
import dsfml.graphics.all;
import dsfml.audio.all;


I make a commit on the svn in few minutes, tell if everything is ok. =)

Update :

Commit is done, i have also fixed an issue with CSFML symbolic link creation (a slash in a path). Maybe you need a full "clean [..] make [..] install".

9
D / pong sample cannot open libcsfml-audio.so
« on: December 08, 2008, 06:32:35 am »
Hum, you're right, that's definitively weird.

You can run the Sound3D sample without any troubles ? Maybe a dependency problem on your side (libsnfile ? openAL ?) ?

I haven't tested dsfml with linux for a long time, maybe that's the problem =p (but i can't remember changing anything that would cause that).

I'll take a look at this. Let me know if you have any other issues (it's release debugging time !). =)

10
D / DSFML status?
« on: December 05, 2008, 01:33:44 am »
Hi,

DSFML first release was for SFML 1.3 (you can found both on the download page of the site) which is the last release of SFML.

For svn, DSFML are up-to-date and DSFML for 1.4 will be released with SFML 1.4 (some weeks according to Laurent). =)

11
Feature requests / DLL convenience wrapper
« on: October 14, 2008, 09:00:26 am »
Quote from: "Wizzard"
You will find oftentimes that using a scripting language is better than creating a plug-in system via DLLs.


I agree.

If you can design a dll-like plugin system, you can write your own multi-platform loader (the 3 fonctions that Laurent gave above (AFAIK Mac and linux use the same)).

A scripting module would be a very interresting thing, but i don't even know how this can be done (genericity, portability, integration with current modules ....). This is indeed a huge work, but scripting languages (python, lua, or others) are easy to use, it would be a nice feat for SFML. =)

12
General / .NET
« on: October 11, 2008, 11:07:17 am »
Yeah sure.

SFML bindings depend on a SFML release, so SFML.Net will be available with SFML 1.4. =)

13
General / 2 Problems
« on: October 10, 2008, 12:56:00 am »
Wow ! Thanks for all your investigations.

I thinks that we have a similar issue here (crash only in release, on RenderWindow instanciation).

I see if i can find something with all your infos (but RenderWindow never crashed on my computer =( ).

14
General discussions / DotNet
« on: October 08, 2008, 08:54:09 pm »
Because you don't generate but start the project (I guess you pressed F5, no ? =p).

Right click your solution in the solution explorer and "Regenerate all" (i'm not sure for the name, i use a french version =) )

15
General discussions / DotNet
« on: October 08, 2008, 08:11:54 pm »
Yes, you need to download Tao framework (google ) for opengl binding to build the sample. but even if samples doesn't compile, you have your sfml-net library compiled.

For configuration in C# express (if you don't have the combobox), see that.

Pages: [1] 2 3 ... 5