Comments (6)
Which packages, what are your PC specs. Steps to reproduce. Please provide more information.
from hunter.
I use Windows 11 ARM64, but I have selected x64 as toolset in CMake
[hunter] Initializing Hunter workspace (a3d7f4372b1dcd52faa6ff4a3bd5358e1d0e5efd)
[hunter] https://github.com/cpp-pm/hunter/archive/v0.24.0.tar.gz
[hunter] -> C:/.hunter/_Base/Download/Hunter/0.24.0/a3d7f43
[hunter] Calculating Toolchain-SHA1
[hunter] Calculating Config-SHA1
[hunter] HUNTER_ROOT: C:/.hunter
[hunter] [ Hunter-ID: a3d7f43 | Toolchain-ID: 7224681 | Config-ID: c0769d7 ][hunter ** INTERNAL **] Unexpected CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE: 'ARM64'
[hunter ** INTERNAL **] [Directory:C:/Users/ccmvn/Desktop/Test]------------------------------ ERROR -----------------------------
https://hunter.readthedocs.io/en/latest/reference/errors/error.internal.htmlCMake Error at C:/.hunter/_Base/Download/Hunter/0.24.0/a3d7f43/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
C:/.hunter/_Base/Download/Hunter/0.24.0/a3d7f43/Unpacked/cmake/modules/hunter_internal_error.cmake:13 (hunter_error_page)
C:/.hunter/_Base/Download/Hunter/0.24.0/a3d7f43/Unpacked/cmake/modules/hunter_setup_msvc.cmake:141 (hunter_internal_error)
C:/.hunter/_Base/Download/Hunter/0.24.0/a3d7f43/Unpacked/cmake/modules/hunter_finalize.cmake:117 (hunter_setup_msvc)
C:/.hunter/_Base/Download/Hunter/0.24.0/a3d7f43/Unpacked/cmake/modules/hunter_add_package.cmake:23 (hunter_finalize)
CMakeLists.txt:49 (hunter_add_package)Configuring incomplete, errors occurred!
from hunter.
LINE49: hunter_add_package(Boost COMPONENTS program_options filesystem)
LINE50: hunter_add_package(Microsoft.GSL)
from hunter.
the error seems to come from here:
hunter/cmake/modules/hunter_setup_msvc.cmake
Lines 137 to 139 in 132dc3c
It seems like there is no special handling for a MSVC ARM64 host toolchain yet.
from hunter.
Any update yet? (latest version still got this problem)
[hunter ** INTERNAL **] Unexpected CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE: 'ARM64'
[hunter ** INTERNAL **] [Directory:C:/Users/chxmvn/Desktop/Test]------------------------------ ERROR -----------------------------
https://hunter.readthedocs.io/en/latest/reference/errors/error.internal.htmlCMake Error at C:/.hunter/_Base/Download/Hunter/0.24.14/00901c1/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
C:/.hunter/_Base/Download/Hunter/0.24.14/00901c1/Unpacked/cmake/modules/hunter_internal_error.cmake:13 (hunter_error_page)
C:/.hunter/_Base/Download/Hunter/0.24.14/00901c1/Unpacked/cmake/modules/hunter_setup_msvc.cmake:141 (hunter_internal_error)
C:/.hunter/_Base/Download/Hunter/0.24.14/00901c1/Unpacked/cmake/modules/hunter_finalize.cmake:117 (hunter_setup_msvc)
C:/.hunter/_Base/Download/Hunter/0.24.14/00901c1/Unpacked/cmake/modules/hunter_add_package.cmake:23 (hunter_finalize)
CMakeLists.txt:48 (hunter_add_package)Configuring incomplete, errors occurred!
from hunter.
I opened a pull request and provided a fix: #655
from hunter.
Related Issues (20)
- Support for OpenSSL 3.x HOT 3
- missing SHA1 details in v0.24.16 release note HOT 1
- Pass build options to boost HOT 3
- /usr/bin/ld: /home/sahoo/.hunter/_Base/cb0ea1f/a3a48bb/b64ffe3/Install/lib/libz.a(zutil.c.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC HOT 12
- unittest hunter_setup_msvc fails because of ARM64 change HOT 9
- reeenable cmake hunter unittests to run in CI
- Doc - First step points to ruslo/hunter/wiki which does not exist HOT 1
- Missing OpenSSL 3.x IMPORTED Targets Crypto and SSL HOT 2
- cmake has now deprecated support for versions prior to 3.5 HOT 5
- hunter_protected_sources doesn't seem to be working with custom packages
- Update "imgui" package HOT 2
- OpenCV force push access rights HOT 1
- GitHub Actions macos-10.15 runner deprecated and removed by 2022-08-30
- OpenSSL v3+ version number not reporting correctly in CMake
- MingW builds broken in CI
- Add glog v0.6.0 version
- Should Hunter Boost move to USE_CONFIG_FROM_BOOST ON as default? HOT 1
- CMake Dependency Providers
- cmake 3.28 breaks universal 2 hunter builds with Xcode generator HOT 2
- freetype package causes error with CMake 3.28 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hunter.