Photon-AndroidNDK-Sdk_v4-1-8-1 on Windows with VS2017 and the latest VisualGDB fails

Hi Again

I am using VS2017 and downloaded the latest VisualGDB and installed it BUT the Android NDK project fails as follows:

1>------ Build started: Project: AndroidLoadBalancing-cpp, Configuration: Debug Win32 ------
1>VisualGDB: using project file C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp\AndroidLoadBalancing-cpp.vcxproj
1>VisualGDB: using solution file C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp\AndroidLoadBalancing-cpp.sln
1>VisualGDB: using configuration Debug
1>VisualGDB: Attempting inline build (Build)...
1>VisualGDB: Trying to detect if your Makefiles need updating... Using configuration: Debug|Win32
1>VisualGDB: Found a makefile: C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp\jni\Android.mk
1>VisualGDB: Found 24 source file(s):
1> ../src/AuthenticationValues.cpp
1> ../src/Client.cpp
1> ../src/FriendInfo.cpp
1> ../src/Internal/AuthenticationValuesSecretSetter.cpp
1> ../src/Internal/MutablePlayerFactory.cpp
1> ../src/Internal/MutableRoomFactory.cpp
1> ../src/Internal/PlayerFactory.cpp
1> ../src/Internal/PlayerMovementInformant.cpp
1> ../src/Internal/PlayerMutableRoomPointerSetter.cpp
1> ../src/Internal/PlayerPropertiesCacher.cpp
1> ../src/Internal/PlayerPropertiesUpdateInformant.cpp
1> ../src/Internal/RoomFactory.cpp
1> ../src/Internal/RoomPropertiesCacher.cpp
1> ../src/Internal/Utils.cpp
1> ../src/LobbyStatsRequest.cpp
1> ../src/LobbyStatsResponse.cpp
1> ../src/MutablePlayer.cpp
1> ../src/MutableRoom.cpp
1> ../src/Peer.cpp
1> ../src/Player.cpp
1> ../src/RaiseEventOptions.cpp
1> ../src/Room.cpp
1> ../src/RoomOptions.cpp
1> ../src/WebFlags.cpp
1>VisualGDB: Found 0 excluded file(s) for current configuration:
1>VisualGDB: No source changes detected. C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp\jni\Android.mk needs no updating.
1>VisualGDB: Undefined command-line command
1>-------------------------------------------------------------
1>Command exited with code -1
1>Executable:
1>Arguments: NDK_DEBUG=1 APP_PLATFORM=android-9 VGDB_VSCONFIG=Debug
1>Directory: C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp
1>Environment: EFP_BASE=C:/Users/peter/AppData/Local/VisualGDB/EmbeddedEFPs|TESTFW_BASE=C:/Users/peter/AppData/Local/VisualGDB/TestFrameworks
1>VisualGDB : error : Command-line action failed
1>VisualGDB : error : Build has failed. See the Output window for more details.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Program Files (x86)\Sysprogs\VisualGDB\\VisualGDB.exe" /build "C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp\AndroidLoadBalancing-cpp.vcxproj" "/solution:C:\Users\peter\Dev\Photon\SDK\Photon-AndroidNDK-Sdk_v4-1-8-1\LoadBalancing-cpp\AndroidLoadBalancing-cpp.sln" "/config:Debug" "/platform:Win32"" exited with code 1.
1>Done building project "AndroidLoadBalancing-cpp.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Thanks very much

Comments

  • Forget this post - did not actually install the NDK etc. Silly me
    Regards
    Peter