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"

VS2015 compiler error: Failed to produce item .lib

I've recently upgraded my 4.14.3 project to 4.15 without issues, but soon after I found that when compiling my code, Visual Studio 2015 will spit out two errors:

 Failed to produce item: E:\UnrealProjects\xxx\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-xxx-9961.lib

 MSB3075    The command ""D:\Epic Games\UE_4.15\Engine\Build\BatchFiles\Build.bat" xxxEditor Win64 Development "E:\UnrealProjects\xxx\xxx.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.

While it does spit out these errors, it seems to compile just fine. I've already regenerated my VS project files from the .uproject file to no avail.

Can anybody assist?

Edit: Okay, it doesn't compile at all and I have to restart the editor in between compiles...

Product Version: UE 4.15
more ▼

asked Feb 19 '17 at 11:42 AM in C++ Programming

avatar image

141 5 7 10

avatar image eudrea Feb 20 '17 at 05:19 PM

Same issue here.

avatar image ZeroComfort Feb 21 '17 at 09:02 AM

If I forcibly Rebuild the whole project it seems to compile fine, but obviously that's not preferred, since it takes much longer this way.

avatar image pvanberlo Mar 03 '17 at 02:24 PM

Same issue here... Found a fix yet (besides rebuilding all and/or restart editor)?

avatar image ZeroComfort Mar 03 '17 at 02:34 PM

Not yet, but I can confirm that there are more people that suffer from the same issue in 4.15.

I've posted in the forums as well and some people just seem to suggest to compile in the Editor, but that is slow and unacceptable...

avatar image islandian Mar 04 '17 at 07:04 AM

I'm trying to compile in the editor and get a different .lib error each time i build it. It persists with random .lib errors through restarts (all in the same path as OP).

avatar image kbrizov Mar 11 '17 at 06:43 AM

Same. I am using Visual Studio 2017 and it does this everytime I change something in my code. The only solution is to rebuild.

avatar image John E.K. Mar 11 '17 at 10:05 AM

I wonder @kbrizov. Any improvements noticed with VS2017 compared to 2015? Better compile speeds maybe? What about the crazy slow IntelliSense from VS2015?

avatar image kbrizov Mar 11 '17 at 10:27 AM

Well, Visual Studio 2017 introduces some cool C++ features like in Visual Assist and Resharper C++. For example, by default the dot operator (.) is now replaced with arrow (->). It also has some nice new visual changes. Other than that I am relatively new to developing with Unreal and it seems that the issue with Intellisense is still here. It's very slow. I have a C#/Unity background and I am used to lightening fast intellisense. The only thing that "fixes" this slow intellisense is Visual Assist. Resharper is super slow too.

avatar image ZeroComfort Mar 16 '17 at 02:32 PM

@kbrizov Can you recommend Visual Assist over Intellisense? I've heard it is faster, but does it have the same functionality?

avatar image kbrizov Mar 16 '17 at 04:03 PM

Visual Assist has a 30 day trial period, so you can test it yourself. The installation is super easy too. It's very nice. It does not remove your intellisense it just improves it and adds many cool features that help you. I definitely recommend it :)

avatar image ZeroComfort Mar 16 '17 at 09:17 PM

@kbrizov Thanks for the answer and recommendation. Can I use Visual Assist to replace Intellisense altogether (turn it off and still have the same features)? Because still having Intellisense running in the background doesn't seem like a pleasant thought...

avatar image DropBear77 May 11 '17 at 01:04 AM

I am using 4.15.2 and still having this issue. Engine is source build from Github and installed on second hardrive.

avatar image ZeroComfort May 11 '17 at 08:29 AM

@DropBear77 Either this is a regression or it is due to the fact that your engine is built from source (unlike mine). In any case, I have not encountered this problem ever since 4.15.1. I suggest you create a new question on this matter.

avatar image harvelloken Sep 14 '17 at 10:30 PM

4.17 VS2017 15.3.4 got that when rebuilding with development server configuration Failed to produce item: F:\Unreal\UnrealEngine-4.17release\Engine\Plugins\Online\OnlineSubsystemUtils\Binaries\Win64\ProtoDedicated-OnlineSubsystemUtils.lib ProtoDedicated F:\Unreal\Projects\ProtoDedicated\Intermediate\ProjectFiles\ERROR 1

avatar image ZeroComfort Sep 15 '17 at 07:21 AM

@harvelloken I don't think this is the same issue. Did you also get the:

-waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.

part of the message?

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

5 answers: sort voted first

Fixed by Hotfix 4.15.1. Issue tracker: UE-42205

more ▼

answered Mar 21 '17 at 03:19 PM

avatar image

141 5 7 10

avatar image anteevy Jun 05 '17 at 10:38 AM

I'm having the same issue now in 4.16.1 with VS2017. The issue is listed as unresolved? https://issues.unrealengine.com/issue/UE-42205 Is this another regression?

avatar image ZeroComfort Jun 05 '17 at 12:48 PM

I would believe it is a regression in 4.16, tough I can't say for sure, since I still use 4.15 and VS2015 myself.

avatar image kbrizov Jun 05 '17 at 01:36 PM

I can confirm. The problem is present in 4.16 again. At least for me. I am using Visual Studio 2017 (Latest patch) and UE 4.16.1

avatar image John Tiesselune Jun 13 '17 at 12:12 PM

I do have the same problem in 4.16.1 and VS17.

avatar image pulp_user Jul 25 '17 at 12:45 PM

Can confirm, I have the same problem with 4.16.1 and VS15.

avatar image ZeroComfort Jul 26 '17 at 09:50 AM

The tracker shows it has been fixed in 4.16.2, please try updating.

avatar image RapidBlaze Aug 03 '17 at 08:39 PM

Have same problem with 4.16.3 and VS15.

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

Confirmed, issue fixed in 4.15.1

more ▼

answered Mar 21 '17 at 09:02 PM

avatar image

76 3 8 12

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

Same error here. A full rebuild indeed makes the error go away. I believe it's some minor bug with the new compiler that came with UE 4.15.

In any case I must point out that the project builds fine and it's not affected by the VS error. I wouldn't worry about it that much.

more ▼

answered Mar 11 '17 at 10:00 AM

avatar image

John E.K.
6 1 3

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

Same Problem in Unreal 4.16.1 I had to rebuild the whole project, hope it helps!

more ▼

answered Jun 17 '17 at 12:19 AM

avatar image

19 3 5 9

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

I am working with a custom version ue4.17.1 using code from VS215 within VS2017,

I am getting these errors that update 3 is required when I already updated the VS 2017

Severity Code Description Project File Line Suppression State Error C2338 Visual Studio 2015 Update 3 is required to compile on Windows (http://go.microsoft.com/fwlink/?LinkId=691129) ShaderCompileWorker d:\unrealengine\enginebuilds\417\ue_4171_g\engine\source\runtime\core\public\Windows\WindowsPlatformCompilerSetup.h 19

more ▼

answered Oct 02 '17 at 11:27 PM

avatar image

8 1 2 4

(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