From 3976604cf7c47fa0313617d2d6e3115c74b65e67 Mon Sep 17 00:00:00 2001 From: Just1earnm0re Date: Tue, 25 Feb 2020 17:33:05 +0800 Subject: [PATCH 1/2] Add workaround Add some notes from #74 . --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7177be1..dbe1b6a 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ You need: Example: ```bash +# You may want to `sudo apt install llvm-7 clang-7 libclang-7-dev` +#+if you ran into error like that clang says it cannot find "ClangConfig.cmake". cmake . -DCMAKE_BUILD_TYPE=Release make ``` From 1020b6c359efb44d85af0cc285822c29bd05bd3c Mon Sep 17 00:00:00 2001 From: Just1earnm0re Date: Tue, 25 Feb 2020 19:27:02 +0800 Subject: [PATCH 2/2] Add workaround Add some tips for Ubuntu with llvm-6 and clang-6. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dbe1b6a..2aac9c6 100644 --- a/README.md +++ b/README.md @@ -67,11 +67,11 @@ Compiling the generator on Linux You need: - The clang libraries version 3.4 or later - + +You may want to `sudo apt install llvm-7 clang-7 libclang-7-dev` on Ubuntu if you ran into error like that clang says it cannot find "ClangConfig.cmake". More details in [issues#74](https://github.com/woboq/woboq_codebrowser/issues/74) . + Example: ```bash -# You may want to `sudo apt install llvm-7 clang-7 libclang-7-dev` -#+if you ran into error like that clang says it cannot find "ClangConfig.cmake". cmake . -DCMAKE_BUILD_TYPE=Release make ```