microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
7.91k stars 1.64k forks source link

Build cpprestsdk with mxe #798

Open Baklap4 opened 6 years ago

Baklap4 commented 6 years ago

Currently over at performous we're trying out to crosscompile cpprestsdk from linux to windows. We currently have the following two files (cpprestsdk.mk and cpprestsdk-1-fixes.patch) used for mxe. However we run into some errors. Error log is provided within the zip (as for the rest of the files). Wouldn't it be nice to support crosscompilation from linux to windows by using mxe? We'd love to have your feedback and any help which can point us in the right direction.

You'll see the logs are quite a lot. One of the first errors which appears is cpprestsdk-2.10.1/Release/include/cpprest/details/SafeInt3.hpp:896:5: error: storage class specified for '__C_ASSERT__'

cpprestsdk.zip

nieknooijens commented 5 years ago

here's the log:

https://drive.google.com/file/d/18Y-yeNDPWXebfei5sim6XjF5wmjiiHGR/view?usp=sharing