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"

[4.9.2] Can't generate VS project files for any C++ project

Hello guys, I'm surprisingly faced with an issue with project files generating. I can't understand why it appears because it was working fine before on 4.9.2. I use binary version of engine from launcher and tried to reinstall it, but nothing changed. I'm also tried to reinstall Visual Studio 2013, but this error appears even if VS uninstalled.

Running C:/Program Files/Epic Games/4.9/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Projects/Test/TestProject.uproject" -game -rocket -progress Discovering modules, targets and source code for game... Errors detected while compiling D:\Projects\Test\Intermediate\Build\BuildRules\RocketUE4ModuleRules.dll: c:\Program Files\Epic Games\4.9\Engine\Source\Programs\CrashReporter\CrashReportClient\CrashReportClient.Target.cs(56,23) : error CS0115: 'CrashReportClientTarget.ForceNameAsForDevelopment()': no suitable method found to override UnrealBuildTool Exception: ERROR: UnrealBuildTool encountered an error while compiling source files

Please help me to find workaround. Thanks.

Product Version: UE 4.9
Tags:
more ▼

asked Oct 14 '15 at 03:22 PM in Bug Reports

avatar image

Acrossfy
422 14 31 164

avatar image Doug E ♦♦ STAFF Oct 14 '15 at 03:29 PM

Hey Acrossfy-

Is this unique to a single project not being able to compile or is this all projects? Are you trying to compile through VS or are you right clicking on the .uproject file and selecting "Generate Visual Studio project files"? Are you able to create new code projects? Does the same thing happen for other versions of the engine (4.8)?

Cheers

Doug Wilson

avatar image Acrossfy Oct 14 '15 at 03:45 PM

Hey Doug,

it's actual for all c++ projects. I'm tried by clicking on the .uproject file and selecting "Generate Visual Studio project files" option. I'm not able to create new code projects - still got this error.

Does the same thing happen for other versions of the engine (4.8)?

No, I just installed 4.10 preview now and "Generate Visual Studio project files" working fine with this version. Regards
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Ok, I finally found a solution. I uninstalled 4.9.2 and found folder "C:\Program Files\Epic Games\4.9". I removed it and installed engine again – now generating of VS files works good.

Before removing I made a copy of this folder with wrong config files. If I merge this wrong folder with new engine folder – this issue appears again. You can check it to find cause of failure.

Archived folder (8 mb): https://mega.nz/#!2xBFFDrL

more ▼

answered Oct 15 '15 at 12:16 PM

avatar image

Acrossfy
422 14 31 164

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

It appears that the compiler is trying to write an override function for ForceNameAsForDevelopment() but can't find the function it's trying to override. If you are using a using a binary version of the editor then I would suggest trying to Verify the engine version using the drop down arrow for that particular version in the Library tab of the launcher.

Cheers

Doug Wilson

more ▼

answered Oct 14 '15 at 06:05 PM

avatar image Acrossfy Oct 14 '15 at 06:09 PM

I'm already tried to verify engine in Launcher before I posted this question. It doesn't help.

avatar image Doug E ♦♦ STAFF Oct 14 '15 at 06:18 PM

Here is another post with the same issue you're describing. Can you try the solutions posted by Valkorian and JamieT187 to see if either helps in your case?

https://answers.unrealengine.com/questions/307595/unable-to-generate-c-projects-file-49.html

avatar image Acrossfy Oct 14 '15 at 06:35 PM

I think it's not the same issue. Logs are different. Also I'm work on Windows 10 and I'm pretty sure that this issue is not related to Windows 8.1 SDK, because UE 4.10 preview works good. But I'm still need 4.9.2.

avatar image Acrossfy Oct 14 '15 at 09:21 PM

Just in case I tried solutions from Valkorian and JamieT187 – still doesn't work..

(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