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"

Linking Error While Shipping Proyect

I have a project that works fine in the editor and in a windows desktop development package.

But the moment I try to package it with the shipping build, everything is doing ok until the last link step, when an error arises:

 Creating makefile for CapturaViewerUE4 (no existing makefile)
 Performing full C++ include scan (no include cache file)
 Parsing headers for CapturaViewerUE4
   Running UnrealHeaderTool "C:\Users\Javi\Documents\Unreal Projects\CapturaViewerUE4\CapturaViewerUE4.uproject" "C:\Users\Javi\Documents\Unreal Projects\CapturaViewerUE4\Intermediate\Build\Win64\CapturaViewerUE4\Shipping\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
 Reflection code generated for CapturaViewerUE4 in 12,4636072 seconds
 Performing 22 actions (4 in parallel)
 PCH.MeshImporterPCH.h.cpp
 PCH.Visor3DPCH.h.cpp
 PCH.UELinkerFixupsName.h.cpp
 PCH.CapturaViewerUE4.h.cpp
 UELinkerFixups.cpp
 MeshImporter.generated.cpp
 MyProceduralMeshComponent.cpp
 Visor3DModule.cpp
 modelViewer.cpp
 cameraVisor.cpp
 Visor3D.generated.cpp
 MeshImporterModule.cpp
 ProceduralTest.cpp
 [14/22] Link UE4-Visor3D-Win64-Shipping.lib
 CapturaViewerUE4.cpp
 CapturaViewerUE4.generated.cpp
 viewerHUD.cpp
 TreeItem.cpp
 c:\users\javi\documents\unreal projects\capturaviewerue4\plugins\meshimporter\source\meshimporter\public\tiny_obj_loader.h(1108): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
 C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(2254): note: see declaration of 'sscanf'
 c:\users\javi\documents\unreal projects\capturaviewerue4\plugins\meshimporter\source\meshimporter\public\tiny_obj_loader.h(1132): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
 C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(2254): note: see declaration of 'sscanf'
 CapturaViewerUE4GameMode.cpp
 SDDFileTree.cpp
 [21/22] Link UE4-MeshImporter-Win64-Shipping.lib
 [22/22] Link CapturaViewerUE4-Win64-Shipping.exe
 LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\Win64\UE4-EditorStyle-Win64-Shipping.lib'
 -------- End Detailed Actions Stats -----------------------------------------------------------
 ERROR: UBT ERROR: Failed to produce item: C:\Users\Javi\Documents\Unreal Projects\CapturaViewerUE4\Binaries\Win64\CapturaViewerUE4-Win64-Shipping.exe
 Total build time: 404,27 seconds

If I try to search for the C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\Win64\UE4-EditorStyle-Win64-Shipping.lib file, it doesnt even exists.

Note that I use two plugins of my own (which work perfectly fine in the editor and in a development package) and both of them are runtime plugins.

Any ideas?

Thanks in advance.

Product Version: UE 4.10
Tags:
more ▼

asked Apr 21 '16 at 09:16 AM in Packaging & Deployment

avatar image

havidarou
1 1 2

avatar image Tim C ♦♦ STAFF May 10 '16 at 09:00 PM

Hi havidarou,

I made a few attempts to reproduce the issue that you described, but was unable to see any failures when packaging for Shipping. Do you see this same behavior occur in a new test project? Are you using UFE when you package your project? What settings are you using?

Tim

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

1 answer: sort voted first

Hi havidarou,

We have not heard back from you for a while. Do you still need help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment and reopen the post if you need any more help.

Tim

more ▼

answered May 18 '16 at 03:38 PM

(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