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.


Topics - dorkfish

Pages: [1]
1
D / DSFML 1.4
« on: January 11, 2009, 08:59:21 pm »
When is the DSFML 1.4 package going to be released?

2
C / IPAddress, SocketTCP, and SocketUDP not including cstring
« on: December 29, 2008, 02:37:14 pm »
I don't know if anybody's noticed this, but  IPAddress.cpp, SocketTCP.cpp, and SocketUDP aren't including the cstring header, which all three require due to the string functions they use. I've included patches below in order to remedy this. (It's a simple edit, of course, but I've never made patches before and needed to learn how. :p) I would have included cstring in CSFML/src/SFML/Network/Internal.h, but saw that IPAddress.cpp doesn't include that, so I included cstring in each aforementioned files. I hope this was the right thing to do.

Patch: IPAddress.patch
Code: [Select]
--- src/sfml/CSFML/src/SFML/Network/IPAddress.cpp       2008-12-29 07:25:23.000000000 -0500
+++ ../sfml/CSFML/src/SFML/Network/IPAddress.cpp        2008-12-29 08:20:12.000000000 -0500
@@ -27,7 +27,7 @@
 ////////////////////////////////////////////////////////////
 #include <SFML/Network/IPAddress.h>
 #include <SFML/Network/IPAddress.hpp>
-
+#include <cstring>

 namespace
 {


Patch: SocketTCP.patch
Code: [Select]

--- src/sfml/CSFML/src/SFML/Network/SocketTCP.cpp       2008-12-29 07:25:23.000000000 -0500
+++ ../sfml/CSFML/src/SFML/Network/SocketTCP.cpp        2008-12-29 08:20:25.000000000 -0500
@@ -30,7 +30,7 @@
 #include <SFML/Network/IPAddress.hpp>
 #include <SFML/Network/Packet.hpp>
 #include <SFML/Internal.h>
-
+#include <cstring>

 // WARNING : this structure must always be the SAME as in Network/Packet.h
 struct sfPacket


Patch: SocketUDP.patch
Code: [Select]

--- src/sfml/CSFML/src/SFML/Network/SocketUDP.cpp       2008-12-29 08:25:35.000000000 -0500
+++ ../sfml/CSFML/src/SFML/Network/SocketUDP.cpp        2008-12-29 08:28:51.000000000 -0500
@@ -30,7 +30,7 @@
 #include <SFML/Network/IPAddress.hpp>
 #include <SFML/Network/Packet.hpp>
 #include <SFML/Internal.h>
-
+#include <cstring>

 // WARNING : this structure must always be the SAME as in Network/Packet.h
 struct sfPacket

3
General discussions / Arch Linux PKGBUILDs
« on: December 29, 2008, 01:20:05 pm »
For anybody who's interested, I've just made a PKGBUILD to build SFML from the latest svn revision. It's available in the AUR here: http://aur.archlinux.org/packages.php?ID=22731.

I will also be making PKGBUILDs for csfml and dsfml, they should be ready in a couple hours; and when SFML 1.4 is officially released, I'll also make PKGBUILDs for that.

Edit: The CSFML PKGBUILD is now available here: http://aur.archlinux.org/packages.php?ID=22733. I can't figure out how to upload the three patches I made for it, but those bugs should be fixed relatively quickly and when they are, I'll update the pkgbuild. If anybody is interested, I can tar up the patches and put them on sendfile or megaupload or something.

Edit 2: The CSFML PKGBUILD has been changed so that it doesn't require the patches anymore.

4
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.

5
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?

6
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?

7
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. :)

Pages: [1]
anything