On Sunday, 14 December 2014 at 00:30:22 UTC, Joel wrote:
I'm using Windows. I get this error trying to compile the demo on DGame.

C:\jpro\dpro2\OtherPeoples\Dgame-0.3.2\build>dmd build.d
Using the Digital Mars DMD compiler.

C:\jpro\dpro2\OtherPeoples\Dgame-0.3.2\build>build.exe
Assume 'C:\jpro\dpro2\OtherPeoples\derelict' as derelict path.
Verify...

Building all packages.

Building Dgame/Audio

..\Audio\all.d
..\Audio\Internal\core.d
..\Audio\Listener.d
..\Audio\Sound.d
..\Audio\SoundFile.d
..\Audio\VorbisFile.d
..\Audio\WaveFile.d

dmd -lib -O -release -inline -wi -of..\lib\Release/DgameAudio.lib
 ..\Audio\all.
d ..\Audio\Internal\core.d ..\Audio\Listener.d ..\Audio\Sound.d ..\Audio\SoundFi le.d ..\Audio\VorbisFile.d ..\Audio\WaveFile.d -IC:\jpro\dpro2\OtherPeoples -I..
/../
..\Audio\Internal\core.d(32): Error: module Log is in file 'Dgame\Internal\Log.d
' which cannot be read
import path[0] = C:\jpro\dpro2\OtherPeoples
import path[1] = ../../
import path[2] = C:\jpro\dmd2\windows\bin\..\..\src\phobos
import path[3] = C:\jpro\dmd2\windows\bin\..\..\src\druntime\import
import path[4] = C:\jpro\dmd2\windows\bin\..\import
import path[5] = C:\jpro\dmd2\windows\bin\..\..\windows\import\gtkd\src

Build Failed!

It seems, Dgame is searching for a path which does not exists
('Dgame/Internal/Log.d'). You should set the path where Dgame
lies to the global PATH (assuming you're using Windows), (e.g. if
it is C:/Foo/Bar/Dgame set 'C:/Foo/Bar/' into PATH). Then Dgame
should be able to find 'Dgame/Internal/Log.d'.
I havent maintained Dgame a long time (since I left D), maybe I
will find some time in the next year. ;)
Sorry for your trouble.

Reply via email to