Hi Vahid!
I’m a bit busy today so I didn’t get to look into it much, but I did find that I could get it to compile as follows:
In MyGameMode.cpp
include “ARToolkitComponent.h”
In MyGame.Build.cpp
PublicDependencyModuleNames.AddRange(new string] { “Core”, “CoreUObject”, “Engine”, “InputCore”, “ARToolkitPlugin”, “ARToolkit” });
In Plugins/ARToolkit/ARToolkitFunctionLibrary.h, at the top of the file above include “ARToolkitFunctionLibrary.generated.h”
#ifdef _WIN64
include “AllowWindowsPlatformTypes.h”
include <dshow.h>
#pragma comment(lib, “strmiids”)
#endif
#if defined APPLE
import <AVFoundation/AVFoundation.h>
import <CoreVideo/CoreVideo.h>
#endif
include <AR/video.h>
include <AR/ar.h>
include <AR/config.h>
include <AR/param.h>
//NFT
include <AR/arMulti.h>
include <AR/arFilterTransMat.h>
include <AR2/tracking.h>
#ifdef _WIN64
include “HideWindowsPlatformTypes.h”
#endif
Which comes from the private precompiled headers for the plugin. I’m guessing ARFilterTransMatInfo & ARdouble types are defined somewhere in there and since they are in precompiled header, when another assembly tries to compile them it can’t find them.
It’s not much of a solution but hopefully it can provide a path for investigation ![]()