SVF icon indicating copy to clipboard operation
SVF copied to clipboard

An error occurred while compiling with CLion

Open NEUZhuJuefeng opened this issue 3 years ago • 4 comments

According to the Setup SVF in CLion method, when I operate the step 4 1. Build, this error occurs 100% after compilation. Do you know how to solve this problem? KJT1M0R6AER~ 3QF2D{C1

NEUZhuJuefeng avatar Apr 22 '21 12:04 NEUZhuJuefeng

Hi Juefeng,

It looks like the compilation problem is from your clang&llvm. If you don't mind, could you try to re-download the Pre-Built Binaries LLVM-10.0.0 from https://releases.llvm.org/download.html . And give the clion CMAKE option -DLLVM_DIR with the prebuilt binaries directory.

kind regards guanqin

guanqin-123 avatar Apr 22 '21 23:04 guanqin-123

Hi Juefeng,

It looks like the compilation problem is from your clang&llvm. If you don't mind, could you try to re-download the Pre-Built Binaries LLVM-10.0.0 from https://releases.llvm.org/download.html . And give the clion CMAKE option -DLLVM_DIR with the prebuilt binaries directory.

kind regards guanqin I am very sorry that I downloaded the pre-built Binaries LLVM-10.0.0 as you suggested, but the problem seems not to have been solved 20210423215706

NEUZhuJuefeng avatar Apr 23 '21 13:04 NEUZhuJuefeng

Sorry for the inconvenience, the compilation problem maybe triggered from c++ compiler in ubuntu. I have already fixed the steps for CLion wiki and you may refer to https://github.com/SVF-tools/SVF/wiki/Setup-SVF-in-CLion#3-setup-for-the-toolchain-and-cmake-env

guanqin-123 avatar Apr 25 '21 00:04 guanqin-123

Sorry for the inconvenience, the compilation problem maybe triggered from c++ compiler in ubuntu. I have already fixed the steps for CLion wiki and you may refer to https://github.com/SVF-tools/SVF/wiki/Setup-SVF-in-CLion#3-setup-for-the-toolchain-and-cmake-env Thank you!

NEUZhuJuefeng avatar Apr 25 '21 03:04 NEUZhuJuefeng