KDAB / codebrowser

Woboq CodeBrowser
http://woboq.com/codebrowser.html
Other
1.1k stars 161 forks source link

meet a llvm3.8 error when i cmake the project #103

Open sanbuphy opened 1 year ago

sanbuphy commented 1 year ago

image

Hi,I really want to use this software, but I still can't compile it, It always says that "Found LLVM 3.8.0 in /usr/local",but i can't find anything about LLVM 3.8.0 in /usr/local.

Can you help me ? Thanks a lot.

I use:

cmake .. -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm-config-7 -DCMAKE_BUILD_TYPE=Release

in build

Waqar144 commented 1 year ago

whereis is not the right command to locate something. Use find instead.

The error is Could not find any clang builtins headers in ... which shows the directory its looking into. Seems like your llvm/clang is installed incorrectly or installed in a way which doesn't work with code_browser.

Can you try to grab a new clang+llvm and try with that?