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"

LINK : fatal error LNK1181: cannot open file ..\UE4-PerceptionNeuronRuntime.lib'

Plugin Name: Perception Neuron

Unreal Engine Version : 4.19.2 Full error: LINK : fatal error LNK1181:cannot open input file 'C:\Users\Max\Documents\Unreal Projects\ProteusTemplate-master\Plugins\PerceptionNeuron\Binaries\Win64\UE4-PerceptionNeuronRuntime.lib'

The plugin has two modules, Editor and Runtime.

In my .uproject I do not have any module dependency (some solution said to delete UMG references) The module UnrealEd is in the editor part of the plugin which should be fine (anyways removing it does not change the problem) while the Launch module in the runtime part if removed does not solve as well. The aforementioned steps have been tried after browsing for a solution for days.

What's strange is that this plugin builds fine in any other fresh project, but if I include it where I need it (in a Proteus Template project), then I get the error.

There must be some settings in my project that prevent the plugin from building, how can I find them?

this is the PerceptionNeuronEditor.Build.cs

 // Copyright 2015 Smartisan Technology Co., Ltd. All Rights Reserved.
 
 namespace UnrealBuildTool.Rules
 {
     public class PerceptionNeuronEditor : ModuleRules
     {
         public PerceptionNeuronEditor(ReadOnlyTargetRules Target) : base(Target)
         {
             PrivateDependencyModuleNames.AddRange(
                 new string[] {    
                     "Core",
                     "CoreUObject",
                     "Engine",
                     "UnrealEd",         // for FAssetEditorManager
                     "AssetTools",       // class FAssetTypeActions_Base
                     "Slate",
                     "SlateCore",
                     "PropertyEditor",
                     "EditorStyle",
                     "DesktopWidgets",
                     "DesktopPlatform",
                     "Projects",
                     "InputCore",
                     "AnimGraph",
                     "BlueprintGraph",
                     "PerceptionNeuronRuntime",
                 }
             );
 
             /// List of modules with header files that our module's public headers needs access to, but we don't need to "import" or link against.
             PublicIncludePathModuleNames.AddRange(
                 new string[] {
                     "AnimGraph",
                 }
             );
         }
     }
 }
 

and this is the PerceptionNeuronRuntime.Build.cs

 // Copyright 2015 Smartisan Technology Co., Ltd. All Rights Reserved.
 
 namespace UnrealBuildTool.Rules
 {
     public class PerceptionNeuronRuntime : ModuleRules
     {
         public PerceptionNeuronRuntime(ReadOnlyTargetRules Target) : base(Target)
         {
             Definitions.Add("WITH_AVATARID=0");
 
             // List of all paths to include files that are exposed to other modules.
             PublicIncludePaths.AddRange(
                 new string[] {
                     "PerceptionNeuronRuntime/Public",
                     // ... add public include paths required here ...
                 }
                 );
 
             // List of all paths to this module's internal include files, not exposed to other modules
             PrivateIncludePaths.AddRange(
                 new string[] {
                     "PerceptionNeuronRuntime/Private",
                     // ... add other private include paths required here ...
                 }
                 );
 
             // List of modules with header files that our module's public headers needs access to, but we don't need to "import" or link against.
             PublicIncludePathModuleNames.AddRange(
                 new string[] {
                 }
                 );
 
             // List of modules with header files that our module's private code files needs access to, but we don't need to "import" or link against.
             PrivateIncludePathModuleNames.AddRange(
                 new string[] {
                     "Launch",
                 }
                 );
 
             // List of public dependency module names. These are modules that are required by our public source files.
             PublicDependencyModuleNames.AddRange(
                 new string[]
                 {
                     // ... add other public dependencies that you statically link with here ...
                 }
                 );
 
             // List of private dependency module names. These are modules that our private code depends on but nothing in our public
             // include files depend on.
             PrivateDependencyModuleNames.AddRange(
                 new string[]
                 {
                     "Core",
                     "CoreUObject",
                     "Engine",
                     "Networking",
                     "Sockets",
                     "Projects",
                     // ... add private dependencies that you statically link with here ...
                 }
                 );
 
             // Addition modules this module may require at run-time.
             DynamicallyLoadedModuleNames.AddRange(
                 new string[]
                 {
                     // ... add any modules that your module loads dynamically here ...
                 }
                 );
         }
     }
 }

my .uproject

 {
     "FileVersion": 3,
     "EngineAssociation": "4.19",
     "Category": "",
     "Description": "",
     "Plugins": [
         {
             "Name": "OnlineSubsystemSteam",
             "Enabled": true
         },
         {
             "Name": "OnlineSubsystemOculus",
             "Enabled": true
         },
         {
             "Name": "OnlineSubsystemGooglePlay",
             "Enabled": false
         },
         {
             "Name": "OnlineSubsystemIOS",
             "Enabled": false
         },
         {
             "Name": "OculusAudio",
             "Enabled": true
         },
         {
             "Name": "AdvancedSteamSessions",
             "Enabled": false
         },
         {
             "Name": "AdvancedSessions",
             "Enabled": false
         },
         {
             "Name": "LinuxDeviceProfileSelector",
             "Enabled": false
         },
         {
             "Name": "IOSDeviceProfileSelector",
             "Enabled": false
         },
         {
             "Name": "AndroidDeviceProfileSelector",
             "Enabled": false
         }
     ],
     "TargetPlatforms": [
         "WindowsNoEditor",
         "IOS"
     ]
 }

Product Version: UE 4.19
Tags:
more ▼

asked Sep 14 '18 at 03:15 PM in Packaging & Deployment

avatar image

leadermax
65 3 11 18

avatar image leadermax Sep 17 '18 at 11:07 AM

I tried deleting all the modules, but I get the same error

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

0 answers: sort voted first
Be the first one to answer this question
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