Command "cmake -G "Visual Studio 14 Win64" .." doesn't work

Having problems with building or using the JCEF Java binding? Ask your questions here.

Command "cmake -G "Visual Studio 14 Win64" .." doesn't work

Postby fpolato » Fri Nov 27, 2020 7:43 am

This is my output:
Code: Select all
λ cmake -G "Visual Studio 14 Win64" ..
-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18363.
CMake Warning (dev) at CMakeLists.txt:155 (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:

    C:/visualstudio-workspace/java-cef/third_party/cef/cef_binary_84.3.8+gc8a556f+chromium-84.0.4147.105_windows64

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

CMake Warning at third_party/cef/cef_binary_84.3.8+gc8a556f+chromium-84.0.4147.105_windows64/cmake/cef_variables.cmake:528 (message):
  ATL is not supported by your VC installation.
Call Stack (most recent call first):
  third_party/cef/cef_binary_84.3.8+gc8a556f+chromium-84.0.4147.105_windows64/cmake/FindCEF.cmake:38 (include)
  CMakeLists.txt:155 (find_package)


-- Using Python: C:/Users/fabio.polato.CSTEAM/AppData/Local/Programs/Python/Python39/python.exe
-- Generating native/jcef_version.h file...
File native/jcef_version.h is already up to date.
-- Downloading clang-format from Google Storage...
Failed to fetch file gs://chromium-clang-format/b5f5d8d5f8a8fcd2edb5b6cae37c0dc3e129c945 for tools/buildtools/win/clang-format.exe. [Err: C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\vendored\boto\boto\pyami\config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Traceback (most recent call last):
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil", line 21, in <module>
    gsutil.RunMain()
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil.py", line 123, in RunMain
    import gslib.__main__
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\__main__.py", line 75, in <module>
    from gslib.command_runner import CommandRunner
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsu0> Failed to fetch file gs://chromium-clang-format/b5f5d8d5f8a8fcd2edb5b6cae37c0dc3e129c945 for tools/buildtools/win/clang-format.exe, skipping. [Err: C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\vendored\boto\boto\pyami\config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Traceback (most recent call last):
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil", line 21, in <module>
    gsutil.RunMain()
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil.py", line 123, in RunMain
    import gslib.__main__
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\__main__.py", line 75, in <module>
    from gslib.command_runner import CommandRunner
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\exttil\gsutil_4.46\gsutil\gslib\command_runner.py", line 64, in <module>
    from gslib.tests.util import HAS_NON_DEFAULT_GS_HOST
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\tests\util.py", line 126, in <module>
    TEST_ENCRYPTION_KEY1_SHA256_B64 = Base64Sha256FromBase64EncryptionKey(
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\utils\encryption_helper.py", line 152, in Base64Sha256FromBase64EncryptionKey
    decoded_bytes = base64.decodestring(csek_encryption_key)
AttributeError: module 'base64' has no attribute 'decodestring'
]
ernal_bin\gsutil\gsutil_4.46\gsutil\gslib\command_runner.py", line 64, in <module>
    from gslib.tests.util import HAS_NON_DEFAULT_GS_HOST
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\tests\util.py", line 126, in <module>
    TEST_ENCRYPTION_KEY1_SHA256_B64 = Base64Sha256FromBase64EncryptionKey(
  File "C:\visualstudio-workspace\java-cef\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\utils\encryption_helper.py", line 152, in Base64Sha256FromBase64EncryptionKey
    decoded_bytes = base64.decodestring(csek_encryption_key)
AttributeError: module 'base64' has no attribute 'decodestring'
]
Downloading 1 files took 0.675247 second(s)
CMake Error at CMakeLists.txt:269 (message):
  Execution failed with unexpected result: 1


-- Configuring incomplete, errors occurred!
See also "C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeOutput.log".


And my CMakeOutput.log is:

Code: Select all
The system is: Windows - 10.0.18363 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: 
Build flags:
Id flags: 

The output was:
0
Microsoft (R) Build Engine versione 14.0.25420.1
Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

Compilazione avviata 27/11/2020 12:55:22.
Progetto "C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\3.19.1\CompilerIdC\CompilerIdC.vcxproj" sul nodo 1 (destinazioni predefinite).
PrepareForBuild:
  Creazione directory "Debug\".
  Creazione directory "Debug\CompilerIdC.tlog\".
InitializeBuildStatus:
  Creazione di "Debug\CompilerIdC.tlog\unsuccessfulbuild". È stato specificato "AlwaysCreate".
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TC /errorReport:queue CMakeCCompilerId.c
  CMakeCCompilerId.c
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
  CompilerIdC.vcxproj -> C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\3.19.1\CompilerIdC\.\CompilerIdC.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\cl.exe
FinalizeBuildStatus:
  Eliminazione del file "Debug\CompilerIdC.tlog\unsuccessfulbuild" in corso.
  Aggiornamento timestamp di "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Compilazione progetto "C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\3.19.1\CompilerIdC\CompilerIdC.vcxproj" (destinazioni predefinite) completata.

Compilazione completata.
    Avvisi: 0
    Errori: 0

Tempo trascorso 00:00:01.12


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"

Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"

The C compiler identification is MSVC, found in "C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/3.19.1/CompilerIdC/CompilerIdC.exe"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: 
Build flags:
Id flags: 

The output was:
0
Microsoft (R) Build Engine versione 14.0.25420.1
Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.

Compilazione avviata 27/11/2020 12:55:23.
Progetto "C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\3.19.1\CompilerIdCXX\CompilerIdCXX.vcxproj" sul nodo 1 (destinazioni predefinite).
PrepareForBuild:
  Creazione directory "Debug\".
  Creazione directory "Debug\CompilerIdCXX.tlog\".
InitializeBuildStatus:
  Creazione di "Debug\CompilerIdCXX.tlog\unsuccessfulbuild". È stato specificato "AlwaysCreate".
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /nologo /W0 /WX- /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\\" /Fd"Debug\vc140.pdb" /Gd /TP /errorReport:queue CMakeCXXCompilerId.cpp
  CMakeCXXCompilerId.cpp
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
  CompilerIdCXX.vcxproj -> C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\3.19.1\CompilerIdCXX\.\CompilerIdCXX.exe
PostBuildEvent:
  for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
  :VCEnd
  CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\cl.exe
FinalizeBuildStatus:
  Eliminazione del file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" in corso.
  Aggiornamento timestamp di "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Compilazione progetto "C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\3.19.1\CompilerIdCXX\CompilerIdCXX.vcxproj" (destinazioni predefinite) completata.

Compilazione completata.
    Avvisi: 0
    Errori: 0

Tempo trascorso 00:00:01.10


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"

Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"

The CXX compiler identification is MSVC, found in "C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/3.19.1/CompilerIdCXX/CompilerIdCXX.exe"

Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe cmTC_dc5ab.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=14.0 /v:m && Microsoft (R) Build Engine versione 14.0.25420.1

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.



  Microsoft (R) C/C++ Optimizing Compiler versione 19.00.24215.1 per x64

  Copyright (C) Microsoft Corporation. Tutti i diritti  sono riservati.

 

  CMakeCCompilerABI.c

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_dc5ab.dir\Debug\\" /Fd"cmTC_dc5ab.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CMakeCCompilerABI.c"

 

  cmTC_dc5ab.vcxproj -> C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\CMakeTmp\Debug\cmTC_dc5ab.exe

  cmTC_dc5ab.vcxproj -> C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp/Debug/cmTC_dc5ab.pdb (Full PDB)




Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe cmTC_e43f5.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=14.0 /v:m && Microsoft (R) Build Engine versione 14.0.25420.1

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.



  Microsoft (R) C/C++ Optimizing Compiler versione 19.00.24215.1 per x64

  Copyright (C) Microsoft Corporation. Tutti i diritti  sono riservati.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_e43f5.dir\Debug\\" /Fd"cmTC_e43f5.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\Program Files\CMake\share\cmake-3.19\Modules\CMakeCXXCompilerABI.cpp"

 

  CMakeCXXCompilerABI.cpp

  cmTC_e43f5.vcxproj -> C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\CMakeTmp\Debug\cmTC_e43f5.exe

  cmTC_e43f5.vcxproj -> C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp/Debug/cmTC_e43f5.pdb (Full PDB)






Detecting CXX [-std:c++14] compiler features compiled with the following output:
Change Dir: C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe cmTC_f4ecd.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=14.0 /v:m && Microsoft (R) Build Engine versione 14.0.25420.1

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.



  Microsoft (R) C/C++ Optimizing Compiler versione 19.00.24215.1 per x64

  Copyright (C) Microsoft Corporation. Tutti i diritti  sono riservati.

 

  feature_tests.cxx

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_f4ecd.dir\Debug\\" /Fd"cmTC_f4ecd.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue  -std:c++14 "C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\feature_tests.cxx"

 

  cmTC_f4ecd.vcxproj -> C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\CMakeTmp\Debug\cmTC_f4ecd.exe

  cmTC_f4ecd.vcxproj -> C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp/Debug/cmTC_f4ecd.pdb (Full PDB)




    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates
    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_variable_templates


Detecting CXX [] compiler features compiled with the following output:
Change Dir: C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe cmTC_eb86b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=14.0 /v:m && Microsoft (R) Build Engine versione 14.0.25420.1

Copyright (C) Microsoft Corporation. Tutti i diritti sono riservati.



  Microsoft (R) C/C++ Optimizing Compiler versione 19.00.24215.1 per x64

  Copyright (C) Microsoft Corporation. Tutti i diritti  sono riservati.

 

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_eb86b.dir\Debug\\" /Fd"cmTC_eb86b.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue "C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\feature_tests.cxx"

 

  feature_tests.cxx

  cmTC_eb86b.vcxproj -> C:\visualstudio-workspace\java-cef\jcef_build\CMakeFiles\CMakeTmp\Debug\cmTC_eb86b.exe

  cmTC_eb86b.vcxproj -> C:/visualstudio-workspace/java-cef/jcef_build/CMakeFiles/CMakeTmp/Debug/cmTC_eb86b.pdb (Full PDB)




    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates
    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_variable_templates


Architecture:
- Windows 10 Pro 1909
- Visual Studio 2015 Express Update 3
- cmake-3.19.1-win64-x64.
- Python 3.9

Can anyone help me?
Thanks,

Fabio
fpolato
Newbie
 
Posts: 3
Joined: Fri Nov 27, 2020 7:38 am

Re: Command "cmake -G "Visual Studio 14 Win64" .." doesn't w

Postby ndesktop » Sat Nov 28, 2020 7:39 am

"module 'base64' has no attribute 'decodestring'"
and
"Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18363."

Looks like 10.0.18363 is not installed or not found (but it might just be an informational message), and either and incorrect python is in path.
ndesktop
Master
 
Posts: 556
Joined: Thu Dec 03, 2015 10:10 am

Re: Command "cmake -G "Visual Studio 14 Win64" .." doesn't w

Postby fpolato » Mon Nov 30, 2020 11:36 am

I updated Windows SDK Version and activated ATL support in my VC Installation, but I have the same error

Code: Select all
-- Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.18363.
CMake Warning (dev) at CMakeLists.txt:155 (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:

    C:/visualstudio-workspace/java-cef/src/third_party/cef/cef_binary_84.3.8+gc8a556f+chromium-84.0.4147.105_windows64

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

-- Using Python: C:/Users/fabio.polato.CSTEAM/AppData/Local/Programs/Python/Python39/python.exe
-- Generating native/jcef_version.h file...
File native/jcef_version.h is already up to date.
-- Downloading clang-format from Google Storage...
Failed to fetch file gs://chromium-clang-format/b5f5d8d5f8a8fcd2edb5b6cae37c0dc3e129c945 for tools/buildtools/win/clang-format.exe. [Err: C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\vendored\boto\boto\pyami\config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Traceback (most recent call last):
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil", line 21, in <module>
    gsutil.RunMain()
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil.py", line 123, in RunMain
    import gslib.__main__
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\__main__.py", line 75, in <module>
    from gslib.command_runner import CommandRunner
  File "C:\visualstudio-workspace\java-cef\src\tools\buildto0> Failed to fetch file gs://chromium-clang-format/b5f5d8d5f8a8fcd2edb5b6cae37c0dc3e129c945 for tools/buildtools/win/clang-format.exe, skipping. [Err: C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\vendored\boto\boto\pyami\config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
Traceback (most recent call last):
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil", line 21, in <module>
    gsutil.RunMain()
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gsutil.py", line 123, in RunMain
    import gslib.__main__
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\__main__.py", line 75, in <module>
    from gslib.command_runner import CommandRunner
  File "C:\visualstudio-workspace\java-cef\src\ols\external_bin\gsutil\gsutil_4.46\gsutil\gslib\command_runner.py", line 64, in <module>
    from gslib.tests.util import HAS_NON_DEFAULT_GS_HOST
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\tests\util.py", line 126, in <module>
    TEST_ENCRYPTION_KEY1_SHA256_B64 = Base64Sha256FromBase64EncryptionKey(
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\utils\encryption_helper.py", line 152, in Base64Sha256FromBase64EncryptionKey
    decoded_bytes = base64.decodestring(csek_encryption_key)
AttributeError: module 'base64' has no attribute 'decodestring'
]
tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\command_runner.py", line 64, in <module>
    from gslib.tests.util import HAS_NON_DEFAULT_GS_HOST
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\tests\util.py", line 126, in <module>
    TEST_ENCRYPTION_KEY1_SHA256_B64 = Base64Sha256FromBase64EncryptionKey(
  File "C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\utils\encryption_helper.py", line 152, in Base64Sha256FromBase64EncryptionKey
    decoded_bytes = base64.decodestring(csek_encryption_key)
AttributeError: module 'base64' has no attribute 'decodestring'
]
Downloading 1 files took 0.768485 second(s)
CMake Error at CMakeLists.txt:269 (message):
  Execution failed with unexpected result: 1


-- Configuring incomplete, errors occurred!
See also "C:/visualstudio-workspace/java-cef/src/jcef_build/CMakeFiles/CMakeOutput.log".


Python path is correct
Note this line:
Code: Select all
Failed to fetch file gs://chromium-clang-format/b5f5d8d5f8a8fcd2edb5b6cae37c0dc3e129c945 for tools/buildtools/win/clang-format.exe. [Err: C:\visualstudio-workspace\java-cef\src\tools\buildtools\external_bin\gsutil\gsutil_4.46\gsutil\gslib\vendored\boto\boto\pyami\config.py:69: UserWarning: Unable to load AWS_CREDENTIAL_FILE ()
  warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)


There seems to be something wrong with the python script.
fpolato
Newbie
 
Posts: 3
Joined: Fri Nov 27, 2020 7:38 am

Re: Command "cmake -G "Visual Studio 14 Win64" .." doesn't w

Postby magreenblatt » Mon Nov 30, 2020 1:05 pm

Try using a clean cmd.exe environment without AWS-related variables set. You can also Google the "UserWarning: Unable to load AWS_CREDENTIAL_FILE" error message for more suggestions.
magreenblatt
Site Admin
 
Posts: 10919
Joined: Fri May 29, 2009 6:57 pm

Re: Command "cmake -G "Visual Studio 14 Win64" .." doesn't w

Postby fpolato » Thu Dec 03, 2020 12:28 pm

OK, I found the solution.
The problem was the python version.
Although the java-cef documentation says "Python version 2.6+ or 3+", it works for me only with Python 2.7.1
Thanks everybody
fpolato
Newbie
 
Posts: 3
Joined: Fri Nov 27, 2020 7:38 am


Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 1 guest