Error 42: Symbol Undefined

Derek Parnell derek at psych.ward
Thu May 11 16:51:11 PDT 2006


On Thu, 11 May 2006 16:03:38 +0000 (UTC), jicman wrote:

> Ok, so I have been using build and I have been working perfectly fine, until
> today, when I want to use DDoc and tried using
> 
> dmd -I.. -D test.d

All this does is compile the file 'test.d', it does not compile nor link
your library module. Try this instead ...

 
dmd -I.. test.d ..\jic\libs\MyLibTest.d

The dmd compiler is quite brain-dead when it comes to finding files. You
have to tell it everything.

Another way is to create a 'response file' for dmd.

---------- test.rsp ---------
-I..
test.d
..\jic\libs\MyLibTest.d
-----------------------------

Then use ...

dmd @test.rsp


Alternatively, just use 'Build' ;-)

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
12/05/2006 9:45:27 AM



More information about the Digitalmars-d-learn mailing list