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"

Compiling Nvidia Physx Flex 4.15

Hey guys,

I've been trying for days days to compile the Physx samples of Nvidia for UE4 , the ones on Github. I failed over and over , and I'm so close but I don't know what is wrong.

I've never compiled the engine before, I never used github until I discovered Nvidida Gameworks..

These were my steps:

  1. Download .zip/ Pull Engine source from gameworks repo on Github.

  2. Run Setup.bat

  3. Generate .proj files.bat

  4. open Visual Studio Community 2015

  5. setting up in "Dev Editor mode" and "Win64" , right click UE4 and Build.

The error I get goes like this:

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)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41

Error Failed to produce item: C:\Program Files\UnrealEngine-FleX-4.15.0\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-Core.lib ShaderCompileWorker C:\Program Files\UnrealEngine-FleX-4.15.0\Engine\Intermediate\ProjectFiles\ERROR 1

Error Failed to produce item: C:\Program Files\UnrealEngine-FleX-4.15.0\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Core.lib UE4 C:\Program Files\UnrealEngine-FleX-4.15.0\Engine\Intermediate\ProjectFiles\ERROR 1

Error
UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: C:\Program Files\UnrealEngine-FleX-4.15.0\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest, exit code: OtherCompilationError (5)). UE4 C:\Program Files\UnrealEngine-FleX-4.15.0\Engine\Intermediate\ProjectFiles\EXEC 1

Error C1083
Cannot open include file: 'nldef.h': No such file or directory ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\shared\ipmib.h 37

Error C1083
Cannot open include file: 'nldef.h': No such file or directory UE4 C:\Program Files (x86)\Windows Kits\8.1\include\shared\ipmib.h 37

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)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41

It seems like there is one include file (nldef.h) missing in the windows 8.1 SDK the Visual studio can't find. But it's also not there.

UPDATE: I REINSTALLED THE WINDOWS SDK AND IT WORKED but now there is another error showing up (so unexpected) :

New Error Error LNK1181 cannot open input file 'GFSDK_SSAO_D3D11.win64.lib' ShaderCompileWorker C:\Users\Selim\Desktop\UnrealEngine\Engine\Intermediate\ProjectFiles\LINK 1

Error Failed to produce item: C:\Users\Selim\Desktop\UnrealEngine\Engine\Binaries\Win64\ShaderCompileWorker-RHI.dll ShaderCompileWorker C:\Users\Selim\Desktop\UnrealEngine\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)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41

I tried to compile the Engine alot of times , I also saw the updates recently made, which i also tried to compile: - Flex for UE4.15 - Cataclysm demo for UE4.15 (updated 3 days ago) - List item

I tried them all but I always get stuck at the visual studio part of the compilation. There always an error popping up. I'm very grateful for any help.

Product Version: UE 4.15
Tags:
more ▼

asked Apr 21 '17 at 10:48 AM in Installation & Setup

sellpo gravatar image

sellpo
11 3

Playhard gravatar image Playhard Apr 25 '17 at 06:05 AM

Hi,

Similar errors for me, we need help please

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

1 answer: sort voted first

Hi sellpo,

Unfortunately we do not provide official support for the various Nvidia technologies that they have made available for use in Unreal Engine 4. If you need any help with these technologies specifically, there is a forum thread dedicated to working with them that is handled by the Unreal Engine community, as well as the Issues page on Nvidia's custom fork of the Engine.

Tim

more ▼

answered Apr 26 '17 at 09:34 PM

Tim Lincoln gravatar image

Tim Lincoln ♦♦ STAFF
16.5k 417 47 256

(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