Unable to launch editor because of missing dll

I transported my project from my desktop PC to my laptop. It works on the desktop, but when I try to compile it on the laptop I get an error saying that “The program can’t start because UE4Editor-[myproject sub module].dll is missing from your computer. Try reinstalling.” See here.

I have tried reinstalling the engine and the visual studio community 2013 I am using. I have tried regenerating the VS project files. What can I do to fix this?

One stackoverflow post claimed that it was the bitness of the DLL that was wrong, but I recompiled it all, so that is not it in my case. The folder structure is the same as on the desktop.

When I try to compile for DevelopmentE Editor I get an error complaining about C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc. Why does this work on the desktop?

Thank you in advance for your input.