x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

trying to compile machine learning project in C++ using plugin but getting linker errors

this is the error list I am getting when compiling and I can find no fix, tried adding more modules to build.cs but to no avail, any help or guidance would be much appreciated the actual project can be found here for the plugin used : https://github.com/SaxonRah/MachinaPlays the plugin is built using an older version of UE4 Cheers

1>------ Rebuild All started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------ 2>------ Rebuild All started: Project: MyProject, Configuration: Development_Editor x64 ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\ProjectFiles\UE4.vcxproj] 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\ProjectFiles\MyProject.vcxproj] 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\ProjectFiles\UE4.vcxproj] 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.props(31,3): warning MSB4011: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Makefile.props" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.cpp.props (31,3)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\ProjectFiles\MyProject.vcxproj] 2>Cleaning MyProjectEditor Binaries... 2>Creating makefile for MyProjectEditor (no existing makefile) 2>Performing full C++ include scan (no include cache file) 2>Parsing headers for MyProjectEditor 2> Running UnrealHeaderTool "C:\Users\josh\Documents\Unreal Projects\MyProject\MyProject.uproject" "C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\MyProjectEditor\Development\MyProjectEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed 2>Reflection code generated for MyProjectEditor in 9.4892866 seconds 2>Performing 14 actions (4 in parallel) 2>[4/14] Resource PCLaunch.rc 2>[2/14] Resource ModuleVersionResource.rc.inl 2>[3/14] Resource PCLaunch.rc 2>SharedPCH.Engine.cpp 2>MyProject.cpp 2>Module.MachineLearning.cpp 2>MyActor.cpp 2>Module.MachineLearning.gen.cpp 2>MyActor.gen.cpp 2>MyProject.init.gen.cpp 2>[11/14] Link UE4Editor-MyProject.dll 2>[12/14] Link UE4Editor-MyProject.lib 2> Creating library C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.lib and object C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.exp 2> Creating library C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.suppressed.lib and object C:\Users\josh\Documents\Unreal Projects\MyProject\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MyProject.suppressed.exp 2>[13/14] Link UE4Editor-MachineLearning.dll 2>[14/14] Link UE4Editor-MachineLearning.lib 2> Creating library C:\Users\josh\Documents\Unreal Projects\MyProject\Plugins\MachineLearning\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MachineLearning.lib and object C:\Users\josh\Documents\Unreal Projects\MyProject\Plugins\MachineLearning\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MachineLearning.exp 2> Creating library C:\Users\josh\Documents\Unreal Projects\MyProject\Plugins\MachineLearning\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MachineLearning.suppressed.lib and object C:\Users\josh\Documents\Unreal Projects\MyProject\Plugins\MachineLearning\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MachineLearning.suppressed.exp 2>Module.MachineLearning.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __cdecl AAIController::Tick(float)" (__imp_?Tick@AAIController@@UEAAXM@Z) referenced in function "public: virtual void __cdecl ANeuralAIController::Tick(float)" (?Tick@ANeuralAIController@@UEAAXM@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class UClass __cdecl Z_Construct_UClass_AAIController(void)" (__imp_?Z_Construct_UClass_AAIController@@YAPEAVUClass@@XZ) referenced in function "class UClass __cdecl Z_Construct_UClass_ANeuralAIController(void)" (?Z_Construct_UClass_ANeuralAIController@@YAPEAVUClass@@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class UClass __cdecl AAIController::StaticClass(void)" (__imp_?StaticClass@AAIController@@SAPEAVUClass@@XZ) referenced in function "private: static class UClass __cdecl ANeuralAIController::GetPrivateStaticClass(void)" (?GetPrivateStaticClass@ANeuralAIController@@CAPEAVUClass@@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual class UObject __cdecl AAIController::getUObject(void)const " (imp?_getUObject@AAIController@@UEBAPEAVUObject@@XZ) referenced in function "[thunk]:public: virtual class UObject __cdecl AAIController::getUObject`adjustor{112}' (void)const " (?getUObject@AAIController@@WHA@EBAPEAVUObject@@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2019: unresolved external symbol "declspec(dllimport) public: cdecl AAIController::AAIController(class FVTableHelper &)" (imp??0AAIController@@QEAA@AEAVFVTableHelper@@@Z) referenced in function "public: cdecl ANeuralAIController::ANeuralAIController(class FVTableHelper &)" (??0ANeuralAIController@@QEAA@AEAVFVTableHelper@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2019: unresolved external symbol "declspec(dllimport) public: cdecl AAIController::AAIController(class FObjectInitializer const &)" (imp??0AAIController@@QEAA@AEBVFObjectInitializer@@@Z) referenced in function "public: __cdecl ANeuralAIController::ANeuralAIController(void)" (??0ANeuralAIController@@QEAA@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl AAIController::~AAIController(void)" (__imp_??1AAIController@@UEAA@XZ) referenced in function "int public: __cdecl ANeuralAIController::ANeuralAIController(class FVTableHelper &)'::1'::dtor$0" (?dtor$0@?0???0ANeuralAIController@@QEAA@AEAVFVTableHelper@@@Z@4HA) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::ActorsPerceptionUpdated(class TArray const &)" (?ActorsPerceptionUpdated@AAIController@@UEAAXAEBV?$TArray@PEAVAActor@@VFDefaultAllocator@@@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::ClearFocus(unsigned char)" (?ClearFocus@AAIController@@UEAAXE@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::DisplayDebug(class UCanvas ,class FDebugDisplayInfo const &,float &,float &)" (?DisplayDebug@AAIController@@UEAAXPEAVUCanvas@@AEBVFDebugDisplayInfo@@AEAM2@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::FindPathForMoveRequest(struct FAIMoveRequest const &,struct FPathFindingQuery &,class TSharedPtr &)const " (?FindPathForMoveRequest@AAIController@@UEBAXAEBUFAIMoveRequest@@AEAUFPathFindingQuery@@AEAV?$TSharedPtr@UFNavigationPath@@$00@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class FString __cdecl AAIController::GetDebugIcon(void)const " (?GetDebugIcon@AAIController@@UEBA?AVFString@@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FVector __cdecl AAIController::GetFocalPointOnActor(class AActor const )const " (?GetFocalPointOnActor@AAIController@@UEBA?AUFVector@@PEBVAActor@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class AActor __cdecl AAIController::GetGameplayTaskAvatar(class UGameplayTask const )const " (?GetGameplayTaskAvatar@AAIController@@UEBAPEAVAActor@@PEBVUGameplayTask@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned char __cdecl AAIController::GetGameplayTaskDefaultPriority(void)const " (?GetGameplayTaskDefaultPriority@AAIController@@UEBAEXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class AActor __cdecl AAIController::GetGameplayTaskOwner(class UGameplayTask const )const " (?GetGameplayTaskOwner@AAIController@@UEBAPEAVAActor@@PEBVUGameplayTask@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UGameplayTasksComponent __cdecl AAIController::GetGameplayTasksComponent(class UGameplayTask const &)const " (?GetGameplayTasksComponent@AAIController@@UEBAPEAVUGameplayTasksComponent@@AEBVUGameplayTask@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FGenericTeamId __cdecl AAIController::GetGenericTeamId(void)const " (?GetGenericTeamId@AAIController@@UEBA?AUFGenericTeamId@@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UAIPerceptionComponent __cdecl AAIController::GetPerceptionComponent(void)" (?GetPerceptionComponent@AAIController@@UEAAPEAVUAIPerceptionComponent@@XZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual enum ETeamAttitude::Type __cdecl IGenericTeamAgentInterface::GetTeamAttitudeTowards(class AActor const &)const " (?GetTeamAttitudeTowards@IGenericTeamAgentInterface@@UEBA?AW4Type@ETeamAttitude@@AEBVAActor@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::GrabDebugSnapshot(struct FVisualLogEntry )const " (?GrabDebugSnapshot@AAIController@@UEBAXPEAUFVisualLogEntry@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::InitNavigationControl(class UPathFollowingComponent &)" (?InitNavigationControl@AAIController@@UEAAXAEAPEAVUPathFollowingComponent@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual bool __cdecl AAIController::InitializeBlackboard(class UBlackboardComponent &,class UBlackboardData &)" (?InitializeBlackboard@AAIController@@MEAA_NAEAVUBlackboardComponent@@AEAVUBlackboardData@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AAIController::IsFollowingAPath(void)const " (?IsFollowingAPath@AAIController@@UEBA_NXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AAIController::LineOfSightTo(class AActor const ,struct FVector,bool)const " (?LineOfSightTo@AAIController@@UEBA_NPEBVAActor@@UFVector@@N@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FPathFollowingRequestResult _cdecl AAIController::MoveTo(struct FAIMoveRequest const &,class TSharedPtr )" (?MoveTo@AAIController@@UEAA?AUFPathFollowingRequestResult@@AEBUFAIMoveRequest@@PEAV?$TSharedPtr@UFNavigationPath@@$00@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::OnGameplayTaskActivated(class UGameplayTask &)" (?OnGameplayTaskActivated@AAIController@@UEAAXAEAVUGameplayTask@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::OnGameplayTaskDeactivated(class UGameplayTask &)" (?OnGameplayTaskDeactivated@AAIController@@UEAAXAEAVUGameplayTask@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::OnGameplayTaskInitialized(class UGameplayTask &)" (?OnGameplayTaskInitialized@AAIController@@UEAAXAEAVUGameplayTask@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::OnGameplayTaskResourcesClaimed(struct FGameplayResourceSet,struct FGameplayResourceSet)" (?OnGameplayTaskResourcesClaimed@AAIController@@UEAAXUFGameplayResourceSet@@0@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::OnMoveCompleted(struct FAIRequestID,struct FPathFollowingResult const &)" (?OnMoveCompleted@AAIController@@UEAAXUFAIRequestID@@AEBUFPathFollowingResult@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::OnMoveCompleted(struct FAIRequestID,enum EPathFollowingResult::Type)" (?OnMoveCompleted@AAIController@@UEAAXUFAIRequestID@@W4Type@EPathFollowingResult@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::Possess(class APawn )" (?Possess@AAIController@@UEAAXPEAVAPawn@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::PostInitializeComponents(void)" (?PostInitializeComponents@AAIController@@UEAAXXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::PostRegisterAllComponents(void)" (?PostRegisterAllComponents@AAIController@@UEAAXXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AAIController::PreparePathfinding(struct FAIMoveRequest const &,struct FPathFindingQuery &)" (?PreparePathfinding@AAIController@@UEAA_NAEBUFAIMoveRequest@@AEAUFPathFindingQuery@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FAIRequestID __cdecl AAIController::RequestMove(struct FAIMoveRequest const &,class TSharedPtr)" (?RequestMove@AAIController@@UEAA?AUFAIRequestID@@AEBUFAIMoveRequest@@V?$TSharedPtr@UFNavigationPath@@$00@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual struct FAIRequestID __cdecl AAIController::RequestPathAndMove(struct FAIMoveRequest const &,struct FPathFindingQuery &)" (?RequestPathAndMove@AAIController@@UEAA?AUFAIRequestID@@AEBUFAIMoveRequest@@AEAUFPathFindingQuery@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::Reset(void)" (?Reset@AAIController@@UEAAXXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AAIController::RunBehaviorTree(class UBehaviorTree )" (?RunBehaviorTree@AAIController@@UEAA_NPEAVUBehaviorTree@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::SetFocalPoint(struct FVector,unsigned char)" (?SetFocalPoint@AAIController@@UEAAXUFVector@@E@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::SetFocus(class AActor ,unsigned char)" (?SetFocus@AAIController@@UEAAXPEAVAActor@@E@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::SetGenericTeamId(struct FGenericTeamId const &)" (?SetGenericTeamId@AAIController@@UEAAXAEBUFGenericTeamId@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::SetPawn(class APawn )" (?SetPawn@AAIController@@UEAAXPEAVAPawn@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AAIController::ShouldPostponePathUpdates(void)const " (?ShouldPostponePathUpdates@AAIController@@UEBA_NXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl AAIController::ShouldSyncBlackboardWith(class UBlackboardComponent const &)const " (?ShouldSyncBlackboardWith@AAIController@@UEBA_NAEBVUBlackboardComponent@@@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::StopMovement(void)" (?StopMovement@AAIController@@UEAAXXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::UnPossess(void)" (?UnPossess@AAIController@@UEAAXXZ) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl AAIController::UpdateControlRotation(float,bool)" (?UpdateControlRotation@AAIController@@UEAAXM_N@Z) 2>Module.MachineLearning.gen.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class UObject * __cdecl AAIController::_getUObject(void)const " (?_getUObject@AAIController@@UEBAPEAVUObject@@XZ) 2>C:\Users\josh\Documents\Unreal Projects\MyProject\Plugins\MachineLearning\Binaries\Win64\UE4Editor-MachineLearning.dll : fatal error LNK1120: 50 unresolved externals 2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\Users\josh\Documents\Unreal Projects\MyProject\Plugins\MachineLearning\Binaries\Win64\UE4Editor-MachineLearning.dll 2>Total build time: 34.13 seconds (Local executor: 0.00 seconds) 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command ""C:\Program Files\Epic Games\UE_4.19\Engine\Build\BatchFiles\Rebuild.bat" MyProjectEditor Win64 Development "C:\Users\josh\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild" exited with code -1. 2>Done building project "MyProject.vcxproj" -- FAILED. ========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========

Product Version: UE 4.19
Tags:
more ▼

asked Feb 21 '19 at 01:19 PM in C++ Programming

avatar image

jainers
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question