8000 Could NOT find OpenCL (missing: OpenCL_LIBRARY) (found version "2.2") · Issue #449 · Creepsky/creepMiner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Could NOT find OpenCL (missing: OpenCL_LIBRARY) (found version "2.2") #449
@josergc

Description

@josergc

Before submitting your issue, please review the following checklist:

  • AVOID using the issue tracker for questions or help.
    Submitting issues to this repository are usually reserved for bugs, feature requests, or changes to the source code. We have a great discord to ask for help here: https://discord.gg/qnjyVQt
  • DO include log files.
  • [N/A] DO include the miner config.
  • DO describe the operating system for the Server and Client (Windows / Linux). Also, the run-time platform and versions.

Subject of the issue

Compilation error

Your environment

  • version of creepMiner.
    commit 688e153 (grafted, HEAD -> master, tag: 1.9.0, origin/master, origin/HEAD)
  • version of OS.
    Fedora 26, CUDA 9.1
  • which browser and its version.
    N/A

Steps to reproduce

Compiling master branch, with

cmake CMakeLists.txt

I get

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenCL (missing: OpenCL_LIBRARY) (found version "2.2")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenCL.cmake:138 (find_package_handle_standard_args)
  CMakeLists.txt:99 (find_package)

Expected behavior

Compilation success

Actual behavior

Compilation failed

Other information

Output logs:

$ cmake CMakeLists.txt 
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Current conanbuildinfo.cmake directory: /xxx/burstcoin/creepMiner
-- Conan: Compiler GCC>=5, checking major version 7
-- Conan: Checking correct version: 7
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenCL (missing: OpenCL_LIBRARY) (found version "2.2")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenCL.cmake:138 (find_package_handle_standard_args)
  CMakeLists.txt:99 (find_package)

From CMakeOutput.log:

Determining if the CL_VERSION_2_2 exist passed with the following output:
Change Dir: /xxx/burstcoin/creepMiner/CMakeFiles/CMakeTmp

Run Build Command:"/bin/gmake" "cmTC_5497a/fast"
/bin/gmake -f CMakeFiles/cmTC_5497a.dir/build.make CMakeFiles/cmTC_5497a.dir/build
gmake[1]: Entering directory '/xxx/burstcoin/creepMiner/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_5497a.dir/CheckSymbolExists.c.o
/bin/cc    -o CMakeFiles/cmTC_5497a.dir/CheckSymbolExists.c.o   -c /xxx/burstcoin/creepMiner/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_5497a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5497a.dir/link.txt --verbose=1
/bin/cc        -rdynamic CMakeFiles/cmTC_5497a.dir/CheckSymbolExists.c.o  -o cmTC_5497a 
gmake[1]: Leaving directory '/xxx/burstcoin/creepMiner/CMakeFiles/CMakeTmp'

File /xxx/burstcoin/creepMiner/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include </usr/include/CL/cl.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef CL_VERSION_2_2
  return ((int*)(&CL_VERSION_2_2))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0