-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] libiconv/1.17: Can't cross compile to Windows ARM64 #14279
Comments
Related to conan-io/conan#12546 & conan-io/conan#7460 Can be fixed in recipe itself (example: conan-center-index/recipes/icu/all/conanfile.py Lines 125 to 131 in 52182ce
|
Is it better with #14282? |
with #14282 , I get the following errors Click to expand log
|
Feel free to reopen this issue. I guess #14282 has fixed cross-build from x86_64 to x86, but as you said probably not to ARM64. |
Yeah, I don't really care about x64 to x86. |
Where's the reopen button? |
@SpaceIm reopen this issue please |
Sorry I can't, I'm not a maintainer. /cc @uilianries |
@yourWaifu the issue's author always can re-open a closed issue. There a button on the bottom with such action. |
I did some testing and found that I can compile the library by using VCPKG instead, but I need Conan for my project. Any ideas for solutions? |
libiconv expects windres as a resource compiler. windres comes from binutils, and is exposed in libiconv recipe through msys2. There are 2 issues:
The workaround would be to have a wrapper like the one of vcpkg in order to transform windres arguments to Obviously if it was handled automatically by conan build helper, it would be less tedious. Basically, windres is called as |
Joining here with the same issue: As there are some ARM issues with msys2 (no package ARM support), I've overridden the build profile with But it looks like libiconv fails further down the road. Just to note, I'm trying to build gstreamer package |
Getting the same issue as @valsydalv, I'm on an Arm windows box.
I've tried force passing the host and build tripplets by removing the cross_building(self) - if cross_building(self) and is_msvc(self):
+ if is_msvc(self): conan-center-index/recipes/libiconv/all/conanfile.py Lines 107 to 119 in 0a41d29
I do see
But I'm still getting a failure
Build log
|
Description
I'm on an x86_64 machine, trying to compile for a Windows ARM64 machine. I was expecting to work. I don't know of any workarounds.
profile default:
profile arm64:
Command:
Package and Environment Details
Conan profile
Configuration for profile default:
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Release
[options]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
[build_requires]
[env]
Steps to reproduce
conan install libiconv/1.17@ --profile:build default --profile:host arm64 --build missing
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: