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"

Nvidia Flex 4.17.1 / Compiling Errors in Visual Studio

This is what I did in chronological order:

I opened "command prompt" and dragged and dropped the "Setup" file (Windows Batch file) from the folder in command prompt and ran it by pressing enter on the keyboard, worked fine.

Than I dragged and dropped the "GenerateProjectFiles" file (Windows Batch file) from the folder and ran it in command prompt, everything is 100% completed and no errors.

Than I opened up the "UE4.Sln" File, I let everything parse and load in visual studio 2017, I enabled "Game Development with C++" when I was installing visual studio 2017.

When everything is done loading I right clicked on "UE4" in visual studio and press "build" and this is where the problem is, once its done compiling there are 15 errors.

Severity Code Description Project File Line Suppression State Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error Failed to produce item: C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-Core.lib ShaderCompileWorker C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\ERROR 1
Error MSB3075 The command "....\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. ShaderCompileWorker C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' UE4 C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' UE4 C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' UE4 C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error Failed to produce item: C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Core.lib UE4 C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\ERROR 1
Error UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest, exit code: OtherCompilationError (5)). UE4 C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\EXEC 1
Error MSB3075 The command "....\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44

========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========

And Im aware of the "Shadercompileworker" so i rebuild the file in Visual Studio and these are the errors Im getting

Severity Code Description Project File Line Suppression State Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token 'identifier', expected 'type specifier' ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error Failed to produce item: C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-Core.lib ShaderCompileWorker C:\Users\Joshu\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\ERROR 1
Error MSB3073 The command "....\Build\BatchFiles\Rebuild.bat ShaderCompileWorker Win64 Development -waitmutex" exited with code -1. ShaderCompileWorker C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 49

Can someone please let me know what I need to do to fix this problem?

Product Version: UE Github Master branch
Tags:
more ▼

asked Apr 20 '18 at 07:47 PM in Installation & Setup

avatar image

JoshuaPro
34 12 11 14

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

1 answer: sort voted first
more ▼

answered Oct 18 '18 at 08:15 AM

avatar image

alidesdw
1 2

(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