When building 4.15.1 (also 4.15.0) from source, I get errors from the plugins all similar to this:
Severity Code Description Project File Line Suppression State
Error Expected LowEntryBitDataEntry.h to be first header included. UE4 E:\UEngine\Engine\Plugins\Marketplace\LowEntryExtStdLib\Source\LowEntryExtendedStandardLibrary\Private\Classes\LowEntryBitDataEntry.cpp 1
I know that 4.15 changed the way it does headers. Is there some switch I need to set in the compiler to build this or something else that I am missing?
Yes, all previous versions of the engine built fine with the plugins. Iāll double check everything today and make sure everything is up to date and if necessary wipe and start from scratch.
I am also having the same errors. After adding it to the launcher engine, I copied it to my source build, generated project files, and tried to rebuild but couldnāt.
I read from somewhere to disable IWYU, but I donāt know how to do that and I canāt find the solution anywhere. If anyone can help I would very much appreciate it. Using Windows 10 here.
You can disable IWYU by adding
bEnforceIWYU = false;
to each pluginās build.cs file(s).
You can find those files by going to the source folder of the plugin and then by going one deeper than that, so with the LE Extended Standard Library thatās:
āPlugins\LowEntryExtendedStandardLibrary\Source\LowEntryExtendedStandardLibrary\LowEntryExtendedStandardLibrary.Build.csā
and
āPlugins\LowEntryExtendedStandardLibrary\Source\LowEntryExtendedStandardLibraryEditor\LowEntryExtendedStandardLibraryEditor.Build.csā.
Anyway, itās weird because if this is the problem then it should throw errors for me as well (Iām using Win 7, Visual Studio 2015).
If this fixes the errors youāre getting, let me know, I will be fixing the actual problems of the IWYU errors then (which are the include Engine.h lines and such).
Since it is clear that the Marketplace plugin source also compiles fine for Epic with the 4.15 engine source and presuming that the source files are identical, I can only conclude that there must be some compiler setting or other difference in build environments that they are using that I am not.
After reading some of the IWYU documentation, I suspect that some of the difficulty may lie with this:
All of the source files that come with the Marketplace compiled plugin appear to have these .pch files (in VS), Iām going to experiment with this.
Ah, thanks for letting me know about " PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;", if I place that in the Build.cs files I get the same errors that you were getting.
I will be fixing the code itself which should hopefully fix the errors youāre getting.
Iāll let you know when the code has been fixed (and send to Epic).
-Edit-
Iāve found out how to fix the errors. Itās not hard to do, itās just quite some work. Iāll probably be done in an hour or two.
I have fixed the errors, could you please redownload the LE Extended Standard Library plugin from https://codeā¦com/Applications/Plugins/UE4/ExtendedStandardLibrary and see if the new version works?
If the new version of the LE Extended Standard Library works on your end then Iāll send Epic the updates (for every LE plugin) so they can publish them to the marketplace.
I am going to increase the prices for the LE plugins (permanently).
The reason for the price increasements is that Iām going to try to do this full time. In order to make a living off of developing code plugins, the prices will need to be a bit higher.
hey is there anywhere we can get the sourcecode from (especially in my case for LowEntryFileManager) ive brought it on the marketplace but need it for a custom engine version