Re: Windows compilation error
Date: Sun, 7 Jul 2019 18:17:15 -0400
On 7/7/2019 5:43 PM, MATSUDA Daiki wrote:
> On 2019年07月07日 15:17, Ray Satiro via curl-library wrote:
>> On 7/2/2019 8:07 PM, MATSUDA Daiki via curl-library wrote:
>>> In my research, the curl library with /MD option in spite of static.
>>>
>>> https://docs.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=vs-2019
>>>
>>
>>
>> Is it possible that you want RTLIBCFG=static? [1] It is not the
>> recommended method.
>
> I know the option 'RTLBCFG'. But is there any meaning under the
> situation with mode=static and without RTLBCFG=static?
I'm sorry but I don't understand what you're asking. The difference is
described in the document that I referenced. Either you can build
libcurl as a static library or a DLL. When you are building libcurl it
needs a C runtime (almost invariably Microsoft's C runtime on Windows ms
crt). By default we use the CRT import library and so when you build
your app with static libcurl it should link to the CRT DLL.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-07-08