Unable to open OSX UE4.10 project in Win

I have a project I made on OSX running great on OSX. I used Git to make a repo with Bitbucket (used the built in tool for UE4 and then used source tree to create the repo), and on Windows 8.1 I cloned the repo and tried to open it with 4.10, and it keeps telling me I need to rebuild because the UE4Editor-[projectname].dll is missing or built with another version. I click yes, and then it proceeds to fail, saying [projectname] could not be compiled, try rebuilding from source manually.

I’m not entirely sure what it means by “rebuilding from source manually”, but I did a few things a little out of order. First, before trying to open the project for the first time, I updated UE to 4.10 (last time I was on Windows was a while ago), then I tried to open the project and it failed like that. Then I went to build a new C++ project, and found that I need VS 2015 instead of 2013 (4.9 used 2013), so I uninstalled 2013 and installed 2015 from microsoft (the button in UE to install 2015 wasnt working), created a new C++ project, and everything was working fine. I then closed out of VS and UE, tried to open the project again and it failed again.

From there I looked up the problem, and found a few dated solutions (UE4.7-4.8), but I tried one of them, which was to right click on the UE project file and click generate VS project files. Now I have these files, and I tried opening the sln file. VS loaded and the all of the source files were there AOK. So I tried opening the project up in unreal again and it failed again. I found another dated solution, which mentioned the Win8.1 SDK, which I thought was probably already installed when I did VS, but I tried it anyway, and it still doesnt work.

Apparently for some weird reason the interface class I made is making UE freak out when trying to rebuild things. I had to open up the VS solution, remove the references to the interface in my code and then open it up. Unsure why I need to do this, but its now open. I’m going to try to rebuild with the interface stuff to see what happens.

It turns out all the problems were caused because I didnt declare a default method for a function in my interface class. I added it to the cpp file and now everything compiles correctly.

Fixed my own problem. Just some forgotten code.