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

Reply via email to