Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Can't compile project for ue4.16.1 #98

Open
Motanum opened this issue Jun 15, 2017 · 5 comments
Open

Can't compile project for ue4.16.1 #98

Motanum opened this issue Jun 15, 2017 · 5 comments

Comments

@Motanum
Copy link

Motanum commented Jun 15, 2017

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.

@Motanum
Copy link
Author

Motanum commented Jun 16, 2017

Well. Woke up in the morning, turned on my PC and the project compiled.
`1>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------

1>D:\UnrealEngine\UnrealEngine4-16\Engine\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -waitmutex

1>Target is up to date

1>Deploying ShaderCompileWorker Win64 Development...

1>Total build time: 3.36 seconds (NoActionsToExecute executor: 0.01 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>Parsing headers for MusicalRangeEditor

2> Running UnrealHeaderTool "D:\Dropbox\MusicalRange-4.16\MusicalRange.uproject" "D:\Dropbox\MusicalRange-4.16\Intermediate\Build\Win64\MusicalRangeEditor\Development\MusicalRangeEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors

2>Reflection code generated for MusicalRangeEditor in 77.5395026 seconds

2>Performing 4 actions (4 in parallel)

2>Module.Blu.cpp

2>Blu.generated.cpp

2>[3/4] Link UE4Editor-Blu.dll

2>[4/4] Link UE4Editor-Blu.lib

2> Creating library D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Blu.lib and object D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Blu.exp

2> Creating library D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Blu.suppressed.lib and object D:\Dropbox\MusicalRange-4.16\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-Blu.suppressed.exp

2>Deploying MusicalRangeEditor Win64 Development...

2>Total build time: 1136.67 seconds (Local executor: 1021.59 seconds)

========== Build: 2 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
`

@crashangelbr
Copy link

Hi, How you build in your machine???

You use build.py or only Plugin download ??

@Motanum
Copy link
Author

Motanum commented Jun 23, 2017

Hi, I downloaded the plug in from the master branch, by pressing clone download> Downlaod Zip.

I added the plug in to my project's plugin folder "MusicalRange-4.16\Plugins\BLUI"

Then I right clicked my uproject and generated Visual Studios files. so that the plugin elements would show up in the solution explorer inside of Visual Studio.

Then I compiled the project using Visual Studio. Development Editor, win64. The day I was doing the transition it failed. I had to do a bunch of adjustments to the code, which I can't recall. You can check out the code from my dropbox link.

https://www.dropbox.com/sh/ls7ll8ak65fgv17/AADJIA1hPiuuZRTLKN3WhuZPa?dl=0

Then, the next day. I turn off my PC at nights. the project compiled correctly on the first go.

I hope this helps you out.

@chhhrrriiisss
Copy link

chhhrrriiisss commented Jun 25, 2017

Thanks for sharing! I managed to get it to build in 4.16.1 using those files, however i'm running into a myriad of crashes and issues trying to get it working properly. Every method I try either results in a hard crash or just a blank white display.

I know you are able to build it, but can you confirm that it is functioning too?

@Motanum
Copy link
Author

Motanum commented Jun 26, 2017

Hi. I am only suing it to load youtube videos in my game. I tried it out, obviously, and it did work for me. There is a bit of a delay, which I am not sure if it's internet delay or BLUI delay, but the video does load.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants