Cmake error at cef_variables

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Cmake error at cef_variables

Postby rsharma07 » Thu Jan 21, 2021 4:09 am

I have cloned a cef branch 4324 and build it. After building, during creation of binary distributable it gives some cmake error from file cmake/cef_variables.cmake:29, Can anyone help me please?

Code: Select all
[vcvarsall.bat] Environment initialized for: 'x86'
-- The C compiler identification is MSVC 19.13.26132.0
-- The CXX compiler identification is MSVC 19.13.26132.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- 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: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:208 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable CEF_ROOT is set to:

    F:/username/upgradeTo4324/4324/chromium/src/cef/binary_distrib/cef_binary_88.37.6+g7437451+chromium-88.0.4324.27_windows32

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/cef_variables.cmake:29 (if):
  if given arguments:

    "OS_WINDOWS" "AND" "STREQUAL" "arm64"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/FindCEF.cmake:38 (include)
  CMakeLists.txt:208 (find_package)


-- Configuring incomplete, errors occurred!
See also "F:/username/upgradeTo4324/4324/chromium/src/cef/binary_distrib/cef_binary_88.37.6+g7437451+chromium-88.0.4324.27_windows32/debugWrapper32/CMakeFiles/CMakeOutput.log".
ninja: error: loading 'build.ninja': The system cannot find the file specified.

File not found - libcef_dll_wrapper.lib
0 File(s) copied
File not found - libcef_dll_wrapper.pdb
0 File(s) copied
-- The C compiler identification is MSVC 19.13.26132.0
-- The CXX compiler identification is MSVC 19.13.26132.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- 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: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:208 (find_package):
  Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
  Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  CMake variable CEF_ROOT is set to:

    F:/username/upgradeTo4324/4324/chromium/src/cef/binary_distrib/cef_binary_88.37.6+g7437451+chromium-88.0.4324.27_windows32

  For compatibility, CMake is ignoring the variable.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/cef_variables.cmake:29 (if):
  if given arguments:

    "OS_WINDOWS" "AND" "STREQUAL" "arm64"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/FindCEF.cmake:38 (include)
  CMakeLists.txt:208 (find_package)


-- Configuring incomplete, errors occurred!
See also "F:/username/upgradeTo4324/4324/chromium/src/cef/binary_distrib/cef_binary_88.37.6+g7437451+chromium-88.0.4324.27_windows32/releaseWrapper32/CMakeFiles/CMakeOutput.log".
ninja: error: loading 'build.ninja': The system cannot find the file specified.

File not found - libcef_dll_wrapper.lib
0 File(s) copied
File not found - libcef_dll_wrapper.pdb
0 File(s) copied


CEF Branch 4324,
Visual Studio 2017,
OS Window ,
Cmake version 3.12.4
rsharma07
Techie
 
Posts: 17
Joined: Wed Oct 21, 2020 4:12 am

Re: Cmake error at cef_variables

Postby magreenblatt » Thu Jan 21, 2021 11:12 am

Thanks for the report. Now fixed in this commit.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 36 guests