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

Build problems

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
Bellum



Joined: 25 Jun 2011
Posts: 2

PostPosted: Sat Jun 25, 2011 10:20 am    Post subject: Build problems Reply with quote

I'm trying to get GTKd working here on win XP, but I've run into a problem. I've followed the instructions here, but I'm given the following error:

Quote:
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: C:\documents.obj : No such file or directory
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sun Jun 26, 2011 8:16 am    Post subject: Reply with quote

What command are you running when you get that error ?
Back to top
View user's profile Send private message
Bellum



Joined: 25 Jun 2011
Posts: 2

PostPosted: Sun Jun 26, 2011 4:26 pm    Post subject: Reply with quote

\gtkd\src\build\> build gtkd.brf

EDIT: Oh, is the main version of bud/build only suitable for D1? I downloaded the D2 port, but now I'm having trouble compiling that.

> make

tells me that it uses depricated features. When I add -d to DFLAGS I get

Quote:
dmd -I/usr/src/phobos -op -release -inline -d -ofbuild build.d util/pathex_bn.d
util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d source.d util/fdt.d util/fileex.d util/fileex_bn.d util/linetoken.d
util/linetoken_bn.d util/jacro.d util/file2.d util/file2_bn.d
build.d(3127): Error: undefined identifier module string.replace
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Mon Jun 27, 2011 3:13 pm    Post subject: Reply with quote

I don't know if the main version of bud/build is supposed work with dmd2, it used to work in the past but there might have been breaking changes with the compiler.

The source of the D2 port of bud/build is outdated, std.string.replace has been moved to std.array.replace.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD 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