سلام.مرسی.متوجه شدم. نه.اونجا که مدش رو انتخاب کردیم. debug بود و release که اینجا debug رو انتخاب کردیم. همون خط ۳ مشکل داره:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_HOST_ARCH=i386 -DESESC_QEMU_ISA=armel ~/projs/esesc
وقتی میزنیم چندتا error میده :
lili@ubuntu:~/build/esesc-debug$ cmake -DCMAKE_BUILD_TYPE=Debug ~/projs/esesc
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
cmake configuration options:
-DENABLE_QEMU_USER=1 User Mode QEMU (qemu must be compiled first) (default)
-DENABLE_CUDA=0 Disable CUDA support for QEMU-user (default)
-DENABLE_PEQ=0 Disable Equation based power model Fusupport (default)
-DESESC_FUZE=0 Disable Instruction Fusion support
-DESESC_QEMU_ISA=sparc32 qemu/sparc32 ISA (default)
-DCMAKE_HOST_ARCH=native native (64bit more likely) compilation (default)
-DCMAKE_BUILD_TYPE=Debug debug compilation options
-- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Looking for XOpenDisplay in /usr/lib/libX11.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
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:
ZLIB_LIBRARY (ADVANCED)
linked by target "cactify" in directory /home/lili/projs/esesc/pwth/libcacti
linked by target "wattchify" in directory /home/lili/projs/esesc/pwth/libwattch
linked by target "panalyzer" in directory /home/lili/projs/esesc/pwth/libpanal
linked by target "esesc" in directory /home/lili/projs/esesc/main
linked by target "lsqtest" in directory /home/lili/projs/esesc/main
linked by target "membench" in directory /home/lili/projs/esesc/main
linked by target "qemumain" in directory /home/lili/projs/esesc/main
linked by target "qemumin" in directory /home/lili/projs/esesc/main
-- Configuring incomplete, errors occurred
[/glow]
سلام.مرسی.متوجه شدم. نه.اونجا که مدش رو انتخاب کردیم. debug بود و release که اینجا debug رو انتخاب کردیم. همون خط ۳ مشکل داره:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_HOST_ARCH=i386 -DESESC_QEMU_ISA=armel ~/projs/esesc
وقتی میزنیم چندتا error میده :
lili@ubuntu:~/build/esesc-debug$ cmake -DCMAKE_BUILD_TYPE=Debug ~/projs/esesc
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
cmake configuration options:
-DENABLE_QEMU_USER=1 User Mode QEMU (qemu must be compiled first) (default)
-DENABLE_CUDA=0 Disable CUDA support for QEMU-user (default)
-DENABLE_PEQ=0 Disable Equation based power model Fusupport (default)
-DESESC_FUZE=0 Disable Instruction Fusion support
-DESESC_QEMU_ISA=sparc32 qemu/sparc32 ISA (default)
-DCMAKE_HOST_ARCH=native native (64bit more likely) compilation (default)
-DCMAKE_BUILD_TYPE=Debug debug compilation options
-- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Looking for XOpenDisplay in /usr/lib/libX11.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
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:
ZLIB_LIBRARY (ADVANCED)
linked by target "cactify" in directory /home/lili/projs/esesc/pwth/libcacti
linked by target "wattchify" in directory /home/lili/projs/esesc/pwth/libwattch
linked by target "panalyzer" in directory /home/lili/projs/esesc/pwth/libpanal
linked by target "esesc" in directory /home/lili/projs/esesc/main
linked by target "lsqtest" in directory /home/lili/projs/esesc/main
linked by target "membench" in directory /home/lili/projs/esesc/main
linked by target "qemumain" in directory /home/lili/projs/esesc/main
linked by target "qemumin" in directory /home/lili/projs/esesc/main
-- Configuring incomplete, errors occurred
[/glow]
خب اگه مدش را انتخاب کردید الان دقیقا چه دستوری میزنید اخه دستور
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_HOST_ARCH=i386 -DESESC_QEMU_ISA=armel ~/projs/esesc
در حال حاضر ایراد داره
سلام.مرسی.متوجه شدم. نه.اونجا که مدش رو انتخاب کردیم. debug بود و release که اینجا debug رو انتخاب کردیم. همون خط ۳ مشکل داره:
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_HOST_ARCH=i386 -DESESC_QEMU_ISA=armel ~/projs/esesc
وقتی میزنیم چندتا error میده :
lili@ubuntu:~/build/esesc-debug$ cmake -DCMAKE_BUILD_TYPE=Debug ~/projs/esesc
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
cmake configuration options:
-DENABLE_QEMU_USER=1 User Mode QEMU (qemu must be compiled first) (default)
-DENABLE_CUDA=0 Disable CUDA support for QEMU-user (default)
-DENABLE_PEQ=0 Disable Equation based power model Fusupport (default)
-DESESC_FUZE=0 Disable Instruction Fusion support
-DESESC_QEMU_ISA=sparc32 qemu/sparc32 ISA (default)
-DCMAKE_HOST_ARCH=native native (64bit more likely) compilation (default)
-DCMAKE_BUILD_TYPE=Debug debug compilation options
-- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
-- Looking for XOpenDisplay in /usr/lib/libX11.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
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:
ZLIB_LIBRARY (ADVANCED)
linked by target "cactify" in directory /home/lili/projs/esesc/pwth/libcacti
linked by target "wattchify" in directory /home/lili/projs/esesc/pwth/libwattch
linked by target "panalyzer" in directory /home/lili/projs/esesc/pwth/libpanal
linked by target "esesc" in directory /home/lili/projs/esesc/main
linked by target "lsqtest" in directory /home/lili/projs/esesc/main
linked by target "membench" in directory /home/lili/projs/esesc/main
linked by target "qemumain" in directory /home/lili/projs/esesc/main
linked by target "qemumin" in directory /home/lili/projs/esesc/main
-- Configuring incomplete, errors occurred
[/glow]
سلام
در ابتدا لطف کنید خروجی ترمینال را داخل تگ # قرار دهید تا خواناتر باشد . اما در ادامه طبق خروجی بر روی دو کتابخانه ارور دریافت کرده اید .
-- Could NOT find ZLIB (missing: ZLIB_LIBRARIES ZLIB_INCLUDE_DIRS)
Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
لطفا این دو را نصب نمایید سپس مجددا مراحل را تکرار کنید و اگر خطایی دریافت کردید در تاپیک قرار دهید.
sudo apt-get install libncurses5-dev
sudo apt-get install zlib1g-dev