xva-img icon indicating copy to clipboard operation
xva-img copied to clipboard

cmake error version

Open changemenemo opened this issue 6 years ago • 9 comments

are you able to update your project accordingly or not?

CMake Warning (dev) at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.4 is not supported by CMake >= 3.0.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:6 (PROJECT):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!

changemenemo avatar May 15 '18 14:05 changemenemo

I will try with a newer CMake and make sure it's working after changing the CMAKE_MINIMUM_REQUIRED (to eg. 2.4).

You may if you want to, try it and if it's working create a pull request .

eriklax avatar May 15 '18 14:05 eriklax

do you think that only the change of number of version is enough?

changemenemo avatar May 15 '18 14:05 changemenemo

Of course the CMAKE_CXX_COMPILER error requires a c++ compiler to be installed and set up for CMake or as a quick fix setting CXX env to clang++ or g++.

eriklax avatar May 15 '18 14:05 eriklax

yeah but the compiler is not a problem ... it is more about the cmake version for sure

changemenemo avatar May 15 '18 15:05 changemenemo

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
  OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.10/Modules/FindOpenSSL.cmake:390 (find_package_handle_standard_args)
  CMakeLists.txt:7 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

changemenemo avatar May 15 '18 15:05 changemenemo

I don't know if it is related but: openssl is already the newest version (1.1.0g-2ubuntu4)

changemenemo avatar May 15 '18 15:05 changemenemo

is this the package where you are refering to in your build?

changemenemo avatar May 15 '18 15:05 changemenemo

any ideas? It would be nice that I would be able asap to convert some important vm xva into img

changemenemo avatar May 16 '18 04:05 changemenemo

sorry i didn't realise that I had to install libssl-dev. It works apparently. I'm going to do some test but the installation went okey

changemenemo avatar May 16 '18 04:05 changemenemo