Download

Compilation Error Visual Studio 2013 Ultimate

Hi friends. I am newbie in the game developing.

I have a problem: i’m trying to compile basic code from tutorial 5 - On Your Own! | Unreal Engine Documentation

I have a lot of errors: sometimes it can not open files ( i have admin privs ) and errors in code etc.

I am using Visual Studio 2013 Ultimate, but tutorial says that i have to use Visual Studio 2013 Professional. Can the problem be there that i’m using not Professional version?

Thank you, i hope i’ll be nice game developer.

P.S. I’m system programmer

Ultimate should work just as well as Pro.

Strange… i performed all steps that in the tutorial and have this errors:

Error 22 error MSB3073: The command “C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Build\BatchFiles\Build.bat MyProject6Editor Win64 Development “C:\Users\Unknown\Documents\Unreal Projects\MyProject6\MyProject6.uproject”” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38
Error 9 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-VectorVM.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 10 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-UnrealEdMessages.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 14 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-SwarmInterface.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 2 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-SandboxFile.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 3 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-RHI.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 7 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-RawMesh.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 13 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-PakFile.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 8 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-Navmesh.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 12 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-JsonUtilities.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 4 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-InputCore.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 1 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-ImageCore.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 5 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-EngineSettings.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 6 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-EngineMessages.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK
Error 11 error LNK1104: cannot open file ‘C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Binaries\Win64\UE4Editor-DesktopPlatform.dll’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\LINK

This files exists, i have admin privs
Error 15 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Source\MyProject6\HelloWorldPrinter.cpp 7
Error 20 error C2597: illegal reference to non-static member ‘AHelloWorldPrinter::MyNumber’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Source\MyProject6\HelloWorldPrinter.cpp 10
Error 19 error C2550: ‘AHelloWorldPrinter::{ctor}’ : constructor initializer lists are only allowed on constructor definitions C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Source\MyProject6\HelloWorldPrinter.cpp 9
Error 17 error C2511: ‘AHelloWorldPrinter::AHelloWorldPrinter(const int)’ : overloaded member function not found in ‘AHelloWorldPrinter’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Source\MyProject6\HelloWorldPrinter.cpp 8
Error 16 error C2143: syntax error : missing ‘,’ before ‘&’ C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Source\MyProject6\HelloWorldPrinter.cpp 7
Error 18 error C2065: ‘ObjectInitializer’ : undeclared identifier C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Source\MyProject6\HelloWorldPrinter.cpp 8
Error 21 error : Failed to produce item: C:\Users\Unknown\Desktop\UE44\UnrealEngine44\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-InputCore.exp C:\Users\Unknown\Documents\Unreal Projects\MyProject6\Intermediate\ProjectFiles\ERROR

So if you’ve built the editor successfully and created a new project and it compiles straight after generation before adding your own code, it looks like you have a couple problems with the code - the first error looks like maybe you might want to try using int32, if you are using int instead. for the remainder of the errors, it looks like you probably created the file from within VS and don’t correctly have the UE4 related macros set up, but I can’t tell for sure from the errors.

Try backing out that code to scratch state, then try using the edtor function ‘Add code to project’, then see if you can get a build.