Howdy ,
Our team purchased your UnrealAR Commercial Licence, works great in the editor - but it does not package for Android ETC2. The errors when packaging using UE 4.13-release are displayed below. It seems to involve FJavaWrapper Syntax, but our team is not specialized in this sort of thing.
1>------ Skipped Build: Project: ShaderCompileWorker, Configuration: Development_Program Tegra-Android ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: Sept4th, Configuration: Development_Game Tegra-Android ------
2> Performing full C++ include scan (building a new target)
2> Performing 7 actions (4 in parallel)
2> [1/7] clang++.exe Module.ARToolkitPlugin.cpp [armv7-es2]
2> [3/7] clang++.exe Module.VRGripMotionControllerPlugin.cpp [armv7-es2]
2> [2/7] clang++.exe VRGripMotionControllerPlugin.generated.cpp [armv7-es2]
2> [4/7] clang++.exe Module.SteamVR.cpp [armv7-es2]
2> In file included from <built-in>:358:
2><command line>(73,9): error : ‘WITH_APEX’ macro redefined -Werror,-Wmacro-redefined]
2> #define WITH_APEX 1
2> ^
2> <command line>(71,9) : note: previous definition is here
2> #define WITH_APEX 0
2> ^
2> In file included from <built-in>:358:
2><command line>(73,9): error : ‘WITH_APEX’ macro redefined -Werror,-Wmacro-redefined]
2> #define WITH_APEX 1
2> ^
2> <command line>(71,9) : note: previous definition is here
2> #define WITH_APEX 0
2> ^
2> In file included from F:/UnrealEngine-4.13.0-release/Engine/Plugins/VRGripMotionControllerPlugin/Intermediate/Build/Android/Sept4th/Development/VRGripMotionControllerPlugin/Module.VRGripMotionControllerPlugin.cpp:2:
2>F:\UnrealEngine-4.13.0-release\Engine\Plugins\VRGripMotionControllerPlugin\Source\VRGripMotionControllerPlugin\Private\GripMotionControllerComponent.cpp(245,14): warning : declaration shadows a field of ‘UGripMotionControllerComponent’ -Wshadow]
2> FVector OriginalPosition(GrippedActors*.Actor->GetActorLocation());
2> ^
2> …/Plugins/VRGripMotionControllerPlugin/Source/VRGripMotionControllerPlugin/Public\GripMotionControllerComponent.h(88,10) : note: previous declaration is here
2> FVector OriginalPosition;
2> ^
2> In file included from F:/UnrealEngine-4.13.0-release/Engine/Plugins/VRGripMotionControllerPlugin/Intermediate/Build/Android/Sept4th/Development/VRGripMotionControllerPlugin/Module.VRGripMotionControllerPlugin.cpp:2:
2>F:\UnrealEngine-4.13.0-release\Engine\Plugins\VRGripMotionControllerPlugin\Source\VRGripMotionControllerPlugin\Private\GripMotionControllerComponent.cpp(246,15): warning : declaration shadows a field of ‘UGripMotionControllerComponent’ -Wshadow]
2> FRotator OriginalOrientation(GrippedActors*.Actor->GetActorRotation());
2> ^
2> …/Plugins/VRGripMotionControllerPlugin/Source/VRGripMotionControllerPlugin/Public\GripMotionControllerComponent.h(89,11) : note: previous declaration is here
2> FRotator OriginalOrientation;
2> ^
2> In file included from F:/UnrealEngine-4.13.0-release/Sept4th/Plugins/ARToolkitPlugin/Intermediate/Build/Android/Sept4th/Development/ARToolkitPlugin/Module.ARToolkitPlugin.cpp:3:
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(164,38): error : no member named ‘Buffer’ in ‘FJavaWrapper’
2> gARTImage = (ARUint8*)FJavaWrapper::Buffer; //for AR Toolkit
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(198,20): error : no member named ‘newFrame’ in ‘FJavaWrapper’
2> if (FJavaWrapper::newFrame == false) return; //Do not update the texture if no new frame is available
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(202,15): error : no member named ‘FrameWidth’ in ‘FJavaWrapper’; did you mean simply ‘FrameWidth’?
2> int width = FJavaWrapper::FrameWidth;
2> ^~
2> FrameWidth
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(38,12) : note: ‘FrameWidth’ declared here
2> extern int FrameWidth;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(203,16): error : no member named ‘FrameHeight’ in ‘FJavaWrapper’; did you mean simply ‘FrameHeight’?
2> int height = FJavaWrapper::FrameHeight;
2> ^~~~~~~~~~~~~~~~~~~
2> FrameHeight
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(39,12) : note: ‘FrameHeight’ declared here
2> extern int FrameHeight;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(204,41): error : no member named ‘Buffer’ in ‘FJavaWrapper’
2> char* yuv420sp = (char*)FJavaWrapper::Buffer;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(207,22): error : no member named ‘Buffer’ in ‘FJavaWrapper’
2> if (!FJavaWrapper::Buffer) return;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(262,17): error : no member named ‘newFrame’ in ‘FJavaWrapper’
2> FJavaWrapper::newFrame = false; //Frame processed waiting for a new one
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(358,74): warning : declaration shadows a field of ‘FARToolkitDevice’ -Wshadow]
2> bool FARToolkitDevice::Init(bool showPIN, int devNum, EDeviceOrientation deviceOrientation, EArPatternDetectionMode detectionMode, int32&WebcamResX, int32&WebcamResY, bool&fr){
2> ^
2> …/…/Sept4th/Plugins/ARToolkitPlugin/Source/ARToolkitPlugin/Public\ARToolkitDevice.h(152,23) : note: previous declaration is here
2> EDeviceOrientation deviceOrientation;
2> ^
2> In file included from F:/UnrealEngine-4.13.0-release/Sept4th/Plugins/ARToolkitPlugin/Intermediate/Build/Android/Sept4th/Development/ARToolkitPlugin/Module.ARToolkitPlugin.cpp:3:
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(432,46): error : no member named ‘FrameWidth’ in ‘FJavaWrapper’; did you mean simply ‘FrameWidth’?
2> WebcamTexture = UTexture2D::CreateTransient(FJavaWrapper::FrameWidth, FJavaWrapper::FrameHeight);
2> ^~
2> FrameWidth
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(38,12) : note: ‘FrameWidth’ declared here
2> extern int FrameWidth;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(432,72): error : no member named ‘FrameHeight’ in ‘FJavaWrapper’; did you mean simply ‘FrameHeight’?
2> WebcamTexture = UTexture2D::CreateTransient(FJavaWrapper::FrameWidth, FJavaWrapper::FrameHeight);
2> ^~~~~
2> FrameHeight
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(39,12) : note: ‘FrameHeight’ declared here
2> extern int FrameHeight;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(435,15): error : no member named ‘FrameWidth’ in ‘FJavaWrapper’; did you mean simply ‘FrameWidth’?
2> WebcamResX = FJavaWrapper::FrameWidth;
2> ^~~~~~~~~~~~~~~~~~~~~~~~
2> FrameWidth
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(38,12) : note: ‘FrameWidth’ declared here
2> extern int FrameWidth;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(436,15): error : no member named ‘FrameHeight’ in ‘FJavaWrapper’; did you mean simply ‘FrameHeight’?
2> WebcamResY = FJavaWrapper::FrameHeight;
2> ^~~~~~~~~~~~~~~~~~~~~~~~~
2> FrameHeight
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(39,12) : note: ‘FrameHeight’ declared here
2> extern int FrameHeight;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(439,10): error : no member named ‘FrameWidth’ in ‘FJavaWrapper’; did you mean simply ‘FrameWidth’?
2> xsize = FJavaWrapper::FrameWidth;
2> ^~~~~~~~~~~~~~~~~~~~~~~~
2> FrameWidth
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(38,12) : note: ‘FrameWidth’ declared here
2> extern int FrameWidth;
2> ^
2>F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(440,10): error : no member named ‘FrameHeight’ in ‘FJavaWrapper’; did you mean simply ‘FrameHeight’?
2> ysize = FJavaWrapper::FrameHeight;
2> ^~~~~~~~~~~~~~~~~~~~~~~~~
2> FrameHeight
2> F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Source\ARToolkitPlugin\Private\ARToolkitDevice.cpp(39,12) : note: ‘FrameHeight’ declared here
2> extern int FrameHeight;
2> ^
2> In file included from F:/UnrealEngine-4.13.0-release/Sept4th/Intermediate/Build/Android/Sept4th/Development/SteamVR/Module.SteamVR.cpp:4:
2>F:\UnrealEngine-4.13.0-release\Engine\Plugins\Runtime\Steam\SteamVR\Source\SteamVR\Private\SteamVRHMD.cpp(66,18): error : extra qualification on member ‘FSteamVRPlugin’
2> FSteamVRPlugin::FSteamVRPlugin()
2> ~~~~~~~~~~~~~~~~^
2> 1 error generated.
2> 2 warnings and 1 error generated.
2> 1 warning and 13 errors generated.
2> 1 error generated.
2>ERROR : UBT error : Failed to produce item: F:\UnrealEngine-4.13.0-release\Sept4th\Plugins\ARToolkitPlugin\Binaries\Android\Sept4th-ARToolkitPlugin-armv7-es2.a
2> Total build time: 26.48 seconds
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.targets(41,5): error MSB3075: The command “…..\Build\BatchFiles\Build.bat Sept4th Android Development -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 1 skipped ==========
UE4.10,4.11,4.12 no longer build using VS2015, so perhaps you can address this issue in the near future. Otherwise your plugin is… -_- !!