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

Compiling Derelict2 with D2.056

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



Joined: 06 Sep 2010
Posts: 3

PostPosted: Thu Nov 17, 2011 11:52 am    Post subject: Compiling Derelict2 with D2.056 Reply with quote

Is Derelict2 ready to be compiled with D2.056? If not, why is it not noted which version it does work for? The readme is REALLY brief, and the package page isn't quite verbose either.

Code:
C:\Users\Taco\Desktop\Derelict>dmd buildme.d
buildme.d(123): Error: function buildme.cmpStr (char[] a, char[] b) is not calla
ble using argument types (char[],string)
buildme.d(123): Error: cannot implicitly convert expression ("cleanlib") of type
 string to char[]
buildme.d(151): Error: function buildme.findStr (char[] str, char[] match) is no
t callable using argument types (char[],string)
buildme.d(151): Error: cannot implicitly convert expression ("derelict") of type
 string to char[]
buildme.d(167): Error: 'printf' is not defined, perhaps you need to import core.
stdc.stdio; ?
buildme.d(167): Error: function buildme.toCString (char[] str) is not callable u
sing argument types (const(char[]))
buildme.d(167): Error: cannot implicitly convert expression (libExt) of type con
st(char[]) to char[]
buildme.d(169): Error: 'printf' is not defined, perhaps you need to import core.
stdc.stdio; ?
buildme.d(199): Error: 'printf' is not defined, perhaps you need to import core.
stdc.stdio; ?
Back to top
View user's profile Send private message
aldacron



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

PostPosted: Thu Nov 17, 2011 7:21 pm    Post subject: Re: Compiling Derelict2 with D2.056 Reply with quote

Daevius wrote:
Is Derelict2 ready to be compiled with D2.056? If not, why is it not noted which version it does work for?


It works fine for me.

Quote:
The readme is REALLY brief, and the package page isn't quite verbose either.


There is no readme in Derelict 2. That's in Derelict 1, which is not compatible with D2. As per the project page you can check out the Derelict 2 sources from the branch at http://svn.dsource.org/projects/derelict/branches/Derelict2. Compilation instructions can be found in the docs sub-directory.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Daevius



Joined: 06 Sep 2010
Posts: 3

PostPosted: Sat Nov 19, 2011 2:58 pm    Post subject: Reply with quote

Correct. With the latest version from the SVN repository it works very well. Don't forget to create the lib directory manually though.

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