Compile fails, don't know why
Mathias Lang via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 18 03:25:06 PDT 2016
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
More information about the Digitalmars-d
mailing list