Open
Description
- I've read Brief overview section and do understand basic concepts. [Yes]
- I've read F.A.Q. section and there is no solution to my problem there. [Yes]
- I've read Code of Conduct, I promise to be polite and will do my best at being constructive. [Yes]
- I've read Reporting bugs section carefully. [Yes]
- I've checked that all the
hunter_add_package
/find_package
API used by me in the example is the same as in documentation. [Yes] - I'm using latest Hunter
URL
/SHA1
. [Yes]
Hi all,
I tried to build Aleth with VS2022 on Windows, but it failed at the cmake step. Could anyone helps look at this issue? Thanks in advance.
Environment:
VS2022 + Windows Server
Repro steps:
- Open a VS 2022 x64 Native Tools command.
- git clone https://github.com/ethereum/aleth F:\gitP\ethereum\aleth
- cd F:\gitP\ethereum\aleth
- git submodule update --init --recursive
- mkdir build_amd64 & cd build_amd64
- set HUNTER_ROOT=F:\gitP\ethereum\hunter_tools_New
- cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.22621.0 -DCMAKE_BUILD_TYPE=Release ..
CmakeLists.txt
CMakeLists.txt
Result:
F:\gitP\ethereum\hunter_tools_New_Base\8010d63\7ad3772\0db49b4\Build\libjson-rpc-cpp\Build\libjson-rpc-cpp-Release-prefix\src\libjson-rpc-cpp-Release-build\gen\jsonrpccpp\common\jsonparser.h(13,10): fatal error C1083: Cannot open include file: 'json/json.h': No such file or directory (C:\repos\msvc\src\vctools\Compiler\CxxFE\sl\p1\c\p0prepro.c:1955)
detailed logs:
camke.log