Trying to build this on vc++ 2015 but i’m getting this build error:
1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
1> Target is up to date
1> Deploying ShaderCompileWorker Win64 Development...
1> Total build time: 0.22 seconds (NoActionsToExecute executor: 0.01 seconds)
2>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
2> Creating makefile for UE4Editor (no existing makefile)
2> Messages while compiling H:\UnrealEngine-4.17\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
2>h:\UnrealEngine-4.17\Engine\Plugins\Editor\SimplexNoise\Source\SimplexNoise\SimplexNoise.Build.cs(10,9): warning CS0618: 'UnrealBuildTool.ModuleRules.ModuleRules()' is obsolete: 'Please change your module constructor to take a ReadOnlyTargetRules parameter, and pass it to the base class constructor (eg. "MyModuleRules(ReadOnlyTargetRules Target) : base(Target)").'
2>H:\UnrealEngine-4.17\Engine\Plugins\Editor\SimplexNoise\Source\SimplexNoise\SimplexNoise.Build.cs : warning : Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.
2> Performing full C++ include scan (no include cache file)
2> Building UnrealHeaderTool...
2> Target is up to date
2> Total build time: 0.23 seconds (NoActionsToExecute executor: 0.01 seconds)
2> Parsing headers for UE4Editor
2> Running UnrealHeaderTool UE4Editor "H:\UnrealEngine-4.17\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors
2>LogPluginManager : warning : Engine version string in ../../../Engine/Plugins/Editor/SimplexNoise/SimplexNoise.uplugin could not be parsed ("4.17")
2> Reflection code generated for UE4Editor in 15.0831475 seconds
2>H:\UnrealEngine-4.17\Engine\Plugins\Editor\SimplexNoise\Source\SimplexNoise\Private\SimplexNoiseBPLibrary.cpp(1): error : Expected SimplexNoiseBPLibrary.h to be first header included.
2> Build canceled.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 1.
========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
The following is what the .uplugin file looks like, i tried to change the version number hoping that it would make a different.
{
"PluginFileVersion" : 1,
"FriendlyName" : "Simplex Noise",
"Version" : 1,
"VersionName" : "1.0.0",
"CreatedBy" : "DavDad",
"CreatedByURL" : "https://art-and-code.com/",
"EngineVersion":"4.17",
"Description" : "SimplexNoise Blueprint Library to use in Unreal Engine 4",
"Category" : "ArtAndCodeSuite.SimplexNoise",
"EnabledByDefault" : true,
"Modules" :
{
"Name" : "SimplexNoise",
"Type" : "Runtime",
"LoadingPhase" : "PreDefault",
"WhitelistPlatforms" : "Win64", "Win32", "Mac" ]
},
]
}
Anyways, any help would be appreciated since i have little experience with the C++ side of UE4
Edit: I fixed it, all i had to do was fix the header order…