Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

build android on windows issue #25

Open
LightSun opened this issue Dec 14, 2020 · 0 comments
Open

build android on windows issue #25

LightSun opened this issue Dec 14, 2020 · 0 comments

Comments

@LightSun
Copy link

LightSun commented Dec 14, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant