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

CMake with Ninja code generator failing on Windows #42

Open
nrsiward opened this issue Aug 6, 2021 · 1 comment
Open

CMake with Ninja code generator failing on Windows #42

nrsiward opened this issue Aug 6, 2021 · 1 comment

Comments

@nrsiward
Copy link
Contributor

nrsiward commented Aug 6, 2021

If cmake is invoked with the Ninja code generator in Windows 10, the download of ICU fails.

From the build folder: cmake .. -G Ninja

CMake attempts to fetch: https://github.com/unicode-org/icu/releases/download/release-66-1/icu4c-66_1--MSVC2017.zip

("--" should be "-Win64-")

This occurs with Visual Studio 2019 Community Edition with CMake version 3.17.20032601-MSVC_2.

This error also appears in the VS IDE if File - Open - CMake... or File - Open - Folder... is used.

@flamenco108
Copy link

flamenco108 commented Aug 11, 2022

Hello, I want to add just a remark to above:
Just replace the address in file CMakeLists.txt
from
set(ICU_URL https://github.com/unicode-org/icu/releases/download/release-66-1/icu4c-66_1-${_icu_platform_name}-MSVC2017.zip)
to full address
set(ICU_URL https://github.com/unicode-org/icu/releases/download/release-66-1/icu4c-66_1-Win64-MSVC2017.zip)
This will get you further.
But then another error occurs:

-- ICU Libraries: 66.1
-- Configuring incomplete, errors occurred!

and I don't know, what to do next :(

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