DMD compiler choking?

John Demme me at teqdruid.com
Wed Apr 5 22:20:34 PDT 2006


Jeremy Gibson wrote:

>>If you post a cut-down (yet complete) code example that exhibits the
>>problem you'll get a faster response :)
>>
>>Regan
> 
> Okay. ;-)
> 
> 
> /*******************************************************************************
> TEST FILE - test.d
>
*******************************************************************************/
> 
> module test;
> 
> class MyClass
> {
> 
> }
> 
> 
> int main()
> {
> return 0;
> }

Sounds like the compiler doesn't know where to look for the library source
code.  After you extract dmd.zip, you have to edit (dmd.conf on unix
sc.ini) on windows and give DMD the directory where the phobos library
source is (it comes with the compiler).

~John Demme



More information about the Digitalmars-d-learn mailing list