ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
860 stars 258 forks source link

Demo project has build errors #56

Closed timothyBrake closed 8 years ago

timothyBrake commented 8 years ago

Hi,

I am trying to use the demo project and get started with BLUI but the project does not build. I am using unreal engine 4.10 and Visual Studio 2015. Also tried opening with ue4.7 and 4.9 but same issue.

Here is the log

1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: BLUIDemo, Configuration: Development_Editor x64 ------
2>  Performing full C++ include scan (building a new target)
2>  Creating makefile for BLUIDemoEditor (no existing makefile)
2>  Performing 9 actions (9 in parallel)
2>  PCH.BluPrivatePCH.h.cpp
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(182): error C3646: 'EMIT_DEPRECATED_WARNING_MESSAGE': unknown override specifier
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(182): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(182): error C2059: syntax error: '('
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(182): error C2555: 'base::DCheckAsserter::warn': overriding virtual function return type differs and is not covariant from 'base::AsserterBase::warn'
2>  D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(177): note: see declaration of 'base::AsserterBase::warn'
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(183): error C2143: syntax error: missing ')' before ';'
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(183): error C2143: syntax error: missing ';' before ')'
2>D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\ThirdParty\cef\Win\include/base/cef_thread_collision_warner.h(183): error C2059: syntax error: ')'
2>  -------- End Detailed Actions Stats -----------------------------------------------------------
2>ERROR : UBT error : Failed to produce item: D:\Unreal Projects\BLUIDemo 4.10\Plugins\BLUI\Binaries\Win64\UE4Editor-Blu.dll
2>  Total build time: 13,93 seconds
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ""C:\Program Files\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" BLUIDemoEditor Win64 Development "D:\Unreal Projects\BLUIDemo 4.10\BLUIDemo.uproject" -rocket -waitmutex -2015" exited with code -1.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Am I doing something wrong here? Thanks in advance.

ashea-code commented 8 years ago

The demo project has been out of date for a long while now. Try grabbing the latest release from this page (https://github.com/AaronShea/BLUI/releases) and replace the demo project's plugin with the latest version (3.1)