std.net.curl problem
Johannes Pfau
nospam at example.com
Sat Nov 10 00:41:19 PST 2012
Am Fri, 09 Nov 2012 21:27 -0800
schrieb Jonathan M Davis <jmdavisProg at gmx.com>:
> On Saturday, November 10, 2012 03:25:37 adi wrote:
> > can anyone please let me know what i am doing wrong
>
> It looks like you're not linking against libcurl. You need to
> explicitly pass a flag to dmd to tell it to link. If you were on
> linux, it would be -L-lcurl. It's something similar for Windows, but
> I don't remember the exact syntax.
>
> - Jonathan M Davis
No, the undefined symbols are D (mangled) symbols. It's probably this
bug:
http://d.puremagic.com/issues/show_bug.cgi?id=7561
But that should be fixed in dmd 2.060:
https://github.com/D-Programming-Language/phobos/pull/613
@adi which dmd/phobos version did you use to compile your code?
More information about the Digitalmars-d
mailing list