PC@Admin MINGW64 ~/Documents/Gitee/demo_test/Plugins/slua_unreal (master)
$ /c/Users/PC/Documents/Gitee/demo_test/Plugins/slua_unreal/make_android2.sh
-- Building for: Visual Studio 16 2019
CMake Deprecation Warning at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeForceCompiler.cmake:75 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
cmake/android.toolchain.cmake:1177 (CMAKE_FORCE_C_COMPILER)
C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:90 (include)
CMakeLists.txt:5 (project)
CMake Deprecation Warning at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeForceCompiler.cmake:89 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
cmake/android.toolchain.cmake:1189 (CMAKE_FORCE_CXX_COMPILER)
C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:90 (include)
CMakeLists.txt:5 (project)
CMake Error at CMakeLists.txt:5 (project):
Failed to run MSBuild command:
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 7/30/2021 16:27:01.
Project "C:\Users\PC\Documents\Gitee\demo_test\Plugins\slua_unreal\build_android_v7a\CMakeFiles\3.18.0-rc2\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(777,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Tegra-Android'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\Users\PC\Documents\Gitee\demo_test\Plugins\slua_unreal\build_android_v7a\CMakeFiles\3.18.0-rc2\VCTargetsPath.vcxproj]
Done Building Project "C:\Users\PC\Documents\Gitee\demo_test\Plugins\slua_unreal\build_android_v7a\CMakeFiles\3.18.0-rc2\VCTargetsPath.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\PC\Documents\Gitee\demo_test\Plugins\slua_unreal\build_android_v7a\CMakeFiles\3.18.0-rc2\VCTargetsPath.vcxproj" (default target) (1) ->
(_CheckForInvalidConfigurationAndPlatform target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(777,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Tegra-Android'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\Users\PC\Documents\Gitee\demo_test\Plugins\slua_unreal\build_android_v7a\CMakeFiles\3.18.0-rc2\VCTargetsPath.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.10
Exit code: 1
-- Configuring incomplete, errors occurred!
See also "C:/Users/PC/Documents/Gitee/demo_test/Plugins/slua_unreal/build_android_v7a/CMakeFiles/CMakeOutput.log".
Error: C:/Users/PC/Documents/Gitee/demo_test/Plugins/slua_unreal/build_android_v7a/build_android_v7a is not a directory
尝试在Window下编译Android失败
PC@Admin MINGW64 ~/Documents/Gitee/demo_test/Plugins/slua_unreal (master) $ /c/Users/PC/Documents/Gitee/demo_test/Plugins/slua_unreal/make_android2.sh -- Building for: Visual Studio 16 2019 CMake Deprecation Warning at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): cmake/android.toolchain.cmake:1177 (CMAKE_FORCE_C_COMPILER) C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:90 (include) CMakeLists.txt:5 (project)
CMake Deprecation Warning at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): cmake/android.toolchain.cmake:1189 (CMAKE_FORCE_CXX_COMPILER) C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:90 (include) CMakeLists.txt:5 (project)
CMake Error at CMakeLists.txt:5 (project): Failed to run MSBuild command:
to get the value of VCTargetsPath:
Exit code: 1
-- Configuring incomplete, errors occurred! See also "C:/Users/PC/Documents/Gitee/demo_test/Plugins/slua_unreal/build_android_v7a/CMakeFiles/CMakeOutput.log". Error: C:/Users/PC/Documents/Gitee/demo_test/Plugins/slua_unreal/build_android_v7a/build_android_v7a is not a directory
PC@Admin MINGW64 ~/Documents/Gitee/demo_test/Plugins/slua_unreal (master) $