I’m trying to use a third party library (OpenNURBS) in a Blueprint Function Library plugin. I have successfully used this library directly in a project before with 4.18, but am moving to 4.19 and decided to migrate the functionality to a plugin.
But when I include the third party header file into my code, I suddenly get the following compile errors about UCanvasRenderTarget2D::UpdateResourceW and UTextureCube::UpdateResourceW:
Error C3668 'UCanvasRenderTarget2D::UpdateResourceW': method with override specifier 'override' did not override any base class methodsC:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/CanvasRenderTarget2D.h(43): error C3668: 'UCanvasRenderTarget2D::UpdateResourceW': method with override specifier 'override' did not override any base class methods
Error C3668 'UTextureCube::UpdateResourceW': method with override specifier 'override' did not override any base class methodsC:\Program Files\Epic Games\UE_4.19\Engine\Source\Runtime\Engine\Classes\Engine/TextureCube.h(69): error C3668: 'UTextureCube::UpdateResourceW': method with override specifier 'override' did not override any base class methods
The other issue that comes up when including the header is a warning about TEST macro redefinition in winnt.h
Warning C4005 'TEXT': macro redefinition C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h
I know it’s hard to solve problems without knowing the exact details of the third party code, but given the seemingly randomness of the texture and canvas render problem, combined with the fact that I have used the library without issue in other projects makes me thoroughly confused.
Any thoughts??? Thanks!