We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2018-04-02 02:58:45 +0200

Using libcurl or a C++ Warpper

Just wondering if I am the first one who wants to use libcurl or rather a curl C++ wrapper for a Sailfish app. There is for instance this project, which is nice: https://github.com/jpbarrette/curlpp . I guess I have to compile the wrapper myself. However, libcurl, I saw is available. I quickly logged into the build engine and installed licurl:

i | libcurl | A library for getting files from web servers | package   
i | libcurl-devel | Files needed for building applications with libcurl | package

Also I added

LIBS += \
-lcurl

Unfortunately, the linker says it can't find -lcurl, although

curl-config --libs

gives

-lcurl

Does anybody have experiences with libcurl/libcurlpp or even an example?

Using libcurl or a C++ Warpper

Just wondering if I am the first one who wants to use libcurl or rather a curl C++ wrapper for a Sailfish app. There is for instance this project, which is nice: https://github.com/jpbarrette/curlpp . I guess I have to compile the wrapper myself. However, libcurl, I saw saw, is available. I quickly logged into the build engine and installed licurl:

i | libcurl | A library for getting files from web servers | package   
i | libcurl-devel | Files needed for building applications with libcurl | package

Also I added

LIBS += \
-lcurl

Unfortunately, the linker says it can't find -lcurl, although

curl-config --libs

gives

-lcurl

Does anybody have experiences with libcurl/libcurlpp or even an example?

Using libcurl or a C++ WarpperWrapper

Just wondering if I am the first one who wants to use libcurl or rather a curl C++ wrapper for a Sailfish app. There is for instance this project, which is nice: https://github.com/jpbarrette/curlpp . I guess I have to compile the wrapper myself. However, libcurl, I saw, is available. I quickly logged into the build engine and installed licurl:

i | libcurl | A library for getting files from web servers | package   
i | libcurl-devel | Files needed for building applications with libcurl | package

Also I added

LIBS += \
-lcurl

Unfortunately, the linker says it can't find -lcurl, although

curl-config --libs

gives

-lcurl

Does anybody have experiences with libcurl/libcurlpp or even an example?