Giter Club home page Giter Club logo

Comments (3)

jbrdbg avatar jbrdbg commented on May 30, 2024

CMake 3.16 works also fine. We will investigate this issue and provide a fix in a future release.

from vvenc.

brixium avatar brixium commented on May 30, 2024

I compiled it successfully in Debian 10, which ships CMake version 3.13.4.

from vvenc.

lvaschmidt avatar lvaschmidt commented on May 30, 2024

That seems consistent with what I would expect, since I read somewhere that CMake 3.13 added a new place it could look for targets.

When I compile on CMake 3.13.0

[root@server vvenc]# /root/cmakevs/cmake-3.13.0/bin/cmake --version
cmake version 3.13.0

CMake suite maintained and supported by Kitware (kitware.com/cmake).
[root@server vvenc]# /root/cmakevs/cmake-3.13.0/bin/cmake .
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/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: /opt/rh/devtoolset-7/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/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: updating module path to: /root/vvc/vvenc/cmake/modules
-- 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  
-- Configuring done
-- Generating done
-- Build files have been written to: /root/vvc/vvenc

When I try to compile with CMake 3.12.4

[root@server vvenc]# /root/cmakevs/cmake-3.12.4/bin/cmake --version
cmake version 3.12.4

CMake suite maintained and supported by Kitware (kitware.com/cmake).
[root@server vvenc]# /root/cmakevs/cmake-3.12.4/bin/cmake .
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/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: /opt/rh/devtoolset-7/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/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: updating module path to: /root/vvc/vvenc/cmake/modules
-- 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  
CMake Error at cmake/modules/vvencInstall.cmake:11 (install):
  install TARGETS given target "vvenc" which does not exist in this
  directory.
Call Stack (most recent call first):
  cmake/modules/vvencInstall.cmake:53 (install_targets)
  CMakeLists.txt:348 (include)


CMake Error at cmake/modules/vvencInstall.cmake:11 (install):
  install TARGETS given target "vvenc" which does not exist in this
  directory.
Call Stack (most recent call first):
  cmake/modules/vvencInstall.cmake:54 (install_targets)
  CMakeLists.txt:348 (include)


CMake Error at cmake/modules/vvencInstall.cmake:11 (install):
  install TARGETS given target "vvenc" which does not exist in this
  directory.
Call Stack (most recent call first):
  cmake/modules/vvencInstall.cmake:55 (install_targets)
  CMakeLists.txt:348 (include)


-- Configuring incomplete, errors occurred!
See also "/root/vvc/vvenc/CMakeFiles/CMakeOutput.log".
See also "/root/vvc/vvenc/CMakeFiles/CMakeError.log".

It seems to me that required CMake version is minimum 3.13.0.

from vvenc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.