Posts: 1
Joined: Sun Jun 02, 2019 4:42 pm


Sun Jun 02, 2019 4:49 pm

I can't configure the IDE to build an application using libcurl.

what packages do I need to install? what libraries to include when linking?

User avatar
Posts: 5569
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: cURL

Mon Jun 03, 2019 8:58 am

libcurl can be a little bit tricky I guess.. you have some options.
For header files you have either:
- https://packages.debian.org/stretch/libcurl4-gnutls-dev
- or https://packages.debian.org/stretch/lib ... penssl-dev

But I think you should install the last one.
For linker option I think it should be enough to just add "-lcurl"

Return to “C/C++”