From ac7f2c8e7bf512ed8a94d7ba7034217ddc37de3d Mon Sep 17 00:00:00 2001 From: sbroberg Date: Mon, 16 Jun 2025 17:34:02 -0400 Subject: [PATCH] Cleaned up unnecessary comment, added note to do recursive clone to avoid cmake errors. --- Build.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Build.md b/Build.md index b30fe64..95ed7c1 100644 --- a/Build.md +++ b/Build.md @@ -258,6 +258,8 @@ cmake --build Release ### Windows +Note: run `git submodule update --init` before building to avoid using system rapidjson. + The Windows archive on releases.llvm.org does not contain library headers. Since **ccls** uses Clang C++ APIs, it is not possible to build **ccls** with these releases. You must either: @@ -295,8 +297,6 @@ cmake -S. -BRelease -G Ninja -DCMAKE_CXX_FLAGS='-D_GLIBCXX_USE_CXX11_ABI=0' ninja -C Release ``` -`-D__STDC_FORMAT_MACROS` is because otherwise `mingw-w64-headers/crt/inttypes.h` does not define `PRIu64`. - Try running `ccls.exe` once the above command finishes. If you encounter `Entry Point Not Found` errors, it's most likely due to missing clang/stdc++ lib files.