Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Compilation of DSML  (Read 6558 times)

0 Members and 1 Guest are viewing this topic.

chipsman

  • Newbie
  • *
  • Posts: 23
    • View Profile
Compilation of DSML
« on: August 31, 2010, 11:23:04 pm »
Hi,

Here is my problem. All is in the title. I found a tutorial on the french page of SFML which show how to compile DSFML and I did all wriiten in it.

So, here are the different steps:
1) I created the static libraries of SFML
2) I built the dynamic ones of CSFML
3) And finally, I convert the .lib to a format known by D linker with coffimplib.

My problem is in DSFML construction. Indeed, the call of the following command :

Code: [Select]
dsss build -O -release

give the following output

Code: [Select]
Creating imports for dsfml-audio

Creating imports for dsfml-network

Creating imports for dsfml-graphics

Creating imports for dsfml-system

Creating imports for dsfml-window

dsfml\audio => dsfml-audio
+ d:\programmation\D\Compilateur\dsss-0.75-dmd-win\bin\rebuild.exe -Idsss_import
s\ -I. -S.\ -Id:\programmation\D\Compilateur\dsss-0.75-dmd-win\include\d -Sd:\pr
ogrammation\D\Compilateur\dsss-0.75-dmd-win\lib\ -O -release  -Id:\programmation
\D\Compilateur\dsss-0.75-dmd-win\include\d -Sd:\programmation\D\Compilateur\dsss
-0.75-dmd-win\lib  -oqdsss_objs\D  -explicit -lib dsfml\audio\all.d dsfml\audio\
listener.d dsfml\audio\music.d dsfml\audio\sound.d dsfml\audio\soundbuffer.d dsf
ml\audio\soundbufferrecorder.d dsfml\audio\soundrecorder.d dsfml\audio\soundstat
us.d dsfml\audio\soundstream.d -ofdsfml-audio.lib
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(88)
: enum declaration is invalid
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(200
): unrecognized declaration
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): found 'INVALID_HANDLE_VALUE' when expecting ','
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): found ')' when expecting ','
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(284): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): found 'INVALID_SET_FILE_POINTER' when expecting ','
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): found ')' when expecting ','
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(285): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(286): found 'INVALID_FILE_SIZE' when expecting ','
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(286): enum member expected
d:\programmation\D\Compilateur\dmd2\windows\bin\..\..\src\druntime\import\core\s
ys\windows\windows.di(286): enum member expected
Command d:\programmation\D\Compilateur\dsss-0.75-dmd-win\bin\rebuild.exe returne
d with code 1, aborting.
Error: Command failed, aborting.


And now, I don't know what to do :(

For information, I use dmd2 and in an other thread, i saw that dsss isn't supported any more and doesn't work very well with dmd2. It is advised to use xfbuild, which alse give me some errors.

However, one problem at the time and, if needed, i will come back on these.

Thanks for your help

 

anything