On Tue, 13 Oct 2020, T V LIJIN (EXT) wrote:

(please don't top-post)

The version of Libcurl I'm using is curl-7.72.0 I'm trying to build this for windows-Visual studio 19 by using just the source and header files because I don't want to build it as .so or lib dll file : I have attached the copy of the same; I'm trying to build this way to make it easy to port for RTOS devices.

So you're not using one of our many provided means of building curl; you're doing it your own way and you get an error while doing so.

I've probably ported curl to more RTOSes than most and I disagree with the idea that you're taking the easier route by doing this. You're merely confating things by merging separate builds into a single one. I don't think it helps - even for RTOSes.

All this said, I believe your main problem is that you don't define BUILDING_LIBCURL when you build libcurl. Note that this define must only be set when you build libcurl, not for code that *uses* it. (Another reason to keep the builds separate)

--

 / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                  | Private help, bug fixes, support, ports, new features
                  | https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to