using dylib with dmd
Jesse Phillips
jessekphillips+D at gmail.com
Fri Apr 22 13:12:02 PDT 2011
frostmind Wrote:
> And now, when I execute: dmd test_d_client.d I get following output:
>
> Undefined symbols:
> "_addRating", referenced from:
> __Dmain in test_d_client.o
> "_ratings", referenced from:
> __Dmain in test_d_client.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> --- errorlevel 1
>
> What I am doing wrong here?
You need to tell the linker where your library is. You can just pass it to dmd on the commandline.
More information about the Digitalmars-d
mailing list