Closed qchong closed 7 years ago
thank you for the report: it is real and interesting issue, now I realized, in a sense:
Before that, windows platform would not be able to generate Android Studio project files; it is not that bad though -- all Android Project are already inside github repo, no need to re-generate it if default stl-type (gnustl-static) is ok.
I've reviewed the README.md (https://github.com/googlesamples/vulkan-basic-samples/blob/master/README.md) and the Wiki page (https://github.com/googlesamples/vulkan-basic-samples/wiki/Updating-project-file).
For README.md:
For the wiki page:
APP_STL
:
../../../ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=Android.mk APP_STL:=[gnustl_static|gnustl_shared|c++_static|c++_shared] APP_ABI=[armeabi-v7a|arm64-v8a|x86|x86_64|all] libshaderc_combined -j16
-s
and -g
command options are unrecognized by Windows. Should this be --sync-glslang
and --build-glslang
?1) as of today: building shaderc is a MUST 2) On windows, need to follow the upstream windows instruction to set up the machine, then do android specific steps in this repo. in other words, this repo's instruction is Additional steps to the upstream instruction for Windows.
again, on Windows, steps inside "Windows System Requirements" must be followed before updating project, if you choose to update it.
closing down this, reopen when necessary. Thanks
In the Vulkan Getting Started guide, this command works for Linux and Mac:
$ cmake -DANDROID=ON -DANDROID_ABI=[armeabi-v7a|arm64-v8a| x86|x86_64|all(default)]
However, running the equivalent command in Windows returns errors: e.g.
Please provide an equivalent way to do this in Windows without requiring users to install VS.