Hello,
I moved my project from ue4.14.1 to ue4.16.1. However the project that is using BluEye is not compiling.
I grabbed the latest release of BLUI from github, version 3.1 and replaced the BLUI folder inside of my Game Project. Then I re Generated Visual Studio project files and tried to recompile and it fails every time at Blueye.
1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
1>D:\UnrealEngine\UnrealEngine4-16\Engine\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -waitmutex
1>Creating makefile for ShaderCompileWorker (no existing makefile)
1>Target is up to date
1>Deploying ShaderCompileWorker Win64 Development...
1>Total build time: 1.84 seconds (NoActionsToExecute executor: 0.00 seconds)
2>------ Build started: Project: MusicalRange, Configuration: Development_Editor x64 ------
2>D:\UnrealEngine\UnrealEngine4-16\Engine\Build\BatchFiles\Build.bat MusicalRangeEditor Win64 Development "D:\Dropbox\MusicalRange-4.16\MusicalRange.uproject" -waitmutex
2>Couldn't parse 'r.TranslucentLightingVolume 0'
2>Creating makefile for MusicalRangeEditor (no existing makefile)
2>Performing 7 actions (4 in parallel)
2>Blu.generated.cpp
2>Module.Blu.cpp
2>Module.BluLoader.cpp
2>D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Public\BluEye.h(54): error C2039: 'GetMaterialInstance': is not a member of 'UBluEye'D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Public\BluEye.h(54): error C2039: 'GetMaterialInstance': is not a member of 'UBluEye'
2>
2>D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Public\BluEye.h(51): note: see declaration of 'UBluEye'
2>D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Public\BluEye.h(51): note: see declaration of 'UBluEye'
2>D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Public\BluEye.h(54): error C2660: 'UBluEye::init': function does not take 0 argumentsD:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Public\BluEye.h(54): error C2660: 'UBluEye::init': function does not take 0 arguments
2>
2>D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Private\RenderHandler.cpp(37): error C3861: 'CEF_REQUIRE_UI_THREAD': identifier not found
2>D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Source\Blu\Private\RenderHandler.cpp(48): error C3861: 'CEF_REQUIRE_UI_THREAD': identifier not found
2>[4/7] Link UE4Editor-BluLoader.dll
2>[5/7] Link UE4Editor-BluLoader.lib
2> Creating library D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-BluLoader.lib and object D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-BluLoader.exp
2> Creating library D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-BluLoader.suppressed.lib and object D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-BluLoader.suppressed.exp
2>ERROR : UBT error : Failed to produce item: D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Blu.suppressed.exp
2>Total build time: 45.05 seconds (Local executor: 0.00 seconds)
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3075: The command "D:\UnrealEngine\UnrealEngine4-16\Engine\Build\BatchFiles\Build.bat MusicalRangeEditor Win64 Development "D:\Dropbox\MusicalRange-4.16\MusicalRange.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "MusicalRange.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
I thought that maybe I could fix it by looking at the errors, but I am puzzled. As it complains about line 54 “getMaterialInstance” but there is nothing of that in that line. Only the GENERATED_BODY() macro.