Compiling Error

I keep getting the following compiler errors:

fatal error C1083: Cannot open include file: 'ConvaiDefinitions.generated.h': No such file or directory```

and

fatal error C1083: Cannot open include file: ‘ConvaiDefinitions.generated.h’: No such file or directory```

I’ve tried the precompiled headers and the build from source (switching bUseCompiledHeaders from false to true, appropriately, I think), and I get those errors every time.

Hello @bobby,

Could you please share your Convai plugin version and Unreal Engine version?
Also, let us know which platform you are targeting and the exact steps you followed to reproduce this issue. This will help us investigate the problem more accurately and provide you with a solution.

UE 5.4, Convai 3.5.3-beta for the precompiled headers, Convai 3.3.2 for the build from source. Targeting Win64

Precompiled Headers (3.5.3-beta)
I downloaded the headers for your github (V5.4.zip) and extracted them into a folder called V5.4.
I copied the Convai folder and put it into my project’s Plugins folder
(The error I was getting earlier involved the ConvaiSubsystem not being initialized, so I have code attempting to get the ConvaiSubsystem and hopefully initialize it, so I #include ConvaiSubsystem.h in my GameInstance cpp file).
I try to build the system, and I get the errors mentioned.
If I comment out the header include mentioned above and the line attempting to reference the subsystem, I still get the ConvaiDefinitions.generated.h error, just not the “proto/service.grpc.pb.h” not found error.

Compiled Headers (3.3.2)
Largely the same as above, except I
Clone the github,
Build using py Build.py [Unreal Engine Directory] -TargetPlatforms=Win64 (there are hundreds of warnings, but no errors)
Copy to my projects folder

I delete completely the previous copy of Convai in my project folder when switching. And I flip the bUseCompiledHeaders between uses as well (Currently set to true because I have the ready made releases in the project folder).

I’m POSITIVE I did something simple wrong, so lay it on me :slight_smile: