FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't build Derelict2 (DMD v2.053, Windows 7 x64)

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
RobotGymnast



Joined: 06 Jan 2011
Posts: 23

PostPosted: Mon May 30, 2011 5:07 am    Post subject: Can't build Derelict2 (DMD v2.053, Windows 7 x64) Reply with quote

I'm trying to get Derelict working, so I checked out the SVN branch and went into the main directory, then tried

Code:

C:\Users\Me\devl\Derelict2>dsss build
Creating imports for DerelictUtil

derelict => DerelictUtil
derelict\util\compat.d(114): module string cannot read file 'std\string.d'
Command C:\DSSS\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.


And

Code:

C:\Users\Me\devl\Derelict2>make -fwin32.mak
cd DerelictAL
make all PLATFORM=win32 DC=
Error on line 2: can't read makefile '../inc/_inc.mak'

--- errorlevel 1


Neither of which works, for the errors above. I don't even want all the libraries, just certain ones (SDL* and GL)
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Mon May 30, 2011 7:34 am    Post subject: Re: Can't build Derelict2 (DMD v2.053, Windows 7 x64) Reply with quote

RobotGymnast wrote:
I'm trying to get Derelict working, so I checked out the SVN branch and went into the main directory, then tried

Code:

C:\Users\Me\devl\Derelict2>dsss build
Creating imports for DerelictUtil

derelict => DerelictUtil
derelict\util\compat.d(114): module string cannot read file 'std\string.d'
Command C:\DSSS\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.



I can't reproduce this on Win XP. Could be a DSSS issue.

Quote:

And

Code:

C:\Users\Me\devl\Derelict2>make -fwin32.mak
cd DerelictAL
make all PLATFORM=win32 DC=
Error on line 2: can't read makefile '../inc/_inc.mak'

--- errorlevel 1




You didn't provide a compiler name on the command line. I was going to point you to a sticky thread here in the forums, but realized it's quite outdated. However, this is n the documentation, which you should have gotten along with the source in your checkout.

Quote:
Neither of which works, for the errors above. I don't even want all the libraries, just certain ones (SDL* and GL)


To build with dmd on Windows:

Code:

make -fwin32.mak DC=dmd DerelictSDL_ALL DerelictGL DerelictUtil

_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
RobotGymnast



Joined: 06 Jan 2011
Posts: 23

PostPosted: Mon May 30, 2011 3:13 pm    Post subject: Reply with quote

Great, that seems to have worked, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group