Third party header causing build error with UCanvasRenderTarget
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:
The other issue that comes up when including the header is a warning about TEST macro redefinition in 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!
asked Apr 27 '18 at 07:03 PM in C++ Programming
I resolved the same issue by including following headers in YourProject.h
It cost me 3 days to figure it out : (
answered Jul 02 '18 at 12:16 PM
I solved the same problem by removing the #include of my project.
answered Jul 16 '19 at 09:35 AM
I solved the same problem by removing the
answered Jul 16 '19 at 09:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here