Error 42: Symbol Undefined

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri May 12 10:02:00 PDT 2006


"jicman" <jicman_member at pathlink.com> wrote in message 
news:e40agm$2l8q$1 at digitaldaemon.com...
> You mean that I have to do,
>
> dmd -D -I.. test.d ..\jic\libs\MyLibTest.d
>
> Is this correct?  So, if I have 10 library files 
> (..\jic\libs\MyLibTest0-9.d) I
> have to add them all to the command?  I.e.
>
> dmd -D -I.. test.d ..\jic\libs\MyLibTest0.d ..\jic\libs\MyLibTest1.d
> .\jic\libs\MyLibTest2.d ..\jic\libs\MyLibTest3.d ..\jic\libs\MyLibTest4.d
> .\jic\libs\MyLibTest5.d ..\jic\libs\MyLibTes6.d ..\jic\libs\MyLibTest7.d
> .\jic\libs\MyLibTest8.d ..\jic\libs\MyLibTest9.d

Or, just do this:

dmd -D -I"..\jib\libs\" test.d MyLibTest.d MyLibTest0.d MyLibTest1.d ...

Or, if you've already compiled those libs to .obj files,

dmd -D -I"..\jib\libs\" test.d MyLibTest.obj MyLibTest0.obj ... 





More information about the Digitalmars-d-learn mailing list