Problems migrating to cmake - errors trying to build a static library
"Robert J. Simpson via curl-users" <[email protected]> Mon, 19 May 2025 10:15:29 +0100
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've been using the curl library for a while. I currently add it as a dependency in an MSVC project where it is listed as an 'Additional dependency': \curl\builds\libcurl-vc-x64-debug-static-ipv6-sspi-schannel\lib\libcurl_a_debug.lib I'd like to update the library but the docs say I should be moving to using cmake, which I'm not familiar with. I've had a few attempts to run cmake but I keep running into errors and I don't understand what I should be doing to fix them e.g. -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Could NOT find Brotli (missing: BROTLI_INCLUDE_DIR BROTLIDEC_LIBRARY BROTLICOMMON_LIBRARY) -- Could NOT find Zstd (missing: ZSTD_INCLUDE_DIR ZSTD_LIBRARY) -- Could NOT find NGHTTP2 (missing: NGHTTP2_INCLUDE_DIR NGHTTP2_LIBRARY) -- Could NOT find Libidn2 (missing: LIBIDN2_INCLUDE_DIR LIBIDN2_LIBRARY) I didn't have any of these issues with nmake. I'm probably not using cmake correctly and making some basic mistakes. Does anyone have an example cmake command which I could use to regenerate the libcurl-vc-x64-debug-static-ipv6-sspi-schannel\lib\libcurl_a_debug.lib library? Thanks, Rob -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html