Forn
(Forn)
July 4, 2014, 6:14am
1
Hello. I switch to the bracnh 4.3, and after this i get error while build the engine.
[535/620] link.exe UE4Editor-PhysXFormats.dll
1> Creating library W:\UE\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-PhysXFormats.lib and object W:\UE\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-PhysXFormats.exp
1> [536/620] link.exe UE4Editor-PerforceSourceControl.dll
1> [537/620] link.exe UE4Editor-SpeedTreeImporter.dll
1> [538/620] link.exe UE4Editor-PhAT.dll
1>LINK : fatal error LNK1181: cannot open input file 'SpeedTreeCore_Windows_v7.0_VC12_MTDLL64_Static.lib'
1> [539/620] link.exe UE4Editor-SessionFrontend.dll
What is the problem? $(
Acenth
(Acenth)
July 4, 2014, 6:22am
2
Same issue, haven’t found a fix yet.
Ad3ViLl
(Ad3ViLl)
July 4, 2014, 6:26am
3
If you are not going to use Speedtree you can just remove the “Speedtree” code from the Source/Plugins folder and rebuild.
Acenth
(Acenth)
July 4, 2014, 6:29am
4
So it looks like maybe a more recent commit to 4.3 branch is the culprit. I just pulled down the 4.3 ZIPs and built just fine.
Same problem. I’m just going to copy my post from another thread:
Anyone else having problems building 4.3 (switching over from 4.2)? Seems like the Speedtree implementation is the culprit:
19> Performing 1 actions (max 4 parallel jobs)
19> [1/1] link.exe UE4Editor-SpeedTreeImporter.dll
19>LINK : fatal error LNK1181: cannot open input file ‘SpeedTreeCore_Windows_v7.0_VC12_MTDLL64_Static.lib’
19> -------- End Detailed Actions Stats -----------------------------------------------------------
19>ERROR : UBT error : Failed to produce item: C:\Sandboxes\UnrealEngine\Engine\Plugins\Editor\SpeedTreeImporter\Binaries\Win64\UE4Editor-SpeedTreeImporter.dll
19> Cumulative action seconds (8 processors): 0,00 building projects, 0,00 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,10 linking, 0,00 other
19> UBT execution time: 10,18 seconds
19>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “C:\Sandboxes\UnrealEngine\Engine\Build\BatchFiles\Build.bat MyGameEditor Win64 Development “C:\Sandboxes\MyGame\MyGame.uproject”” exited with code -1.
27> Performing 1 actions (max 4 parallel jobs)
27> [1/1] link.exe UE4Editor-SpeedTreeImporter.dll
27>LINK : fatal error LNK1181: cannot open input file ‘SpeedTreeCore_Windows_v7.0_VC12_MTDLL64_Static.lib’
27> -------- End Detailed Actions Stats -----------------------------------------------------------
27>ERROR : UBT error : Failed to produce item: C:\Sandboxes\UnrealEngine\Engine\Plugins\Editor\SpeedTreeImporter\Binaries\Win64\UE4Editor-SpeedTreeImporter.dll
27> Cumulative action seconds (8 processors): 0,00 building projects, 0,00 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,10 linking, 0,00 other
27> UBT execution time: 10,25 seconds
27>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “C:\Sandboxes\UnrealEngine\Engine\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1.
========== Build: 0 succeeded, 2 failed, 1 up-to-date, 29 skipped ==========
I applied the new .zip dependency content. I recreated the project files using GenerateProjectFiles.bat. Settings set to Development Editor and Win 64.
I have used Rebuild All. Three times (with normal builds inbetween).
SpeedTreeCore_Windows_v7.0_VC12_MTDLL64_Static.lib is present.
edit: Right-clicking the speedtree libs and I see they were blocked because they ‘came from a different computer’. I unblocked them. Tried re-building but still no success (‘can’t open inpput file’). Looking up error: Linker Tools Error LNK1181 | Microsoft Learn
Okay it’s working now.
Re-download the dependency .zip packages and fetch the latest commits. Seems like Epic handled it on their end.
The .zip packages & source from yesterday (June 3rd) was the one giving me problems.