Build Failed: Error Launch Failed! Unknown Error.

Hello. I am currently developing a project in UE4.13.2 and for whatever reason I cannot seem to build my project (which is targeted for PC and HTML5.) Specifically, when trying to build I encounter the following fatal error:

LogPlayLevel: UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file 'libsndfile-1.lib'

I’ve tried verifying VS2015 Community as well as my Engine UE4.12.3 files and this hasn’t seemed to help. Does anyone know where this file is supposed to be located locally? What packages does this library usually come in? (I also tried uninstalling and reinstalling Engine prerequisites.)

Anyone know what may be causing this or have any suggestions for steps I can take to resolve this?

Thank you very much.

DesertEagle_PWN,

Make sure that you did not include an ‘AnimGraph’ as one of the Additional Dependencies. If you have, please remove it and everything should compile just file.

Let me know whether or not this works for you, thanks!

Hey , AnimGraph shouldn’t be a dependency (I checked last night while researching this issue and don’t remember seeing it) but I can check again when I get back to development later today. In the meanwhile, assuming the AnimGraph dependency isn’t a problem, are there aren’t other things you could suggest?

Thanks in advance.

Update: I have confirmed that AnimGraph is not an additional project dependency. It is absent from the additional dependencies list inside the .uproject.

Sorry for the delay; accidentally posted my reply from yesterday as an answer; so you probably did not receive any notification.

Thank you for double-checking that the AnimGraph wasn’t included as an additional dependency.

Libsndfile is a C library which is used to for reading and writing files containing sampled sound. You might need to simply download it.

Check this [AnswerHub post][1] out. If that doesn’t help any, please answer the following and I’ll continue to investigate.

  • Have you tried deleting your Intermediate and Saved folders from the project?
  • Have you tested in 4.14.0 or 4.14.1 to see if the error persists through an upgrade?
  • Is this project a full C++ project?

Thanks!

[BUG] LNK1181: cannot open input file 'libsndfile-1.lib' - Platform & Builds - Epic Developer Community Forums

Hey DesertEagle_PWN,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Hey , sorry for the late reply; I didn’t get the notification of your post so I didn’t respond.

Currently this problem is not resolved. In addition to the steps mentioned before, here are the additional steps that I have tried:

  • I have confirmed that “AnimGraph” and “UnrealEd” are not in my .uproject’s additional dependencies list
  • I have deleted my project Binaries, Saved, Intermediate files and VS solution and regenerated/rebuilt them for my project’s current engine version (Version: 4.13.2-3172292+++UE4+Release-4.13)) using the Development Editor build configuration.

None of the suggestions from the linked threads have yielded any benefit as they all pertain to regenerating the project Binaries/Saved/Intermediate files or checking for the additional dependencies mentioned.

Any further assistance on this would be greatly appreciated.

Edit: I also forgot to include the following information:

  • The project is a C++ project that also makes use of blueprints, especially for UI (UMG Widgets)

  • Using the same engine installation and VS configuration I am able to build, package and deploy a blank C++ project with no errors.

I am not able to reproduce this error when creating a first person template project with UI in it. Could you please check to see whether or not 4.14.1 works for you?

Have you tried migrating your project over to a newly created project to see if that fixes the issue too? I would not replace the old version with new until you’ve verified it’s corrected the problem. Sometimes older files will throw out errors.

Hey , this is a C++ project and I have tried migrating all content to an otherwise fresh project. I was unable to “migrate” the project source through any safe means, so I copied the source folder to the new project folder. I am having difficulty in this area – are there any specific steps I should take when migrating C++ Source to a new Code Project in 4.13.2?

My team really does not want to change engine versions until after launch if at all possible. Are there any other solutions or workarounds you could suggest so that we can actually get a packaged development build for deployment?

I also tried a complete engine 4.13.2 uninstall and reinstall. I still seem to be missing the same .lib, and I don’t see it and here in the engine directories. where is this .lib supposed to live inside the engine folder?

It lives in the Engine\Binaries\ThirdParty\Libsndfile folder. Here is a copy of mine, hopefully it’ll work for you all.

[Libsndfile-1.lib][1]

https://www…com/s/h4v3rk3zmomq923/libsndfile-1.lib?dl=0