bud problems

Chris Nicholson-Sauls ibisbasenji at gmail.com
Wed Nov 8 18:14:53 PST 2006


Bill Baxter wrote:
> I seem to have to delete all my object files before running bud if I 
> want to not get link errors and not have spurious crashes in the exe. 
> This project has 11 files or so in two directories.  Linker errors seem 
> to mostly be from template stuff.
> 
> Am I using bud incorrectly?
> 
> Here's my brf file:
> 
> -------------
> # Damn, envvars like %DMDDIR% don't work
> -g
> -debug
> -I..\..\baxissimo
> -I..\..\ext
> example1
> ---------------
> 
> and I run with
>  >> bud @example1
> 
> Thanks,
> --bb

You aren't using it incorrectly so far as I can immediately see, and I'm also not sure 
what's causing your problem.  However, that said, if simply deleting the object files is 
enough to work around it, add the "-cleanup" switch to your BRF file to cause 'bud' to 
delete them automatically at the end of its run.  This should at least get you working 
again until someone with more of a clue can figure out what's gone wrong.  :)

-- Chris Nicholson-Sauls



More information about the Digitalmars-d-learn mailing list