Compile fails, don't know why

Nafees via Digitalmars-d digitalmars-d at puremagic.com
Fri Mar 18 03:38:00 PDT 2016


On Friday, 18 March 2016 at 10:25:06 UTC, Mathias Lang wrote:
> On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote:
>> On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote:
>>> I tried to create a separate module for storing classes in, 
>>> this is the new module
>>> <code>
>>> module qlib.classes;
>>>
>>> [...]
>>
>> Plus, the code works if the class is in the same module, and I 
>> did add the path to the QLib.classes module in the compiler.
>
> See the compilation command:
> dmd -O -release "main.d"  "-I/usr/include/dmd" 
> "-I/home/nafees/Desktop/Projects/DLibrary" "-odobj/Release" 
> "-of/home/nafees/Desktop/Projects/LrnD/LrnD/bin/Release/LrnD" 
> -w -vcolumns
>
> Here your module is not linked in, only main.d

Now I created a folder in the usr/include/dmd named qlib and 
placed the module there, yet it won't work.


More information about the Digitalmars-d mailing list