curl-library
RE: Static build without LIBCMT
Date: Wed, 26 Aug 2015 08:37:34 -0500
Pozdrav , For statically linked shouldn’t you be using /MT instead? I also had troubles with this but found all linked libraries and to be compiled with /MT. I found my SSL libraries compiled with /MD which was my issue. Once I had all libraries compiled with /MT the linking went ok.
Ken Alverson | +1 952-563-2795
www.helpsystems.com<http://www.helpsystems.com>
From: curl-library [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Miroslav Lazic
Sent: Wednesday, August 26, 2015 8:20 AM
To: curl-library_at_cool.haxx.se
Subject: Static build without LIBCMT
Hi everyone,
I'm having problems to get static libcurl build, as lib I'm getting, when included in VS2013 Win64 project, results with a conflict between libcmt and msvcrt(which is used in my project).
I tried build with CMake (with CURL_STATICLIB flag) and libcmt added in IgnoreSpecificDefaultLibraries.
Also VS Command Prompt build with "nmake /f Makefile mode=static VC=12 MACHINE=x64 ENABLE_WINSSL=no ENABLE_IDN=no GEN_PDB=no ENABLE_SSPI=no" and manualy adding /MD and /NODEFAULTLIB:libcmt.
Result is the same, some part of libcurl is still beeing linked against libcmt..
Any suggestions appreciated.
--
Pozdrav,
Miroslav Lazić
________________________________
Confidentiality Notice: This email, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this email is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this email is prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email immediately.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-26