"Could not be compiled, try rebuilding from source manually", when trying to migrate a project to another platform
Hi, I started a C++ and Blueprint project a long time ago on Mac OSX, but now I want to also create a Windows distribution, however, every time I try to open it on Windows, it fails at compiling the C++ code, I tried removing the Intermediate, Build, Binaries and Saved folder, also generating the Visual Studio Files, updating Visual Studio, but none of this solved the problem.
Thanks you very much! -Sejja
asked Dec 05 '18 at 10:27 PM in C++ Programming
I finally found the solution, here are the steps to follow:
1- Uninstall Visual studio 2015 and earlier versions if using Visual studio 2017, also remove all the outdated components
2- Install Visual studio 2017 components required for UE4
3- If there is any .cpp or .h file using , make sure to define WIN32_LEAN_AND_MEAN beafore including the file
4- Delete intermediate, saved and binary folders and rebuild your project
answered Dec 23 '18 at 10:59 AM
Did you try opening your project inside Visual Studio, compile with F5 or Ctrl + F5?
answered Dec 05 '18 at 10:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here