Error while compiling and linking modules (mysql)
Geert via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Sep 11 14:43:12 PDT 2016
Hi!
I'm using a mysql wrapper (i don't even know how to use it yet)
that i got from github:
https://github.com/adamdruppe/arsd
When i try to compile the code i get an error message:
Error: module mysql is in file 'mysql.d' which cannot be read
This is the folder structure i have:
/home/test/main.d
/home/test/arsd/mysql.d
/home/test/arsd/database.d
And the compile command:
ldc main.d mysql.d database.d -I/home/test/arsd/
The main file contains a few lines just to test:
module compiling_test;
import arsd.mysql;
import arsd.database;
int main(string[] args) {
return 0;
}
More information about the Digitalmars-d-learn
mailing list