Description
D:\study\github\test\flatui>ndk-build
Android NDK: WARNING:D:/study/github/test/flatui/jni/libs/freetype/../../../dependencies/flatbuffers/../flatbuffers/android/jni/Android.mk:FlatBufferTest: non-system libraries in linker flags: -latomic
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
D:/study/github/test/flatui/dependencies/flatbuffers\android\jni\build_flatc.bat cmake D:/study/github/test/flatui/dependencies/flatbuffers
Searching for Visual Studio 20
Searching for Visual Studio 19
Searching for Visual Studio 18
Searching for Visual Studio 17
Searching for Visual Studio 16
Searching for Visual Studio 15
Searching for Visual Studio 14
Generating solution for Visual Studio 14.
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error at CMakeLists.txt:3 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
系统找不到指定的文件。
-- Configuring incomplete, errors occurred!
See also "D:/study/github/test/flatui/dependencies/flatbuffers/CMakeFiles/CMakeOutput.log".
make: *** [build_flatc] Error 1
why build android need VS?