Error when trying to Build C++ Project

So I started my project as a C++ template on my laptop with the intention of transferring it over to my Home PC when i got back from a business trip. I am now back from my trip having stored my project in my Dropbox and while it still builds on the original laptop i get an error when i try to build the C++ on my Home computer.

I have attached a print screen of the error and was wondering if anyone else had come across something like this before and knew how to solve it.

error MSB3073: The command ““C:\Program Files\Unreal Engine\4.6\Engine\Build\BatchFiles\Build.bat” ThomasEditor Win64 DebugGame “D:\Dropbox\Thomas\Thomas.uproject” -rocket” exited with code 3.

Many thanks!

alt text

After doing some further research and installing UE4, I seem to have been able to fix the issue.

This was done by making sure that the directory path for the Unreal Engine is the same on both machines. On one of my machines it had the main directory as Epic Games and then on the other it was under Unreal Engine. I was able to change them both the Unreal Engine and this has (for now) fixed the issue

Just re-generate project files when switching computers. (Right-click your project icon (e.g. Thomas.uproject) in windows explorer and click Generate Visual Studio Files).

What this does is go through all your source files and gets your Visual Studio environment set up for the current computer. These Visual Studio project files are stored in the Intermediate directory, and that directory doesn’t need to be part of source control (e.g Dropbox) if you Generate Visual Studio Files for each computer like I said.

I know you already found a workaround but thought I’d explain why you may be getting this issue :slight_smile: