Package Details: cpprestsdk 2.10.18-2

Git Clone URL: (read-only, click to copy)
Package Base: cpprestsdk
Description: A cross-platform, modern, and asynchronous library that enables developers to access and author connected applications
Upstream URL:
Keywords: networking
Licenses: Apache
Conflicts: casablanca, casablanca-git, cpprestsdk-git
Submitter: ohmyarch
Maintainer: bart
Last Packager: bart
Votes: 8
Popularity: 0.73
First Submitted: 2015-12-06 12:33 (UTC)
Last Updated: 2022-04-28 08:59 (UTC)

Latest Comments

bart commented on 2022-04-28 08:59 (UTC)

@gnaggnoyil You're right, you cannot use this without boost, so I've updated the dependencies

gnaggnoyil commented on 2022-04-26 13:14 (UTC)

The installed headers themselves includes boost headers. E.g. http_client.h itself includes boost/asio/ssl.hpp. Should boost be marked as a dependency rather than a make dependency?

muttleyxd commented on 2020-03-03 11:20 (UTC)

Could you remove Werror flag? It doesn't compile on GCC 9 because of ridiculous assumption to use Werror by default. You'd need to add -DWERROR=OFF to CMake call

Maaike commented on 2019-10-12 16:04 (UTC) (edited on 2019-10-12 16:04 (UTC) by Maaike)

It also doesn't build with boost 1.71:

xgdgsc commented on 2019-09-13 09:25 (UTC)

blocked by

petrbel commented on 2018-12-07 14:44 (UTC)

Sorry, I missed that. Thanks!

xgdgsc commented on 2018-12-07 01:50 (UTC)

That's in makedepends

petrbel commented on 2018-12-06 13:54 (UTC)

@xgdgsc hi, just one more minor thing - I think cmake should be listed as a dependency since one can't build the package without it.

petrbel commented on 2018-12-06 08:54 (UTC)

@xgdgsc great, thanks!

xgdgsc commented on 2018-12-05 11:45 (UTC)

Thanks. Fixed.

ohmyarch commented on 2018-12-04 09:00 (UTC)

@petrbel The maintainer of this package is now @xgdgsc.

petrbel commented on 2018-12-04 08:52 (UTC) (edited on 2018-12-04 08:52 (UTC) by petrbel)

Hi @ohmyarch, I have two suggestions to PKGBUILD:

1) add 'cpprestsdk-git' to conflicts

2) add -DCMAKE_INSTALL_LIBDIR=lib to cmake; then remove mv "${pkgdir}"/usr/lib64 "${pkgdir}"/usr/lib

The former simply prevents conflicts with bleeding-edge version of cpprestsdk. The latter allows installing the lib also to 32-bit archs.


xgdgsc commented on 2018-12-01 01:18 (UTC)

Thanks. Fixed.

sburton84 commented on 2018-11-30 13:18 (UTC) (edited on 2018-11-30 13:19 (UTC) by sburton84)

I think the hard-coded OpenSSL 1.0 paths in the PKGBUILD, originally suggested by hrantzsch, are no longer correct. They cause it to require OpenSSL 1.0 even if OpenSSL 1.1 is installed, and then cause problems when used with other libraries compiled against OpenSSL 1.1. Specifically, if using Boost ASIO compiled against OpenSSL 1.1, this will fail to perform any SSL operations. Simply removing these 3 lines from the PKGBUILD seems to make it correctly compile against OpenSSL 1.1 and solves the problems I was having.

petrbel commented on 2018-11-22 14:37 (UTC)

Hi, cpprestsdk seems to work well also on ARM7. Would you consider modifying the pkgbuild so that it contains not only 'i686' and 'x86_64' but also 'armv7h'? Thanks!

CMon commented on 2017-10-21 11:24 (UTC)

Hi, unfortunately the current version does not work with the current version of glibc and openssl. To make it work with the current glibc you need to update to v2.10.0, and the ssl can be "fixed" by the arguments suggested by @hrantzsch

rafaelff commented on 2017-07-22 09:41 (UTC)

FWIW, the bug report for websocketpp package is

hrantzsch commented on 2017-06-07 09:19 (UTC) (edited on 2017-06-07 09:20 (UTC) by hrantzsch)

It does not appear this will be fixed soon. Here's the issue in their repo: As a workaround, you can the following cmake flags to the PKGBUILD: -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \ -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/ \ -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/ \ If you have openssl-1.0 in the specified path of course. EDIT: corrected issue link

xgdgsc commented on 2017-05-11 01:52 (UTC)

@ferrvittorio see previous comments.

ferrvittorio commented on 2017-05-10 16:32 (UTC)

Hi, unfortunately seems as I cannot compile. --- ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... ==> ERRORE: Makepkg non è riuscito a compilare cpprestsdk During compilation I see bunch of red comments like this: ---- /tmp/yaourt-tmp-ict/aur-cpprestsdk/src/cpprestsdk-.9.1/Release/src/websockets/client/ws_client_wspp.cpp:377:36: error: ‘void ERR_remove_thread_state(void*)’ is deprecated [-Werror=deprecated-declarations] ERR_remove_thread_state(nullptr); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~

ohmyarch commented on 2017-05-03 13:29 (UTC)

@boteium It breaks websocketpp, a dependency of cpprestsdk. see

xgdgsc commented on 2017-05-03 13:25 (UTC)

@boptelum Yes. The dependency websocketpp needs to be patched:

boteium commented on 2017-05-03 13:09 (UTC)

Did recent openssl update breaks cpprestsdk ?