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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Can't build from VS with my plugin

Hello everyone. I made simple plugin that contains two modules: SimplePlugin (Editor) and SimpleRuntime (Runtime).
Here is SimplePlugin module:

 class ISimplePluginModule : public IModuleInterface
     virtual bool IsNumberIsEqual42(int32 num) const = 0;
     static inline ISimplePluginModule & Get()
         return FModuleManager::LoadModuleChecked<ISimplePluginModule>("SimplePlugin");
     static inline bool IsAvailable()
         return FModuleManager::Get().IsModuleLoaded("SimplePlugin");

And in SimpleRuntime module i'm using this method:

 bool ISimpleRuntimeModule::IsNumberEquals42(int32 num) const
     if (ISimplePluginModule::IsAvailable())
         return ISimplePluginModule::Get().IsNumberIsEqual42(num);
     return false;

Then i export this plugin to my other project. I don't want to build this plugin each time, so i pack plugin with all folders: Binaries, Intermediate, Resources and Source (without Private folders).

Now everything works fine, i can include my module and use it with my interface. But i can't compile from Visual Studio, only from UE Editor. In Visual Studio i got:

 LINK : fatal error LNK1181: cannot open input file 'path-to-project\Plugins\SimplePlugin\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-SimpleRuntime-5027.lib'
 ERROR : UBT error : Failed to produce item: path-to-project\Binaries\Win64\UE4Editor-TestProject-2912.dll

Looks like in Visual Studio i'm trying to build again my plugin, but not in UE Editor.

How can i fix this? You can get my plugin from this link (compiled with UE 4.13.2)

Product Version: UE 4.13
more ▼

asked Feb 06 '17 at 10:23 PM in C++ Programming

avatar image

6 2 4 6

(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