AugmentedUnreality icon indicating copy to clipboard operation
AugmentedUnreality copied to clipboard

Compile in unreal 4.25

Open lui-shex opened this issue 3 years ago • 15 comments

Is this plugin supported unreal 4.25?

lui-shex avatar Nov 21 '20 14:11 lui-shex

I am attempting to use this plugin in UE4.25. I see that there's a commit updating the plugin to support 4.25, but I don't see an updated version of the example project with the plugin pre-built for 4.25. Is this something you can provide? I am having difficulty building it myself.

TimPeterson avatar Nov 30 '20 18:11 TimPeterson

Here is the build, you can give it a try: plugin - https://adynathos.net/projects/augmented-unreality/AugmentedUnreality_for425.7z project - https://adynathos.net/projects/augmented-unreality/AugmentedUnrealityEx_for425.7z

Please let me know whether it works. If it does I can put it on releases.

adynathos avatar Nov 30 '20 19:11 adynathos

image Hi, I tried the above project files on 4.25.3 but got errors and the project won't launch.

hammerchu avatar Dec 16 '20 05:12 hammerchu

Could you post the compilation log and error?

You can see the log/errors when building the project from an IDE (for example VS or VSCode)

adynathos avatar Dec 16 '20 09:12 adynathos

The error came from running the sample project files you post above (https://adynathos.net/projects/augmented-unreality/AugmentedUnrealityEx_for425.7z) - i wasn't compiling the code for 4.25 so i don't have access to the log.

hammerchu avatar Dec 16 '20 10:12 hammerchu

Does it's fixed?

qpaozixu avatar Jan 07 '21 03:01 qpaozixu

Please post the compilation log, then we can try fixing it.

adynathos avatar Jan 12 '21 22:01 adynathos

The example project will not open for me either. It appears to be a matter of missing DLL dependencies. The log is attached (from AugmentedUnrealityEx\Saved\Logs).

AugmentedUnrealityEx.log

TimPeterson avatar Mar 16 '21 13:03 TimPeterson

@adynathos I get the same error as @TimPeterson

Have you resolved it?

ezorfa avatar Aug 24 '21 20:08 ezorfa

Same issue here. Compiling the provided zip files results in the following error: 1>D:\Projectes Unreal\AUEX425\Plugins\AugmentedUnreality\Source\AugmentedUnreality\AURDriver.cpp(1): error : Expected AURDriver.h to be first header included. Fixing that error results in the failed to load module problem: LogModuleManager: Warning: ModuleManager: Unable to load module 'D:/Projectes Unreal/AUEX425/Plugins/AugmentedUnreality/Binaries/Win64/UE4Editor-AugmentedUnreality.dll' because the file couldn't be loaded by the OS.

I was able to open the project and run it successfully by copying the dlls in the plugin's Binaries/Win64 folder to the project's Binaries/Win64 folder as well as all the gstreamer dlls from its installation folder.

FOlivaInvelon avatar Aug 27 '21 07:08 FOlivaInvelon

@FOlivaInvelon Have you resolved it or did it work for you?

ezorfa avatar Aug 28 '21 22:08 ezorfa

@FOlivaInvelon Have you resolved it or did it work for you?

It worked for me but it is more like a workaround than a fix worth making a MR

FOlivaInvelon avatar Aug 29 '21 08:08 FOlivaInvelon

@FOlivaInvelon I was also able to make the editor run but it was crashing when I play. Do you have the same problems? The AURExampleMap was also not loading because of the errors.

I had to pickup the gsstreamer dlls from previous versions as well to make it to work.

ezorfa avatar Aug 29 '21 09:08 ezorfa

@ezorfa I didn't try launching or packaging, but regular PIE worked fine without errors or crashing using the AURExampleMap. Make sure all gstreamer and opencv dlls are in the correct binaries folder and check the logs to get clues for what files might be missing and where is UE4 looking for them. Also try running the python script in the plugin's thirdparty folder for gstreamer, you might have to edit it to search for the right system variable/path.

FOlivaInvelon avatar Aug 29 '21 10:08 FOlivaInvelon

Thanks for your feedback. Much appreciated @FOlivaInvelon

ezorfa avatar Aug 29 '21 13:08 ezorfa