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. 

[Closed] C++ Plugin Build Error from Command Line, MarketPlace Submission

I am submitting my code plugin for the UE4 Marketplace. My project is here: https://www.dropbox.com/s/r542ohapreds6up/CreatureDragon2D.7z?dl=0

The project builds and runs just fine when the user double clicks on the .uproject file and brings up the UE4 Editor. Everything compiles through and works. The reviewers have also confirmed this works on their end.

However, for my submission process, the reviewers had issues building it from command line with their arguments run from the terminal:

Engine\Build\BatchFiles\RunUAT.bat BuildPlugin -Plugin=[Path to .uplugin file, must be outside engine directory] -Package=[Output directory] -Rocket

This results in compiler errors complaining of certain header files not found. My plugin has an extra folder called ThirdParty that contains extra code and headers. In order to make sure the UE4 BuildTool finds those proper ThirdParty Headers, I have already put in code there to add in the extra directories ( in CreaturePlugin.Build.cs ):

             **// Include path
             PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "CreatureLib", "Includes"));**

This definitely works since as I mentioned before, the project will build + run properly when opening up via the normal process of clicking on the uproject file and running the UE4 Editor.

Unfortunately it fails from the custom command line build.

So my question now is what else am I missing here to make the command line build the reviewers sent me go through? It is obvious the C++ compiler is not having the correct header paths included during the final step of the build. As far as I am aware of, the C# script is the only place I can specify the header paths since UE4 uses its own build system.

Please advice me on the steps to do next. Thanks!

Update: I have also tried putting in a FilterPlugin.ini with the text: [FilterPlugin] /ThirdParty/...

in the Config directory of the Plugin. However the build still fails from the commandline. Please let me know what else I need to do to fix this.

Product Version: UE 4.11
more ▼

asked Apr 26 '16 at 06:08 PM in Packaging & Deployment

avatar image

11 1 4 6

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

The question has been closed Aug 19 '16 at 04:38 PM by Steve Hardister for the following reason:

Problem is not reproducible or outdated

1 answer: sort voted first

Hi kestrelm,

Due to the large volume of questions and comments concerning the Engine, we did not have a chance to respond to your post at the time you submitted it and, thus, the issue is now outdated. If you are still experiencing this issue in the current release of the Engine, please make a new post for assistance.


Steve H.

more ▼

answered Aug 19 '16 at 04:37 PM

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question