Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] aws-c-common/0.8.2 needed by (aws-sdk-cpp/1.9.234) cannot be cross compiled with mingw (linux => win) #15951

Open
f-scholer opened this issue Mar 26, 2024 · 3 comments
Assignees

Comments

@f-scholer
Copy link

Describe the bug

Compilation produces this error:
/home/developer/.conan2/p/b/aws-cc23dbad29a896/b/src/source/allocator.c:15:14: fatal error: Windows.h: No such file or directory
15 | # include <Windows.h>
| ^~~~~~~~~~~

The filename should be written as all lowercase, because this is how the file is actually named:
#include <windows.h>

Full log:
build-cmake.txt

How to reproduce it

No response

@memsharded memsharded self-assigned this Mar 26, 2024
@f-scholer
Copy link
Author

seems to be fixed in never versions of aws-c-commen:
awslabs/aws-c-common#1058

@memsharded
Copy link
Member

Hi @f-scholer

Thanks for your report.

I think this is not a Conan issue, but this seems a bug in the aws-c-common source code (not even the Conan recipe).
The recommendation would be to report this to the upstream library so it is fixed there.

In Conan client there is nothing that we can do, this would be a Conan issue.
On the recipes in ConanCenter, they are there to package the libraries, but not really to solve issues of the libraries, which should be reported and fixed upstream

@memsharded
Copy link
Member

seems to be fixed in never versions of aws-c-commen:
awslabs/aws-c-common#1058

That is great, then the issue seems solved in the right place, so updating to the latest library version would be the recommended solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants