Missing library dependencies compiling app with importC

ptcute peterhu.peterhu at outlook.com
Sun Feb 25 13:36:43 UTC 2024


On Sunday, 25 February 2024 at 10:23:26 UTC, DUser wrote:
> On Thursday, 22 February 2024 at 01:23:36 UTC, ptcute wrote:
>> ...
>> So what's the real issue behind?
>>
>> Anyone help on this would be appreciated.
>
> They are MSVC compiler intrinsics. 
> (https://issues.dlang.org/show_bug.cgi?id=23894)
>
> Surprisingly I got it working by just replacing some includes 
> with definitions in "curl/curl.h".
>
> Change:
>

> ```
> to:
> ```c

> ```
> At least this example program 
> (https://curl.se/libcurl/c/getinfo.html) works fine.
Thank you for the help.

I tried to modify the curl.h header exactly followinging the 
above information and with the above mentioned simple curl 
demo,unfortunately the error message are the same.



More information about the Digitalmars-d-learn mailing list