View previous topic :: View next topic |
Author |
Message |
Damian
Joined: 14 Jul 2006 Posts: 2
|
Posted: Fri Jul 14, 2006 12:00 pm Post subject: undefined identifier package util.fileex |
|
|
I cant compile build on linux with gdc 0.19
Am I making a mistake?
$ gdmd -op -release -inline 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/macro.d
util/macro.d:416: undefined identifier package util.fileex
util/macro.d:416: undefined identifier package util.fileex
util/macro.d:416: no property 'GetText' for type 'void'
util/macro.d:416: function expected before (), not 1 of type int
util/macro.d:416: cannot implicitly convert expression (1((pFile))) of type int to char[]
util/macro.d:421: undefined identifier package util.fileex
util/macro.d:421: undefined identifier package util.fileex
util/macro.d:421: no property 'CreateTextFile' for type 'void'
util/macro.d:421: function expected before (), not 1 of type int |
|
Back to top |
|
|
Skrylar
Joined: 12 Jul 2006 Posts: 5 Location: Round Rock, TX, USA
|
Posted: Sat Jul 15, 2006 2:20 am Post subject: |
|
|
No, you haven't done anything wrong. Build just never builds right.. you have to add import util.fileex; in to module.d. |
|
Back to top |
|
|
Damian
Joined: 14 Jul 2006 Posts: 2
|
Posted: Sat Jul 15, 2006 8:49 am Post subject: |
|
|
There is no module.d in my build sources, I think. |
|
Back to top |
|
|
Skrylar
Joined: 12 Jul 2006 Posts: 5 Location: Round Rock, TX, USA
|
Posted: Sun Jul 16, 2006 7:28 pm Post subject: |
|
|
Sorry, that's a typo on my part.
In util/macro.d there is a line
You need to replace this with
Code: | module util.macro;
import util.fileex; |
And then you get to experience a whole slew of other problems with build |
|
Back to top |
|
|
|