I get an error message when trying to curl

Error output:

root@02x110:~/Desktop# gdc a.d -o a
a.d:2: Error: module curl is in file 'std/net/curl.d' which cannot be read
import path[0] = /usr/include/d2/4.6/i486-linux-gnu
import path[1] = /usr/include/d2/4.6

My Code:

import std.net.curl;
import std.stdio;

int main()
{
        string content = post("examplesite.org");
        
}

How can I solve this problem?

Sorry for my bad english.

Reply via email to