ashea-code / BLUI

Rich HTML UI engine for UE4
MIT License
859 stars 259 forks source link

UE 4.15 compatibility #94

Open Tolc opened 7 years ago

Tolc commented 7 years ago

I just moved to UE 4.15, and the project refuses to compile due to BLUI.

Seems like it is an issue with some Windows dependencies:

Performing 9 actions (4 in parallel) PCH.Blu.cpp Module.BluLoader.cpp C:\project\Plugins\BLUI\Source\BluLoader\Private\BluLoader.cpp(15): error C3861: 'SetDllDirectory' : identificateur introuvable C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/base/internal/cef_atomicops_x86_msvc.h(146): error C3861: 'InterlockedCompareExchangePointer' : identificateur introuvable C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/base/internal/cef_atomicops_x86_msvc.h(162): error C3861: 'InterlockedExchangeAdd64' : identificateur introuvable C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_export.h(41): warning C4668: 'USING_CEF_SHARED' non défini(e) comme préprocesseur ou macro, remplacement par '0' pour '#if/#elif' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(164): warning C4458: la déclaration de 'x' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1244): note: voir la déclaration de '_cef_point_t::x' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(164): warning C4458: la déclaration de 'y' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1245): note: voir la déclaration de '_cef_point_t::y' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(205): warning C4458: la déclaration de 'x' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1252): note: voir la déclaration de '_cef_rect_t::x' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(205): warning C4458: la déclaration de 'y' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1253): note: voir la déclaration de '_cef_rect_t::y' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(205): warning C4458: la déclaration de 'width' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1254): note: voir la déclaration de '_cef_rect_t::width' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(205): warning C4458: la déclaration de 'height' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1255): note: voir la déclaration de '_cef_rect_t::height' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(246): warning C4458: la déclaration de 'width' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1262): note: voir la déclaration de '_cef_size_t::width' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(246): warning C4458: la déclaration de 'height' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1263): note: voir la déclaration de '_cef_size_t::height' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(288): warning C4458: la déclaration de 'bounds' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1273): note: voir la déclaration de '_cef_draggable_region_t::bounds' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(288): warning C4458: la déclaration de 'draggable' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1278): note: voir la déclaration de '_cef_draggable_region_t::draggable' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(343): warning C4458: la déclaration de 'device_scale_factor' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1381): note: voir la déclaration de '_cef_screen_info_t::device_scale_factor' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(344): warning C4458: la déclaration de 'depth' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1386): note: voir la déclaration de '_cef_screen_info_t::depth' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(345): warning C4458: la déclaration de 'depth_per_component' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1392): note: voir la déclaration de '_cef_screen_info_t::depth_per_component' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(346): warning C4458: la déclaration de 'is_monochrome' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1397): note: voir la déclaration de '_cef_screen_info_t::is_monochrome' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(347): warning C4458: la déclaration de 'rect' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1409): note: voir la déclaration de '_cef_screen_info_t::rect' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(348): warning C4458: la déclaration de 'available_rect' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(1424): note: voir la déclaration de '_cef_screen_info_t::available_rect' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(830): warning C4458: la déclaration de 'from' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(2014): note: voir la déclaration de '_cef_page_range_t::from' C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types_wrappers.h(830): warning C4458: la déclaration de 'to' masque le membre de classe C:\project\Plugins\BLUI\ThirdParty\cef\Win\include/internal/cef_types.h(2015): note: voir la déclaration de '_cef_page_range_t::to' ERROR : UBT error : Failed to produce item: E:\Projects\SGN\SGN_Git\Plugins\BLUI\Intermediate\Build\Win64\UE4Editor\DebugGame\UE4Editor-Blu-Win64-DebugGame.lib

Any idea? :/

aaronsnoswell commented 7 years ago

This is great that @Speedy37's commit fixes UE4.15 compatibility. It would be great if the releases page was updated with a 4.15 compatible release. This would allow others (me :P) to keep using BLUI without downloading CEF and doing a build :)

ashea-code commented 7 years ago

Hey everyone, wanted to let you know that I've seen all your issues and comment about the 4.15 problems and possible 4.16 now!

I'll be finishing up my current semester this week, so I might be able to make a few builds of the plugin for releases in the next month or so. I'll keep everyone posted!