KellanM / OpenAI-Api-Unreal

Integration for the OpenAI Api in Unreal Engine
MIT License
649 stars 143 forks source link

Issue compiling plugin with 5.1.1 #55

Open helloidiot opened 11 months ago

helloidiot commented 11 months ago

I'm having issues compiling the 5.1.1 binary in Visual Studio 2022 after adding a C++ class. The build fails with these errors:

\Plugins\OpenAIApi\Source\OpenAIAPI\Public\OpenAICallGPT.h(36): error : Unable to find 'class', 'delegate', 'enum', or 'struct' with name 'EOAEngineType'

\Plugins\OpenAIApi\Source\OpenAIAPI\Public\OpenAICallGPT.h(36): error : Unable to find 'class', 'delegate', 'enum', or 'struct' with name 'FGPT3Settings'

Thank you for the plugin, it works perfectly in blueprints. Would be great to get this sorted or any pointers on how to fix.