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

Pages: [1] 2
1
D / DSFML2 (port to SFML v2 and D2) can be found in svn now
« on: January 07, 2010, 01:01:21 am »
The Derelict project now has bindings for SFML 1.5, and should work with D2.0 AFAIK.
But the SFML bindings are only currently in the Derelict2 branch.
http://dsource.org/projects/derelict

2
D / std\thread.d
« on: May 31, 2009, 02:22:04 am »
Okay; try changing that line to core.thread, and anything else that references std.thread.whatever, change std to core.
If you go to the change log for DMD 2.020, you can see that "import std.thread" was changed to "import core.thread".
And, there is a DMD 2.030 out now, so you might want to get that.

3
D / std\thread.d
« on: May 30, 2009, 06:40:38 pm »
Did you check if it exists?
What version of DMD are you using?
What version of SFML are you using?

4
D / 1.3 tutorial source code for D
« on: March 07, 2009, 11:38:48 pm »
For the SFML 1.3 tutorials, I'm gonna convert all of the C++ code files that are posted at the bottom of each tutorial into D code files. Just for a heads up.
I'll try to get as far as I can in converting the code to D.
Hope someone will find it useful when I'm finished.  :)

5
General / SFML is bucking
« on: February 12, 2009, 02:35:19 am »
It runs choppy?

6
D / error building samples in dsfml
« on: February 06, 2009, 10:31:07 pm »
Okay, I updated to the SVN version of DSFML, and now they all build... but they don't run. :|
I have all the DLL's in the folder.

Here are the errors:
Code: [Select]
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-audio.dll, symbol : sfSound_SetPlayingOffset)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-audio.dll, symbol : sfSoundStream_GetPlayingOffset)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-audio.dll, symbol : sfSoundStream_GetLoop)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-audio.dll, symbol : sfSoundStream_SetLoop)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-window.dll, symbol : sfWindow_SetSize)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-window.dll, symbol : sfWindow_SetIcon)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfImage_CopyScreen)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfImage_Copy)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfRenderWindow_Clear)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_GetPointPosition)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_SetPointPosition)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_GetPointColor)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_SetPointColor)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_GetPointOutlineColor)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_SetPointOutlineColor)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_TransformToLocal)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfShape_TransformToGlobal)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfSprite_TransformToLocal)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfSprite_TransformToGlobal)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfString_GetCharacterPos)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfString_TransformToLocal)
Loading error. Reason : Symbol cannot be found in specified library (library : c
sfml-graphics.dll, symbol : sfString_TransformToGlobal)


And here is a screenshot:

7
D / error building samples in dsfml
« on: February 05, 2009, 10:47:16 pm »
Hey, I finally got my mom's old laptop and I can now use DSFML. Woot! :D
I got the D compiler working, DSSS, and DSFML working, except there is one little thing that I have to ask.
When I build the dsss.conf that builds all the samples, I get an error building voip. The error is in util.d:

Code: [Select]
C:\D\DSFML\samples\dsfml>dsss build
pong\pong.d => bin/pong

postFX\postFX.d => bin/postFX

socket\socketclient.d => bin/client

socket\socketserver.d => bin/server

sound3d\sound3d.d => bin/sound3d

soundstream\soundstream.d => bin/soundstream

voip\entry.d => bin/voip
voip\util.d(23): Error: non-constant expression new Cout
Command C:\D\dmd\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

C:\D\DSFML\samples\dsfml>


I'm using DMD 1.039, DSFML 1.3, downloaded the package, and DSSS 0.78.
Thanks in advance,
-michaelp :D  :D

8
D / DSFML 1.4
« on: January 23, 2009, 08:08:00 pm »
I'm not the maintainer, but have you tried the SVN version? It's probably close to being update with 1.4.

9
D / getting started DSFML?
« on: August 23, 2008, 11:46:13 pm »
Yeah, it works.  :o

10
D / getting started DSFML?
« on: August 23, 2008, 06:53:30 pm »
I'll see if I can get an SFML sample working from the C++, and see if it works.
Thanks.

edit: I downloaded the SFML 1.3 SDK and tried running some of the sample executables, and I just got an error saying that "blah.exe" has encountered an error and has to close. We are sorry for your inconvience.



Pretty much that's what happened when I tried to run it.  :roll:

11
D / getting started DSFML?
« on: August 23, 2008, 03:26:26 am »
Sorry for double post, but I just tried it on one of the other computers in our house, and it didn't work there either. :|
Could it be hardware related since the computers it doesn't work on are quite a bit older?
And I am gonna try it on the last computer in our house, and see if it works. That computer is the newest one in our house.

12
D / getting started DSFML?
« on: August 22, 2008, 06:42:27 pm »
Well, I've got this problem posted on the D newsgroups, so I hope that they will be able to help me.
The only thing that doesn't work is the windows, some of the things that ran from the console worked okay, but the when it came to windows, nope.
Anyways, thanks for all the help. At least I've got a debugger and DSSS set up now. :D

13
D / getting started DSFML?
« on: August 22, 2008, 12:50:25 am »
How would I repair my system files? Any easy thing to do? Or should I just install SP3?
And when I searched for the msvcr71.dll file, it was in the WINDOWS\system32 folder, so it's there. :|

Also, just tried activating a lot of services, then playing pong, but no luck.  :?

edit: I'm installing SP3 right now. :P
And it didn't work.  :(
So, this repairing system files thing, good idea?  :wink:

14
D / getting started DSFML?
« on: August 22, 2008, 12:25:12 am »
Okay, I just tested it on the computer I am currently on(the other one does not have internet, and is quite old, but it has worked for me up till now), and the pong sample worked fine.
I can test it on 2 other computers too.
And I did not make any modifications to the release logs.
I have disabled lots of services on the computer, could that be a possible reason why that dll isn't being loaded?
Should I go up to SP3? ( :P )

edit: Right now, I'm scanning\searching the computer that the pong works on for msvcr71.dll. I'll also scan for that on the other one, and see if it is the C:\WINDOWS\system32 path, cuz it's in lots of places on this computer. :P

15
D / getting started DSFML?
« on: August 21, 2008, 08:38:03 pm »
-L/EXETYPE:NT -L/SUBSYSTEM:WINDOWS
First thing that I tried was making my own dsss.conf file in the pong/test folders, then I added that cuz I saw it in the .conf file that compiles all of the test examples, outside of the samples folder.

DSFML\SFML-1.3\DSFML\samples\dsfml

There is .conf file in there, which is what I am referring to.
Will install the debugger.

Also, just saw your edit as making the reply. There is no console output when I launch it from the console, will get some screens ASAP.

edit: Here comes the debug stuff...
This is what happened when I got the debug stuff for the test file: (BTW, this is the code that is in the release notes, it is under quick start.)

Code: [Select]
C:\D\DSFML\samples\dsfml\test>ddbg test
Ddbg 0.11.3 beta - D Debugger
Copyright (c) 2007 Jascha Wetzel
see http://ddbg.mainia.de/doc.html for documentation

Loading symbols from test.exe
->r
No symbols available from ntdll.dll
ntdll.dll loaded at 0x7c900000
No symbols available from KERNEL32.dll
KERNEL32.dll loaded at 0x7c800000
No symbols available from csfml-graphics.dll
csfml-graphics.dll loaded at 0x10000000
No symbols available from WINMM.dll
WINMM.dll loaded at 0x76b40000
No symbols available from USER32.dll
USER32.dll loaded at 0x77d40000
No symbols available from GDI32.dll
GDI32.dll loaded at 0x77f10000
No symbols available from ADVAPI32.dll
ADVAPI32.dll loaded at 0x77dd0000
No symbols available from RPCRT4.dll
RPCRT4.dll loaded at 0x77e70000
No symbols available from OPENGL32.dll
OPENGL32.dll loaded at 0x5ed00000
No symbols available from msvcrt.dll
msvcrt.dll loaded at 0x77c10000
No symbols available from GLU32.dll
GLU32.dll loaded at 0x68b20000
No symbols available from DDRAW.dll
DDRAW.dll loaded at 0x73760000
No symbols available from DCIMAN32.dll
DCIMAN32.dll loaded at 0x73bc0000
No symbols available from csfml-window.dll
csfml-window.dll loaded at 0x00330000
No symbols available from csfml-system.dll
csfml-system.dll loaded at 0x00390000
Unknown breakpoint hit at ntdll.dll (0x7c901230) thread(548)
No symbols available from DINPUT.dll
DINPUT.dll loaded at 0x72280000
No symbols available from HID.DLL
HID.DLL loaded at 0x688f0000
No symbols available from SETUPAPI.dll
SETUPAPI.dll loaded at 0x77920000
No symbols available from WINTRUST.dll
WINTRUST.dll loaded at 0x76c30000
No symbols available from CRYPT32.dll
CRYPT32.dll loaded at 0x77a80000
No symbols available from MSASN1.dll
MSASN1.dll loaded at 0x77b20000
No symbols available from IMAGEHLP.dll
IMAGEHLP.dll loaded at 0x76c90000
No symbols available from MCD32.dll
MCD32.dll loaded at 0x61dd0000
No symbols available from nncore.dll
nncore.dll loaded at 0x02170000
No symbols available from WININET.dll
WININET.dll loaded at 0x771b0000
No symbols available from SHLWAPI.dll
SHLWAPI.dll loaded at 0x77f60000
No symbols available from OLEAUT32.dll
OLEAUT32.dll loaded at 0x77120000
No symbols available from ole32.dll
ole32.dll loaded at 0x774e0000
No symbols available from WS2_32.dll
WS2_32.dll loaded at 0x71ab0000
No symbols available from WS2HELP.dll
WS2HELP.dll loaded at 0x71aa0000
No symbols available from MPR.dll
MPR.dll loaded at 0x71b20000
No symbols available from SHELL32.dll
SHELL32.dll loaded at 0x7c9c0000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x773d0000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x5d090000
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at (0x00000000) thre
ad(548)
->us
#0 ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68
#1 0x100ac80c in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#2 0x100a8dc6 in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#3 0x100a4c57 in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#4 0x10003ce1 in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#5 0x00405a46 in  dsfml.graphics.renderwindow.RenderWindow dsfml.graphics.render
window.RenderWindow._ctor () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:
68
#6 0x0040307a in _Dmain () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:66

#7 0x0040956c in _main () from dmain2
#8 0x00422d1d in _mainCRTStartup () from constart
#9 0x7c816d4f in ?? () from KERNEL32.dll
->


Image:



Next is the pong information:
Code: [Select]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Default>cd c:\d\dsfml\samples\dsfml\pong

C:\D\DSFML\samples\dsfml\pong>ddbg pong
Ddbg 0.11.3 beta - D Debugger
Copyright (c) 2007 Jascha Wetzel
see http://ddbg.mainia.de/doc.html for documentation

Loading symbols from pong.exe
->r
No symbols available from ntdll.dll
ntdll.dll loaded at 0x7c900000
No symbols available from KERNEL32.dll
KERNEL32.dll loaded at 0x7c800000
No symbols available from csfml-window.dll
csfml-window.dll loaded at 0x10000000
No symbols available from WINMM.dll
WINMM.dll loaded at 0x76b40000
No symbols available from USER32.dll
USER32.dll loaded at 0x77d40000
No symbols available from GDI32.dll
GDI32.dll loaded at 0x77f10000
No symbols available from ADVAPI32.dll
ADVAPI32.dll loaded at 0x77dd0000
No symbols available from RPCRT4.dll
RPCRT4.dll loaded at 0x77e70000
No symbols available from OPENGL32.dll
OPENGL32.dll loaded at 0x5ed00000
No symbols available from msvcrt.dll
msvcrt.dll loaded at 0x77c10000
No symbols available from GLU32.dll
GLU32.dll loaded at 0x68b20000
No symbols available from DDRAW.dll
DDRAW.dll loaded at 0x73760000
No symbols available from DCIMAN32.dll
DCIMAN32.dll loaded at 0x73bc0000
No symbols available from csfml-system.dll
csfml-system.dll loaded at 0x00330000
No symbols available from csfml-graphics.dll
csfml-graphics.dll loaded at 0x004b0000
No symbols available from csfml-audio.dll
csfml-audio.dll loaded at 0x00380000
No symbols available from libsndfile-1.dll
libsndfile-1.dll loaded at 0x6f140000
No symbols available from openal32.dll
openal32.dll loaded at 0x00660000
No symbols available from DSOUND.dll
DSOUND.dll loaded at 0x73f10000
No symbols available from ole32.dll
ole32.dll loaded at 0x774e0000
No symbols available from VERSION.dll
VERSION.dll loaded at 0x77c00000
No symbols available from MSVCR80.dll
MSVCR80.dll loaded at 0x78130000
Unknown breakpoint hit at ntdll.dll (0x7c901230) thread(880)
No symbols available from DINPUT.dll
DINPUT.dll loaded at 0x72280000
No symbols available from HID.DLL
HID.DLL loaded at 0x688f0000
No symbols available from SETUPAPI.dll
SETUPAPI.dll loaded at 0x77920000
No symbols available from WINTRUST.dll
WINTRUST.dll loaded at 0x76c30000
No symbols available from CRYPT32.dll
CRYPT32.dll loaded at 0x77a80000
No symbols available from MSASN1.dll
MSASN1.dll loaded at 0x77b20000
No symbols available from IMAGEHLP.dll
IMAGEHLP.dll loaded at 0x76c90000
No symbols available from MCD32.dll
MCD32.dll loaded at 0x61dd0000
No symbols available from nncore.dll
nncore.dll loaded at 0x026d0000
No symbols available from WININET.dll
WININET.dll loaded at 0x771b0000
No symbols available from SHLWAPI.dll
SHLWAPI.dll loaded at 0x77f60000
No symbols available from OLEAUT32.dll
OLEAUT32.dll loaded at 0x77120000
No symbols available from WS2_32.dll
WS2_32.dll loaded at 0x71ab0000
No symbols available from WS2HELP.dll
WS2HELP.dll loaded at 0x71aa0000
No symbols available from MPR.dll
MPR.dll loaded at 0x71b20000
No symbols available from SHELL32.dll
SHELL32.dll loaded at 0x7c9c0000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x773d0000
No symbols available from COMCTL32.dll
COMCTL32.dll loaded at 0x5d090000
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION(0xc0000005) at (0x00000000) thre
ad(880)
->us
#0 ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68
#1 0x0055c80c in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#2 0x00558dc6 in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#3 0x00554c57 in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#4 0x004b3ce1 in ?? () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:68 fro
m csfml-graphics.dll
#5 0x00409bf6 in  dsfml.graphics.renderwindow.RenderWindow dsfml.graphics.render
window.RenderWindow._ctor () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:
68
#6 0x0040408e in _Dmain () at C:\D\DSFML\import\dsfml\graphics\renderwindow.d:66

#7 0x0040def8 in _main () from dmain2
#8 0x004300ad in _mainCRTStartup () from constart
#9 0x7c816d4f in ?? () from KERNEL32.dll
->


And images:


This shows that no messages popped up when I ran the program from the command prompt.



Next:


This is what happened when I first typed 'r' for the pong debugging. As you can see, there is an error there.


And finally:


When I typed 'us', what came up afterwards.


As you can see in some of the images, there is something on the Windows bar, but there is no actual window that shows up.
Hope this helps,
-michaelp

Pages: [1] 2
anything