4.15 ImageWrapper Compile Error vs2015

I am not able to use all the functions related to ‘imagewrapper’ because of this problem.

  1. Make New 4.15 Blank Project

  2. Make C++ Blueprint Function library

  3. Adding ‘#include “Runtime/ImageWrapper/Public/Interfaces/IImageWrapper.h”’ to this will always cause an error.

    #include “Runtime/ImageWrapper/Public/Interfaces/IImageWrapper.h”
    #include “Runtime/ImageWrapper/Public/Interfaces/IImageWrapperModule.h”

------Error in vs2015------

‘Interfaces/IImageWrapper.h’: No such file or directory
C:\Program Files\Epic Games\UE_4.15\Engine\Source\Runtime\ImageWrapper\Public\Interfaces\IImageWrapperModule.h 7

I do not have any problems if I do this completely the same process from the blank project in 4.14.3.

I did not fix this problem when I reinstalled or checked 4.15.

imagewrapper.h file exists in the correct path.

However, vs2015 does not seem to recognize.

Thanks for reading

Hi,

locate your [project-name].Build.cs, add "ImageWrapper" to the PublicDependencyModuleNames list. Then use #include "Interfaces/IImageWrapperModule.h" to include the file.

Thank you very much. problem is resolved. Thank you.

Thank you. manipulation the .Build.cs File repairs my FImage and ImageWrapperModule includes.
The normal #include is working after the build.cs trick :slight_smile:

It appears with 4.19 the interfaces have been moved to

#include "Runtime/ImageWrapper/Public/IImageWrapper.h"
#include "Runtime/ImageWrapper/Public/IImageWrapperModule.h"