CURL (Ubuntu 20.04, QT 7.0.1)
Unsolved
General and Desktop
-
Hi,
I installed curl with
sudo apt install libcurl4-openssl-dev
(curl-config --libs return -lcurl)and added to project
LIBS+= -lcurl
DEFINES += CURL_STATICLIB
but trying to build it i receive error 'undefined reference to curl_easy_setopt' function. Can someone help with that? -
Hi and welcome to devnet,
How are you including curl in your project ?
-
@Oddball said in CURL (Ubuntu 20.04, QT 7.0.1):
DEFINES += CURL_STATICLIB
Are you sure you have static Curl lib installed? It rather looks like you only have the shared lib.