View previous topic :: View next topic |
Author |
Message |
Bellum
Joined: 25 Jun 2011 Posts: 2
|
Posted: Sat Jun 25, 2011 10:20 am Post subject: Build problems |
|
|
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:
|
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Sun Jun 26, 2011 8:16 am Post subject: |
|
|
What command are you running when you get that error ? |
|
Back to top |
|
|
Bellum
Joined: 25 Jun 2011 Posts: 2
|
Posted: Sun Jun 26, 2011 4:26 pm Post subject: |
|
|
\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 |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Mon Jun 27, 2011 3:13 pm Post subject: |
|
|
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 |
|
|
|