Compiling Error

Hi, I just started the FPSProject tutorial in epic wiki. But at first steps for compiling the game I have these errors below:

Error 1 error : Couldn’t find target
rules file for target
‘FPSProjectEditor’ in rules assembly
‘FPSProjectEditorModuleRules,
Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null’. D:\UnrealEngine-4.0\FPSProject\Intermediate\ProjectFiles\EXEC FPSProject


Error 2 error MSB3073: The command
“D:\UnrealEngine-4.0\Engine\Build\BatchFiles\Build.bat FPSProjectEditor Win64 Development”
exited with code -1. C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 FPSProject

I am using VS2013 ultimate and testing the compiled version of the UE4.
Would you Please help me?
Thank you

In my case, for the error #2 I have to delete all Visual Studio folders from my documents, reinstall visual studio to my C: drive (I had it in F: before) and update the VS100COMNTOOLS in environment variable (Start → All Apps → Control panel → System → Advanced System Settings → Advanced → Environment variables)

Hi, Thank you for your paying attention. I did as you said But did not worked for me.
Any way I realy thank you dear RS.

Hi! don’t worry, Do you build the engine in “developer editor - win 64” without errors? do you have the UnrealVS extension installed? I don’t know if Visual Ultimate is supported… in the Unreal 4 Requirement Page says Visual Express or Pro… I don’t know if that would affect you.

https://docs.unrealengine.com/latest/INT/GettingStarted/RecommendedSpecifications/index.html#minimumsoftwarerequirements

Yes i had build it with no errors in developer editor - win64.
yes i had installed UnrealVS.
may be i should chane my vs2013 ultimate to express.
I,ll try it and I hope it would be the solution.
Thank you so much Dear RS.

Create Games.uprojectdirs in root Unreal Engine directory which lists directories where your projects are located.
Let’s say root directory is D:\UnrealEngine and projects are located in D:\UnrealEngine\Projects, create D:\UnrealEngine\Games.uprojectdirs with the following line: “Projects”. This part is obviously missing in engine-building tutorial.
Didn’t manage to get it working with directories like …/Projects etc, though binaries downloaded via UE Launcher are able to work this way

1 Like

AND FINALY IT WORKS! :slight_smile:

BiggestSmile you Put smile on my face!

As you said there is relation between the folders and building projects.
But just the default directory (C:\Users\Usher\Documents\Unreal Projects) works for me.
As your name You are the BiggestSmile! :wink:
Thank you VERY VERY… MUCH.
Thank you ALL Dear RS & BiggestSmile

Thx. I guess devs should fix this somehow and the editor must automatically create that file because we’re not telepathists in here to find it out.

Do we always need to migrate the project to the default documents folder to compile?

Thank you, I used your solution and I don’t get Error 1 error : Couldn’t find target rules file for target ‘FPSProjectEditor’ in rules assembly anymore.
I do get other errors but at least that one is fixed!