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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Compile failed... Failed to generate project files

Hello!

When I'm trying make a new C++ project, then I get this error... I using Visual Studio 2017. Windows 8.1 SDK and Game development with C++ are installed. I reinstalled Unreal Engine but it didn't solve the problem... I using Windows 8.1 Pro, 64 bit What can I do?

Thank you for your reply!

ERROR:

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject3 Development Win64 -project="C:/Users/Máté/Documents/Unreal Projects/MyProject3/MyProject3.uproject" -editorrecompile -progress -NoHotReloadFromIDE Performing full C++ include scan (building a new target) Creating makefile for MyProject3 (no existing makefile) @progress push 5% Parsing headers for MyProject3Editor Running UnrealHeaderTool "C:\Users\M?t?\Documents\Unreal Projects\MyProject3\MyProject3.uproject" "C:\Users\M?t?\Documents\Unreal Projects\MyProject3\Intermediate\Build\Win64\MyProject3Editor\Development\MyProject3Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed Reflection code generated for MyProject3Editor in 28,6698204 seconds @progress pop Performing 9 actions (2 in parallel) [2/9] Resource ModuleVersionResource.rc.inl SharedPCH.Engine.cpp [3/9] Resource PCLaunch.rc MyProject3Character.cpp MyProject3.cpp c1xx: fatal error C1083: Cannot open source file: 'C:\Users\M??t?c\Documents\Unreal Projects\MyProject3\Source\MyProject3\MyProject3Character.cpp': No such file or directory c1xx: fatal error C1083: Cannot open source file: 'C:\Users\M??t?c\Documents\Unreal Projects\MyProject3\Source\MyProject3\MyProject3.cpp': No such file or directory MyProject3GameMode.cpp MyProject3.generated.cpp c1xx: fatal error C1083: Cannot open source file: 'C:\Users\M??t?c\Documents\Unreal Projects\MyProject3\Intermediate\Build\Win64\UE4Editor\Inc\MyProject3\MyProject3.generated.cpp': No such file or directory c1xx: fatal error C1083: Cannot open source file: 'C:\Users\M??t?c\Documents\Unreal Projects\MyProject3\Source\MyProject3\MyProject3GameMode.cpp': No such file or directory ERROR: UBT ERROR: Failed to produce item: C:\Users\M?t?\Documents\Unreal Projects\MyProject3\Binaries\Win64\UE4Editor-MyProject3.dll Total build time: 273,68 seconds (Local executor: 0,00 seconds)

Product Version: UE 4.16
Tags:
more ▼

asked Jun 22 '17 at 01:18 PM in Using UE4

avatar image

SCemergency
3 1 2 2

avatar image JWALKAZ Jul 26 '17 at 07:07 PM

Im having the same problem did darkimage's answer work?

avatar image SCemergency Jul 26 '17 at 07:11 PM

Yes .. Darkimage's answer is working

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

i think there is a problem passing these characters á,é (that are in the name of your pc user name) to UBT (Unreal Build Tool) because they get passed this way M?t? as you can see in the log at this line:

  Running UnrealHeaderTool "C:\Users\M?t?\Documents\Unreal Projects\MyProject3\MyProject3.uproject" "C:\Users\M?t?\Documents\Unreal 

So a quick fix should be to move the project directory to another folder, for example C:\UE4Projects\MyProject\

more ▼

answered Jun 22 '17 at 01:50 PM

avatar image

Darkimage
108 7 8 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Darkimage's answer is working! Thanks for help

more ▼

answered Jul 26 '17 at 07:12 PM

avatar image

SCemergency
3 1 2 2

avatar image Darkimage Jul 26 '17 at 07:27 PM

glad to help and dont forget to set my answer as accepted !!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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