harvard-acc / LLVM-Tracer

An LLVM pass to profile dynamic LLVM IR instructions and runtime values
Other
135 stars 35 forks source link

error in cmake .. #17

Closed MasoomehJasemi closed 7 years ago

MasoomehJasemi commented 7 years ago

hi when i run cmake i faced with below error masi@orca:~/LLVM-Tracer/build$ cmake .. -- use LLVM_ROOT : usr/include/llvm-3.4/llvm -- find LLVM-Config : /usr/bin/llvm-config-3.4 -- LLVM version : 3.4 -- LLVM_LINK found : /usr/bin/llvm-link-3.4 -- LLVM_OPT found : /usr/bin/opt-3.4 -- LLVM_LLC found : /usr/bin/llc-3.4 -- LLVM_COMPILER found : /usr/bin/clang -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CURSES_CURSES_LIBRARY (ADVANCED) linked by target "get-labeled-stmts" in directory /home/masi/LLVM-Tracer/ast-pass

-- Configuring incomplete, errors occurred! See also "/home/masi/LLVM-Tracer/build/CMakeFiles/CMakeOutput.log".

can u help me to solve it? tnx

xyzsam commented 7 years ago

You need to install the curses library. On Ubuntu: sudo apt-get install libncurses-dev

MasoomehJasemi commented 7 years ago

Tnx a lot for your response, i solved it.

Sent from my iPhone

On 31 Jan 2017, at 20:52, Sam Xi notifications@github.com wrote:

You need to install the curses library. On Ubuntu: sudo apt-get install libncurses-dev

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.