Package Details: cpprestsdk 2.10.13-1

Git Clone URL: https://aur.archlinux.org/cpprestsdk.git (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: https://github.com/Microsoft/cpprestsdk/
Keywords: networking
Licenses: Apache
Conflicts: casablanca, casablanca-git, cpprestsdk-git
Submitter: ohmyarch
Maintainer: None
Last Packager: xgdgsc
Votes: 7
Popularity: 0.000010
First Submitted: 2015-12-06 12:33
Last Updated: 2019-05-06 12:20

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

xgdgsc commented on 2018-12-01 01:18

Thanks. Fixed.

sburton84 commented on 2018-11-30 13:18

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

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

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

FWIW, the bug report for websocketpp package is https://bugs.archlinux.org/task/53887

hrantzsch commented on 2017-06-07 09:19

It does not appear this will be fixed soon. Here's the issue in their repo: https://github.com/Microsoft/cpprestsdk/issues/56
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/libssl.so \
-DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \

If you have openssl-1.0 in the specified path of course.
EDIT: corrected issue link

xgdgsc commented on 2017-05-11 01:52

@ferrvittorio see previous comments.

ferrvittorio commented on 2017-05-10 16:32

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

@boteium
It breaks websocketpp, a dependency of cpprestsdk.

see https://github.com/zaphoyd/websocketpp/issues/599

xgdgsc commented on 2017-05-03 13:25

@boptelum Yes. The dependency websocketpp needs to be patched: https://github.com/zaphoyd/websocketpp/issues/599