UE4 4.19 build from source error :(

Hi guys,

I have been quite literally trying for days to get build from source with various versions. 4.17, 4.18, 4.19.

I forked mod from AlienRenders on GitHub which adds supports for Dual Quaternion skinning. I’m using Visual Studio 2017 with Games development with C++ and unreal engine installer checked.

Essentially following the official documentation:

Unfortunately I have been getting this error consistently! going utterly insane lol. Any help would be great.

Thanks :slight_smile:

[SIZE=2]1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------[/SIZE]

[SIZE=2]1>Using ‘git status’ to determine working set for adaptive non-unity build.[/SIZE]

[SIZE=2]1>Performing 1 actions (9 in parallel)[/SIZE]

[SIZE=2]1>[1/1] Link ShaderCompileWorker-ImageWrapper.dll[/SIZE]

[SIZE=2]1>LINK : fatal error LNK1181: cannot open input file ‘jpeg9b64.lib’[/SIZE]

[SIZE=2]1>UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\Users\Mehdi\Documents\GitHub\UnrealEngine\Engine\Binaries\Win64\ShaderCompileWorker-ImageWrapper.dll[/SIZE]

[SIZE=2]1>Total build time: 0.83 seconds (Local executor: 0.00 seconds)[/SIZE]

[SIZE=2]1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command “…..\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command.[/SIZE]

[SIZE=2]1>Done building project “ShaderCompileWorker.vcxproj” – FAILED.[/SIZE]

[SIZE=2]2>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------[/SIZE]

[SIZE=2]2>Using ‘git status’ to determine working set for adaptive non-unity build.[/SIZE]

[SIZE=2]2>Performing 2 actions (9 in parallel)[/SIZE]

[SIZE=2]2>[1/2] Link UE4Editor-UnrealEd.dll[/SIZE]

[SIZE=2]2>[2/2] Link UE4Editor-ImageWrapper.dll[/SIZE]

[SIZE=2]2>LINK : fatal error LNK1181: cannot open input file ‘jpeg9b64.lib’[/SIZE]

[SIZE=2]2>LINK : fatal error LNK1181: cannot open input file ‘jpeg9b64.lib’[/SIZE]

[SIZE=2]2>UnrealBuildTool : error : UBT ERROR: Failed to produce item: C:\Users\Mehdi\Documents\GitHub\UnrealEngine\Engine\Binaries\Win64\UE4Editor-UnrealEd.dll[/SIZE]

[SIZE=2]2>Total build time: 7.99 seconds (Local executor: 0.00 seconds)[/SIZE]

[SIZE=2]2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -WaitMutex -FromMsBuild” exited with code 5. Please verify that you have sufficient rights to run this command.[/SIZE]

[SIZE=2]2>Done building project “UE4.vcxproj” – FAILED.[/SIZE]

[SIZE=2]========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========[/SIZE]

Hey there @TheMedio, I’ve pinged some teams internally for you. I’ll get back to you if there is anything I need from you to follow up on.

Thanks!

Hi TheMedio,

I did a test build of 4.19 using Visual Studio 2017, and it built successfully for me. I also looked for the file that seems to be giving you trouble (jpeg9b64.lib), and that library does not exist in the Engine, and there does not seem to be anything in the Engine that references that library.

You mentioned that you had forked something from AlienRenders. What is that? I was unable to find a UE4 repo matching that name on GitHub.

Hey ,

This is what OP was referring to:
Intro: Adding Dual Quaternion support to UnrealEngine4 (Images inside) - Daz 3D Forums
Repo: https://github.com/AlienRenders/UnrealEngine

It restores Dual Quaternion Skinning to UE4, intended mainly for the use with Daz Studio (Genesis 3, Genesis 8 etc.) characters.

Thank you for the extra information. I pulled down that repo and attempted to build it, and I did see the error that was mentioned in the OP when building the Engine. Since this is a modified version of the Engine, you will need to contact the owner of the repo for assistance with this.

AlienRenders prompted.Try to do it.
Launch the developer x64 command prompt for VS2015/VS2017
Go to your UE4 folder.
cd Engine\Source\ThirdParty\libTIFF
UE4_BuildThirdPartyLib.bat

Then build UE4.