x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

"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.

Any ideas?

Thanks you very much! -Sejja

Product Version: UE 4.21
Tags:
more ▼

asked Dec 05 '18 at 10:27 PM in C++ Programming

avatar image

Sejja
22 1 2 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Did you try opening your project inside Visual Studio, compile with F5 or Ctrl + F5?

more ▼

answered Dec 05 '18 at 10:37 PM

avatar image

Ninjin
3.9k 87 35 149

avatar image Sejja Dec 05 '18 at 10:39 PM

There isn't any Visual Studio project yet, only an Xcode project, the original project was created using Mac, where it compiles perfectly, the problem comes when moving to windows.

avatar image Ninjin Dec 05 '18 at 10:41 PM

But you said you can generate the Visual Studio Files?

avatar image Sejja Dec 05 '18 at 11:10 PM

I tried to, but with no success

avatar image Ninjin Dec 05 '18 at 11:11 PM

What happens when you generate them? No error message?

avatar image Sejja Dec 07 '18 at 01:09 PM

this is what I get:

 Running C:/Program Files/Epic Games/UE_4.21/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="C:/Users/user/Desktop/test/[ProjectName].uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
     Performing full C++ include scan (building a new target)
     Creating makefile for [ProjectName]Editor (no existing makefile)
     Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.15063.0 SDK (C:\Program Files (x86)\Windows Kits\10).
     @progress push 5%
     Parsing headers for[ProjectName]Editor
       Running UnrealHeaderTool "C:\Users\user\Desktop\test\[ProjectName]r.uproject" "C:\Users\user\Desktop\something\Intermediate\Build\Win64\[ProjectName]Editor\Development\[ProjectName]Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
     Reflection code generated for [ProjectName]Editor in 28,2147822 seconds
     @progress pop
     Building 51 actions with 4 processes...

(Starts compiling)

       @progress 'Compiling C++ source code...' 27%
       [14/51] SkillItem.gen.cpp
       C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\INCLUDE\excpt.h(14): error C2059: Sintax error: 'cadena'
       C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\INCLUDE\excpt.h(14): error C2334: unnexpected symbols (token)
       C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared\windef.h(17): error C2059: Sintax error: 'cadena'


(More errors keep showing)

Then, Compiling fails.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question