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"

I get an error everytime I try to create a C++ project

An error occurred while trying to generate project files.

Running D:/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="U:/Users/Anıl Yıldız/Documents/Unreal Projects/MyProject/MyProject.uproject" -game -rocket -progress Discovering modules, targets and source code for project... While compiling D:\UE_4.18\Engine\Intermediate\Build\BuildRules\UE4Rules.dll: ERROR: error CS0016: Could not write to output file 'd:\UE_4.18\Engine\Intermediate\Build\BuildRules\UE4Rules.dll' -- 'The directory name is invalid. ' ERROR: UnrealBuildTool Exception: Unable to compile source files.

This is the error I get when I try to create a C++ project I tried reinstalling VS2017 and UE4 and it still gives me this error

Product Version: UE 4.18
Tags:
more ▼

asked Feb 24 '18 at 11:56 AM in C++ Programming

avatar image

Khorheal
1 2

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

2 answers: sort voted first

I solved it by uninstalling everything epic games included and reinstalled it. It works fine now. Probably one of the pre requisites didn't installed correctly

more ▼

answered Feb 24 '18 at 08:48 PM

avatar image

Khorheal
1 2

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

My best guess is file system name encoding issue, but it looks fine for me. Try deleting Intermediate directory that error mentions, if still not work and you get something else then "Verify" your engine installation in launcher (i assuming you using launcher version). If this does not work, then google error code CS0016 and try various solutions that you find there

more ▼

answered Feb 24 '18 at 02:59 PM

avatar image

Shadowriver
34.6k 917 164 1095

(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