On 11/2/10 9:14 PM, scrappylildude wrote:
Thank you Andrei!
I thought because I had imported libraw_c_headers.d in myfile.d that I didn't
need to do
that.
Thank you, it works perfectly.
P.S. Sorry, perhaps this question should have been posted in D.Learn?
rdmd takes care of figuring out dependencies:
http://www.digitalmars.com/d/2.0/rdmd.html
If you just say
$ rdmd --build-only myfile.d
$ _
then rdmd will figure out that myfile.d depends on libraw_c_headers.d
and link it in automatically. See
http://www.digitalmars.com/d/2.0/rdmd.html.
Andrei