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

Pages: 1 [2] 3
16
D / DSFML improperly named in dsss records.
« on: December 09, 2008, 05:11:05 am »
Hey, I've found another little issue. I noticed that when you run "dsss installed" to see what libraries you've installed, DSFML is named "import". This is demonstrated below:

Code: [Select]
dorkfish@wolverine ~/P/s/D/s/d/pong> sudo dsss installed
dsss                                                    
import                                                  
tango                                                  
dorkfish@wolverine ~/P/s/D/s/d/pong> sudo dsss uninstall import
Uninstalling import                                            
Removing /usr/share/dsss/manifest/import.manifest              
Removing /usr/lib/libdsfml-audio.a                            
Removing /usr/include/d/dsfml/audio/all.di                    
Removing /usr/include/d/dsfml/audio/soundbufferrecorder.di    
Removing /usr/include/d/dsfml/audio/soundbuffer.di            
Removing /usr/include/d/dsfml/audio/soundstatus.di            
Removing /usr/include/d/dsfml/audio/listener.di                
Removing /usr/include/d/dsfml/audio/sound.di                  
Removing /usr/include/d/dsfml/audio/music.di                  
Removing /usr/include/d/dsfml/audio/soundstream.di            
Removing /usr/include/d/dsfml/audio/soundrecorder.di          
Removing /usr/lib/libdsfml-network.a                          
Removing /usr/include/d/dsfml/network/http.di                  
Removing /usr/include/d/dsfml/network/all.di                  
Removing /usr/include/d/dsfml/network/sockettcp.di            
Removing /usr/include/d/dsfml/network/packet.di                
Removing /usr/include/d/dsfml/network/socketstatus.di          
Removing /usr/include/d/dsfml/network/ftp.di                  
Removing /usr/include/d/dsfml/network/ipaddress.di            
Removing /usr/include/d/dsfml/network/socketudp.di            
Removing /usr/include/d/dsfml/network/selector.di              
Removing /usr/lib/libdsfml-graphics.a                          
Removing /usr/include/d/dsfml/graphics/blendmode.di            
Removing /usr/include/d/dsfml/graphics/image.di                
Removing /usr/include/d/dsfml/graphics/drawableimpl.di        
Removing /usr/include/d/dsfml/graphics/all.di                  
Removing /usr/include/d/dsfml/graphics/shape.di                
Removing /usr/include/d/dsfml/graphics/postfx.di              
Removing /usr/include/d/dsfml/graphics/sprite.di              
Removing /usr/include/d/dsfml/graphics/idrawable.di            
Removing /usr/include/d/dsfml/graphics/textstyle.di            
Removing /usr/include/d/dsfml/graphics/string.di              
Removing /usr/include/d/dsfml/graphics/color.di                
Removing /usr/include/d/dsfml/graphics/view.di                
Removing /usr/include/d/dsfml/graphics/rect.di                
Removing /usr/include/d/dsfml/graphics/font.di                
Removing /usr/include/d/dsfml/graphics/renderwindow.di        
Removing /usr/lib/libdsfml-system.a                            
Removing /usr/include/d/dsfml/system/thread.di                
Removing /usr/include/d/dsfml/system/randomizer.di            
Removing /usr/include/d/dsfml/system/all.di                    
Removing /usr/include/d/dsfml/system/lock.di                  
Removing /usr/include/d/dsfml/system/exception.di              
Removing /usr/include/d/dsfml/system/vector2.di                
Removing /usr/include/d/dsfml/system/clock.di                  
Removing /usr/include/d/dsfml/system/mutex.di                  
Removing /usr/include/d/dsfml/system/stringutil.di            
Removing /usr/include/d/dsfml/system/sleep.di                  
Removing /usr/include/d/dsfml/system/dllloader.di              
Removing /usr/include/d/dsfml/system/common.di                
Removing /usr/include/d/dsfml/system/alloc.di                  
Removing /usr/include/d/dsfml/system/vector3.di                
Removing /usr/include/d/dsfml/system/linkedlist.di            
Removing /usr/include/d/dsfml/system/pointerchecker.di        
Removing /usr/lib/libdsfml-window.a                            
Removing /usr/include/d/dsfml/window/windowsettings.di        
Removing /usr/include/d/dsfml/window/window.di                
Removing /usr/include/d/dsfml/window/all.di                    
Removing /usr/include/d/dsfml/window/input.di                  
Removing /usr/include/d/dsfml/window/videomode.di              
Removing /usr/include/d/dsfml/window/windowstyle.di            
Removing /usr/include/d/dsfml/window/event.di                  
Removing /usr/include/d/dsfml/window/windowhandle.di


As you can see, uninstalling the library named "import" uninstalls dsfml. I've looked through the dsss.conf's in the DSFML (sub)directories, but haven't seen what might be the problem. It doesn't impact any functionality as far as I can see, I just thought I'd point it out.

17
D / pong sample cannot open libcsfml-audio.so
« on: December 09, 2008, 04:29:36 am »
Alright, I just had a chance to test the fixes, and they work perfectly now. I forgot to mention the CSFML makefile bug, but thanks for fixing that too. :) I had temporarily fixed it myself by manually creating the symlinks and forgot to mention it. :p

18
D / pong sample cannot open libcsfml-audio.so
« on: December 08, 2008, 09:13:27 am »
Yeah, the sound3d demo works perfectly fine, as do the rest of the demos that use the sound library. I built SFML from the latest svn source (as of sometime yesterday) and had to install openal and libsndfile before I could finish compiling the main libs. I've got a couple papers I have to scramble and finish before my class tonight, but once those are finished I'll test out the libraries more.

Edit: I have gdb built with d support from the patches offered here: http://dsource.org/projects/gdb-patches, so I can try to debug stuff further if you need me to.

19
D / pong sample cannot open libcsfml-audio.so
« on: December 07, 2008, 07:43:48 pm »
I'm having trouble running the pong sample. Here's the error I'm getting:
Code: [Select]
Loading error. Reason : Cannot open library (library : libcsfml-audio.so, symbol : )
Segmentation Fault

And here's the backtrace:
Code: [Select]
#0  0x0000000000463d2d in dsfml.system.dllloader.DllLoader.getSymbol() ()
#1  0x000000000047082a in dsfml.audio.listener.Listener._staticCtor1() ()
#2  0x000000000047a3a3 in object._moduleCtor2(ModuleInfo[], int) (mi={length = 7, ptr = 0x6b4790}, skip=1)
    at genobj.d:1126
#3  0x000000000047a3ff in object._moduleCtor2(ModuleInfo[], int) (mi={length = 6, ptr = 0x6ab110}, skip=0)
    at genobj.d:1138
#4  0x000000000047a398 in object._moduleCtor2(ModuleInfo[], int) (mi={length = 45, ptr = 0x7f2c86511e00}, skip=0)
    at genobj.d:1124
#5  0x0000000000477bf2 in runAll () at dgccmain2.d:293
#6  0x00000000004776ae in tryExec (dg={object = 0x7fff8e6337a0, func = 0x477be0 <runAll>}) at dgccmain2.d:235
#7  0x0000000000477b2a in _d_run_main (argc=2, argv=0x7fff8e6338d8, main_func=<value optimized out>)
    at dgccmain2.d:302
#8  0x00007f2c85a423f6 in __libc_start_main () from /lib/libc.so.6
#9  0x000000000044e9d9 in _start ()


What's weird is that all of the other samples, even the ones using audio, run perfectly fine. Any ideas about what might be wrong?

20
D / DSFML status?
« on: December 05, 2008, 07:02:52 am »
Awesome, that's exactly what I wanted to hear. Thanks. :)

21
D / DSFML status?
« on: December 04, 2008, 09:20:30 am »
Hi there, I was wondering what the status of DSFML is? Is it reasonably up-to-date with the main library?

22
General discussions / Wikibook about SFML in German
« on: December 02, 2008, 05:32:46 am »
It would probably be better to create a German section on the wiki and put everything there.

23
General discussions / SFML 1.4
« on: November 26, 2008, 12:00:05 am »
The only thing I would be worried about is having the Mac OS X port in sync with the Windows and Linux ports. Other than that, everything seems golden.

24
SFML wiki / Translate French pages into English.
« on: November 24, 2008, 07:11:39 pm »
I'd say go ahead and translate them, then we English speakers can also have a chance to nitpick the articles and see what improvements we can come up with. :)

Edit: I should note that I've only really read the article about animation, so I don't know what state the other two are in.

25
SFML wiki / Translate French pages into English.
« on: November 23, 2008, 06:13:07 pm »
These would be great to start with:

http://www.sfml-dev.org/wiki/fr/sources/frame_anim_animated
http://www.sfml-dev.org/wiki/fr/sources/tileset
http://www.sfml-dev.org/wiki/fr/sources/layer

Eventually the entire french wiki should be translated to english, so the same information is available to everybody.

zarka:
Google Translate might provide a passable translation, but translation software just doesn't do nearly as good a job as a human translator.

26
SFML wiki / Translate French pages into English.
« on: November 22, 2008, 10:31:28 pm »
Would it be possible for one of you French speakers to translate the French wiki articles into English? I was able to struggle through reading the sprite animation article, but I (and probably many others) would appreciate having the articles in English. :)

27
Graphics / FlipX and FlipY for sfml strings
« on: November 15, 2008, 12:45:13 pm »
Quote from: "Laurent"
In what situation would you need to display flipped text ? :D


Well, you could use it for mirrored text effects, and shadows. Actually, I'm not sure if classes support them, but FlipX and FlipY would probably be useful for all drawable objects. Skewing would also be pretty neat. I'd find a lot of use in both sets of methods when I get around to writing a sprite and tile editor for my game, and also some in-game effects.  :)

28
General discussions / SFML 1.3 and OS X
« on: September 30, 2008, 07:50:43 pm »
Okay, I think I might have found the solution for Cocoa key event handling: Cocoa Event Handling Guide. You might have seen this already, Ceylo, but it's new to me so I thought I'd share it here. I've only given it a cursory glance so far, so I'll comment on it when I have a chance to read it more closely.

29
General discussions / SFML 1.3 and OS X
« on: September 27, 2008, 01:12:38 am »
Quote
As far as the missing keys are concerned, the point is the 'Key::Code's are based on a PC keyboard. This means that if I add the Mac keys, these will (mostly) never be used on a PC keyboard. Same with PC keys on a Mac keyboard. So I have to talk about this to Laurent, but for now there is no way.


I haven't looked at the SFML source in a while, so my memory of it is a little fuzzy, but maybe what could be done is to create a KeyboardLayout abstract base class, and then create PCKeyboardLayout and MacKeyboardLayout subclasses, and a final KeyboardManager class for instantiating the proper KeyboardLayout subclass for a given system, allowing us to implement keyboard handling in the optimal manner for each OS. This would give us the advantage that creating new keyboard layouts for other operating systems/devices, like the Pandora (or the GP2X, with USB keyboard), should be easier later on. ;)

Quote
Now about the '^' key and such... I didn't find any way till now. I saw the Camino browser did it, but I can't find out how they did (the source code is available). The thing is I get the virtual code but not the characters, and as the virtual code is not independant from the keyboard layout, I can't use it.


If I'm understanding this blog entry correctly, what we should be using is UCKeyTranslate() (if you're not adverse to using Carbon, that is). It seems like the easiest way to get a character from a keycode, to me.

30
General discussions / SFML 1.3 and OS X
« on: September 26, 2008, 05:09:09 am »
Ceylo, you are doing amazing work on the Mac port, and I'm extremely grateful for it. :) I had been considering using Clanlib for a while, due to its maturity, but I think I'm going to stick with SFML since the Mac port is so far along.

What do you have left to do on your to-do list? I should be able to help with some small stuff, like implementing missing keys.

Pages: 1 [2] 3
anything