AnsweredAssumed Answered

Issue Building StatusMonitor Ubuntu 16.04

Question asked by gofaster on Jun 4, 2016

I'm trying to build; https://github.com/GPUOpen-ProfessionalCompute-Tools/StatusMonitor on Ubuntu 16.04 but am getting errors. Output shown below.  Anyone know what the issue might be and how to correct it?

 

Lenovo G770 Laptop with 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6630M/6650M/6750M/7670M/7690M]

 

stephen@stephen-Lenovo-G770:~/StatusMonitor$ cmake /home/stephen/StatusMonitor/src

-- The C compiler identification is GNU 5.3.1

-- The CXX compiler identification is GNU 5.3.1

-- Check for working C compiler: /usr/bin/cc

-- Check for working C compiler: /usr/bin/cc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Detecting C compile features

-- Detecting C compile features - 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

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- CMAKE_MODULE_PATH=/home/stephen/StatusMonitor/src/cmake;/home/stephen/StatusMonitor/src/../cmake

-- OPENCL_INCLUDE_DIRS: /opt/AMDAPPSDK-3.0/include

-- Looking for CL_VERSION_2_0

-- Looking for CL_VERSION_2_0 - found

-- Looking for CL_VERSION_1_2

-- Looking for CL_VERSION_1_2 - found

-- Looking for CL_VERSION_1_1

-- Looking for CL_VERSION_1_1 - found

-- FindOpenCL searching for 64-bit libraries

-- Found OPENCL: /opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so (found version "2.0")

-- FindOpenCL /opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so, /opt/AMDAPPSDK-3.0/include

-- OPENCL_INCLUDE_DIRS=/opt/AMDAPPSDK-3.0/include

-- Looking for pthread.h

-- Looking for pthread.h - found

-- Looking for pthread_create

-- Looking for pthread_create - not 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 

-- Try OpenMP C flag = [-fopenmp]

-- Performing Test OpenMP_FLAG_DETECTED

-- Performing Test OpenMP_FLAG_DETECTED - Success

-- Try OpenMP CXX flag = [-fopenmp]

-- Performing Test OpenMP_FLAG_DETECTED

-- Performing Test OpenMP_FLAG_DETECTED - Success

-- Found OpenMP: -fopenmp 

-- PROJECT_SOURCE_DIR=/home/stephen/StatusMonitor/src

-- PROJECT_SOURCE_DIR/include=/home/stephen/StatusMonitor/src/include

-- PROJECT_SOURCE_DIR/src/include=/home/stephen/StatusMonitor/src/src/include

-- Configuring done

-- Generating done

-- Build files have been written to: /home/stephen/StatusMonitor

stephen@stephen-Lenovo-G770:~/StatusMonitor$ make

Scanning dependencies of target StatusMonitor

[ 20%] Building CXX object CMakeFiles/StatusMonitor.dir/StatusMonitorData.cpp.o

[ 40%] Building CXX object CMakeFiles/StatusMonitor.dir/HealthTest.cpp.o

[ 60%] Building CXX object CMakeFiles/StatusMonitor.dir/threadManagement.cpp.o

[ 80%] Building CXX object CMakeFiles/StatusMonitor.dir/timer.cpp.o

make[2]: *** No rule to make target '/opt/AMDAPPSDK-3.0/lib/x86_64/libOpenCL.so', needed by 'staging/StatusMonitor'. Stop.

CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/StatusMonitor.dir/all' failed

make[1]: *** [CMakeFiles/StatusMonitor.dir/all] Error 2

Makefile:83: recipe for target 'all' failed

make: *** [all] Error 2

Outcomes