iniside / ActionRPGGame

Unreal Engine 4 Action RPG type game starter kit.
http://iniside.weebly.com
1k stars 324 forks source link

can't comile in 4.10 #9

Closed nneesshh closed 8 years ago

nneesshh commented 8 years ago

It misses all widgets in put in BasePlayerController blueprint, such as health bar, stamina bar, etc. May it lack of some resources?

zimzimdz commented 8 years ago

Here is the compile result of commit 113:

Severity Code Description Project File Line Error LNK1120 2 unresolved externals ActionRPGGame G:\Project\RPGFramework\Binaries\Win64\UE4Editor-GameAttributes.dll 1 Error LNK1120 2 unresolved externals ActionRPGGame G:\Project\RPGFramework\Binaries\Win64\UE4Editor-GameInterfaces.dll 1 Error LNK1120 2 unresolved externals ActionRPGGame G:\Project\RPGFramework\Binaries\Win64\UE4Editor-GameWidgets.dll 1 Error Failed to produce item: G:\Project\RPGFramework\Binaries\Win64\UE4Editor-GameInterfaces.dll ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\ERROR 1 Error MSB3073 The command ""C:\Program Files\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" ActionRPGGameEditor Win64 Development "G:\Project\RPGFramework\ActionRPGGame.uproject" -rocket -waitmutex" exited with code -1. ActionRPGGame C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 Error LNK2019 unresolved external symbol "declspec(dllimport) public: static class TBaseDelegate<class UObjectBase *> & cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)" (imp_?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAVUObjectBase@@$$$V@@XZ) referenced in function "void cdecl `dynamic initializer for 'GObjectArrayForDebugVisualizers''(void)" (??EGObjectArrayForDebugVisualizers@@YAXXZ) ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\GameAttributes.cpp.obj 1 Error LNK2019 unresolved external symbol "declspec(dllimport) public: static class TBaseDelegate<class UObjectBase *> & cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)" (_imp?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAVUObjectBase@@$$$V@@XZ) referenced in function "void cdecldynamic initializer for 'GObjectArrayForDebugVisualizers''(void)" (??__EGObjectArrayForDebugVisualizers@@YAXXZ) ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\GameInterfaces.cpp.obj 1 Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class TBaseDelegate<class UObjectBase * * *> & __cdecl FCoreDelegates::GetObjectArrayForDebugVisualizersDelegate(void)" (__imp_?GetObjectArrayForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAVUObjectBase@@$$$V@@XZ) referenced in function "void __cdecldynamic initializer for 'GObjectArrayForDebugVisualizers''(void)" (??EGObjectArrayForDebugVisualizers@@YAXXZ) ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\GameWidgets.cpp.obj 1 Error LNK2019 unresolved external symbol "declspec(dllimport) public: static class TBaseDelegate<int > & cdecl FCoreDelegates::GetSerialNumberBlocksForDebugVisualizersDelegate(void)" (imp_?GetSerialNumberBlocksForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAH$$$V@@XZ) referenced in function "void cdecl`dynamic initializer for 'GSerialNumberBlocksForDebugVisualizers''(void)" (??EGSerialNumberBlocksForDebugVisualizers@@YAXXZ) ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\GameAttributes.cpp.obj 1 Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static class TBaseDelegate<int > & cdecl FCoreDelegates::GetSerialNumberBlocksForDebugVisualizersDelegate(void)" (imp_?GetSerialNumberBlocksForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAH$$$V@@XZ) referenced in function "void cdecl `dynamic initializer for 'GSerialNumberBlocksForDebugVisualizers''(void)" (??EGSerialNumberBlocksForDebugVisualizers@@YAXXZ) ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\GameInterfaces.cpp.obj 1 Error LNK2019 unresolved external symbol "declspec(dllimport) public: static class TBaseDelegate<int *> & cdecl FCoreDelegates::GetSerialNumberBlocksForDebugVisualizersDelegate(void)" (_imp?GetSerialNumberBlocksForDebugVisualizersDelegate@FCoreDelegates@@SAAEAV?$TBaseDelegate@PEAPEAPEAH$$$V@@XZ) referenced in function "void cdecl`dynamic initializer for 'GSerialNumberBlocksForDebugVisualizers''(void)" (??EGSerialNumberBlocksForDebugVisualizers@@YAXXZ) ActionRPGGame G:\Project\RPGFramework\Intermediate\ProjectFiles\GameWidgets.cpp.obj 1

iniside commented 8 years ago

Did you tried compiling with github sources ? I do not test on launcher version of engine, and frankly the fact it is not working with launcher binaries is to be expected.

Locally I use promoted branch and compile against it.

zimzimdz commented 8 years ago

I don't use engine binaries but full sources. I've my local clone of your project, opened it in VS2015 and it doesn't compile. Just try on your side to clone the sources somewhere else, open the uproject with UE4, it will try to compile, fail and ask to do it manually. Which will fail as well.

iniside commented 8 years ago

Well I cloned and compiled successfully against promoted branch from github and then launched it. It indeed asked me about missing modules, so I clicked yes to rebuild it, log showed tareget is up to date, and then launched.

You forget to change uproject engine location ?

zimzimdz commented 8 years ago

"Well I cloned and compiled" UE4 or this project ?

nneesshh commented 8 years ago

Hi, many thanks to you guys. My c++ sln compling is OK, but i can't lauch the project from UE4 editor, It looks like missing some ui widgets, such as health bar, stamina bar, and missing some blueprints parent class, such as BP_Ambient EffectManager, BP_GDCGameMode, MyPC. Their parents come from kitedemo, should I install kitedemo first? Where could I find those UIs?

nneesshh commented 8 years ago

PS. my ue4 is compiled from source by vs2015, and its version is 4.10.

iniside commented 8 years ago

@zimzimdz Of course this project. Looking at your output log you are trying to compile against launcher version of engine.

@nneesshh

You will be probabaly best off deleting all files inside blueprints or even everything in content folder. I probabaly shouldn't even upload it to github since these are really random things I do for testing.

zimzimdz commented 8 years ago

I grab latest engine sources, compile, run and compile your sources which succeeded. Thanks

nneesshh commented 8 years ago

Hi, iniside, thank you for your reply. I am a ue4 starter, and I am looking for an inventory project to study. Can you make a demo project of your Inventory System including a sample UI, just like your youtube video? I just can't find it anywhere.