Unable to find Generated file from other module
I am trying to separate our game into 2 different modules. One is for the game and one is for the editor. Most of it is working except when I include any files from the game module from a file in the editor module, it can't find the "generated.h". Any help would be very appreciated. Thanks.
asked Dec 13 '14 at 06:04 PM in C++ Programming
Oh man... yes... I did get it working, but I can't remember how. I now have the two projects working.
I had to make a file called UE4Games.uprojectdirs and put this in it:
; These folders will be searched 1 level deep in order to find projects ; UnrealBuildTool will store the following information: ; - Project name ; - Location of project ; - Whether it has code or not ; - TargetNames contains at the project location ; ./ Engine/Source/
That goes in the root level.
Then... I think I just added source files into a different folder and ran GenerateProjectFiles. There may be something else I'm missing though. Sorry about that.
answered Jan 06 '16 at 01:56 AM
I've got it working by adding paths to the game module source files in the
answered Jan 06 '16 at 05:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here