I tried to use Unreal Engine 4.5.1 with the programming quick start found here.
I adapted the steps to best match the interface changes in the launcher and the editor.
I noticed a number of discrepencies in the code, including directives and overrides, but I ignored them because I assumed that the changes were present for the benefit of the engine.
The code that “I added”, appeared to be valid C++ code, according to syntax but I was unsure about the references to Unreal classes and constructors, so I ignored those too. I just typed in the code according to the instructions.
I tried following the instructions twice, and then on the third attempt I just copied in the code from the web pages on the quick start guide as a whole piece in case it had to be that way or in case I was making typos.
On none of the three attempts did the code actually build. Is the programming quick start guide obsolete? Should I skip it completely? Does it need to be rewritten to bring it in line with UE 4.5.1?
If anyone has something to provide it would be helpful to know.
At what step in the programming guide were you unable to compile the code? Is the code you added different from what is presented in the guide? Let me know what what point you were stuck to help narrow down the possible problems.
Now I’m more frustrated than I was before. Now the instructions work in spite of the changes in the code generated by unreal engine for visual studio. Also. I pasted in the wrong link. Here’s the right one.
On top of those two things, I can’t reproduce the build failure. I’ve tried lots of combinations. Saving or not saving the project before buidl. Saving or not saving the code files before build. And closing or not closing the editor before build.
So maybe it was just typoes. I was working on the programming quick start at the end of my day os who knows what was going through my head.
The biggest change I noticed was this for the class constructor.
I’m glad to hear that you were able to get the quick start guide up and running. As the engine has been updated there have been modifications to the code as you noted in the class constructor. I’ve made a note for the documentation to be updated to reflect what is currently in the engine. It is important to note that when following the wiki tutorials, the focus is on what is added to the code initially generated by the engine.
Had the same problem. had to remake the project then right click on one of the predefined macros and “Go to Definition”.
Make some coffee and wait like 15 minutes for visual studio to build the intellisense database and parse the metric bucket load of UE header files. Let it finish.