I am getting an error trying to compile my code project from within Unreal Editor. I am on Windows 8.1 64bit, UnrealEngine 4.3 (no source code) and Visual Studio 2013 professional. steps I take to reproduce error are:
- Create a new project based off of Blueprint Third Person (include starter content) at C:\Users[USER]\Documents\Unreal Projects[ProjectName]
- File → Add Code to Project
- Select Actor as class type
- Change Name to HelloWorld
- Edit code
- Build Solution (in VS2013) (I get error: fatal error RC1015: cannot open include file ‘windows.h’)
- Go into Project properties
- Change configuration to All Configurations
- Go to Configuration → VC++ Directories
- For Executable Directories, Include Directories, and Library Directories remove option and unselect Inherit from parent or project defaults
- Hit apply
- For Executable Directories, Include Directories, and Library Directories, change to inherit from parent or project defaults
- Build Solution (in VS2013) (success)
- Close Visual Studio
- Close Unreal Editor and Reopen project (now recognizes source project … has compile option in main menu and can reference HelloWorld class)
- Compile project (from within UnrealEngine)
a. Error: fatal error LNK1181: cannot open input file ‘delayimp.lib’
If I make changes to code I can compile in visual studio but editor has to be closed and only when it reopens does it recognize any code changes. Any idea what issue can be with compile function in Unreal Editor?