adynathos / AugmentedUnreality

Augmented reality for Unreal Engine 4
Other
288 stars 114 forks source link

support for Unreal Engine 4.17 #11

Closed Alolag closed 6 years ago

Alolag commented 7 years ago

Is their any support for Unreal Engine 4.17?

ANURAGX commented 7 years ago

For me this plugin is working fine, but haven't by tracking aruco or fiducial markers. The most important thing is that it will compile successfully with UE 4.17.

adynathos commented 7 years ago

I did not try compiling it with 4.17 yet, I will let you know once i do. The easiest way is to try and see if it builds or not.

Fiducial markers are tracked using OpenCV, so the changes in Unreal should have no effect on them.

rubenalvesbcn commented 6 years ago

I've tried to use the plugin with Unreal 4.17.2 on Linux but I had problems. dlopen failed: libopencv_ml.so.3.2: cannot open shared object file:

I couldn't find this library: find . -name libopencv_ml.so.3.2

I'll try to compile OpenCV to see if it works.

adynathos commented 6 years ago

@rubenalvesbcn libopencv_ml.so

The ml module is not used in the plugin, so I wonder why it is referenced. Maybe if I make a new build of OpenCV with the unused modules explicitly disabled, it will not be referenced. The included OpenCV build script should build just the needed modules.

GameCreatures commented 6 years ago

I'm currently trying to use it in 4.18 and I' also having a lot of trouble. fatal error: '../../../Core/Public/Android/AndroidApplication.h' file not found

ANURAGX commented 6 years ago

Replace that line with the below one, and the issue will be resolved.

include "../../../ApplicationCore/Public/Android/Application.h"

On Fri, Dec 29, 2017, 10:16 PM Alex notifications@github.com wrote:

I'm currently trying to use it in 4.18 and I' also having a lot of trouble. fatal error: '../../../Core/Public/Android/AndroidApplication.h' file not found

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adynathos/AugmentedUnreality/issues/11#issuecomment-354470009, or mute the thread https://github.com/notifications/unsubscribe-auth/AE9XSyLgtYrrhsFk3aIQia7vS7p0Mqvvks5tFRdvgaJpZM4PLJF_ .

GameCreatures commented 6 years ago

I changed that directory and now i'm getting a lot of this errors for each class. LogPlayLevel: E:/Programs/AndroidWorks/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: C:/Users/AlexRivera/Documents/Unreal Projects/AugmentedUnrealityEx/Plugins/AugmentedUnreality/Binaries/Android/UE4-AugmentedUnreality-armv7-es2.a(Module.Aug mentedUnreality.gen.cpp-armv7-es2.o): multiple definition of 'Z_Construct_UClass_UAURDriver()' Thanks in advance

ANURAGX commented 6 years ago

Just clean your project . Delete saved, intermediate and binaries folder and do the launch again.

This should fix his linking error.

On Sat, Dec 30, 2017, 12:08 AM Alex notifications@github.com wrote:

I changed that directory and now i'm getting a lot of this errors for each class. LogPlayLevel: E:/Programs/AndroidWorks/android-ndk-r12b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: C:/Users/AlexRivera/Documents/Unreal Projects/AugmentedUnrealityEx/Plugins/AugmentedUnreality/Binaries/Android/UE4-AugmentedUnreality-armv7-es2.a(Module.Aug mentedUnreality.gen.cpp-armv7-es2.o): multiple definition of 'Z_Construct_UClass_UAURDriver()'

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adynathos/AugmentedUnreality/issues/11#issuecomment-354483978, or mute the thread https://github.com/notifications/unsubscribe-auth/AE9XS-pbpS9Z4qKXFV3MM44hn7UXwCTSks5tFTG9gaJpZM4PLJF_ .

GameCreatures commented 6 years ago

Thank you @ANURAGX for the help. I managed to compile it and it worked. Sadly I couldn't get it to work mixed with the Ar core plugin but still I'll be able to show my idea thanks to you.

ANURAGX commented 6 years ago

No problem man.

On Wed, Jan 3, 2018, 4:32 PM Alex notifications@github.com wrote:

Thank you @ANURAGX https://github.com/anuragx for the help. I managed to compile it and it worked. Sadly I couldn't get it to work mixed with the Ar core plugin but still I'll be able to show my idea thanks to you.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/adynathos/AugmentedUnreality/issues/11#issuecomment-354986277, or mute the thread https://github.com/notifications/unsubscribe-auth/AE9XSxQTqazt4kqNZou47aVBspbso26Vks5tG15XgaJpZM4PLJF_ .

adynathos commented 6 years ago

I am working on a new build for the current UE. Seems to be working so far, here is the preview download (currently binaries only for Win64).

Version 1.2.03 - updated for UE 4.18.2, OpenCV 3.4.0, gstreamer 1.12.4 - preview download:

jakwarne commented 6 years ago

Hi adynathos, I have been trying the example project for 4.18.3

I had the same issue as 'GameCreatures' posted above.('../../../Core/Public/Android/AndroidApplication.h' file not found)

If the answer is to change the line to (#include "../../../ApplicationCore/Public/Android/Application.h) where do I change this?

thanks

adynathos commented 6 years ago

Please try the new release 1.2.04 where this is fixed.

jakwarne commented 6 years ago

Ok, I will do that :)

Thanks for replying so fast

jakwarne commented 6 years ago

Hi adynathos,

I have a few more questions...

1) In 4.19, which would you recommend to start building a mobile AR app...

2) If I need to use multiple trackers this means I definitely need to use your plugin right? because UE4 didn't add that feature yet?

Thanks

jakwarne commented 6 years ago

...Also for others who might have encountered this error when compiling...

"System.ArgumentException: Staged filesystem references cannot end with path separators"

I changed some things that seemed to fix the error...

In "Project Settings - Packaging" under "Staging Directory" check that the path is suitable. (it was set to build in a D: drive but I only have a C: drive)

and also in "Project Settings - Packaging" under "Additional Non-Asset Directories to Copy" I deleted the empty entry in there. (not sure if that part is necessary but I don't think it needs to be there anyway)