lucoiso / UEHttpGPT

HttpGPT is an Unreal Engine plugin that facilitates integration with OpenAI's GPT based services (ChatGPT and DALL-E) through asynchronous REST requests, making it easy for developers to communicate with these services.
https://forums.unrealengine.com/t/free-httpgpt-integrate-chatgpt-in-the-engine-via-asynchronous-tasks-rest/765168?u=lucoiso
MIT License
202 stars 50 forks source link

MacOS version outdated on marketplace + Project failing to compile on Apple Platforms #58

Closed albusdemens closed 1 year ago

albusdemens commented 1 year ago

Hello, thank you for sharing this great work! I tested using the plugin on OSX and on Windows 10, and I noticed that on OSX the HttpGPT Image Generator option doesn't pop up in the Unreal Editor. I'm running Unreal 5 on both machines. Cheers

Screen Shot 2023-04-19 at 7 21 08 PM
lucoiso commented 1 year ago

Hi! :)

Is this occurring with the latest (v1.5.2) version? And are there any warnings or errors related to HttpGPT in the Editor Console/Output Log? :0

Unfortunately I don't have a MacOS machine to test but I'll try to find a solution soon.

albusdemens commented 1 year ago

Hello :) What I did was to install the plugin from the Epic Store. That installs version 1.4.7 (see image). I guess a solution could be to upload the plugin on the Store? I will also try to load the plugin manually.

Screen Shot 2023-04-29 at 11 24 25 AM
albusdemens commented 1 year ago

I also tested downloading the repo zip, unzipping, and placing it in the Plugins folder of the project. This gives the two error messages below. That's why I opted for using the Epic Store instead ;-)

Screen Shot 2023-04-29 at 11 33 09 AM Screen Shot 2023-04-29 at 11 33 17 AM
lucoiso commented 1 year ago

Ahhh, the epic store version for MacOS is older and doesn't contain the DALL-E module

I removed the iOS and MacOS version from the store because these platforms weren't accepting C++17 features after some implementations. I don't know why this started, because was working well before the DALL-E (and the previous versions already contains some C++17 features lol), but the marketplace team sent me logs containing only "[...] Is a c++17 feature" errors and refused the update for iOS and MacOS.

To use the latest version you'll need to compile the project with C++17

I don't know as well how to do this on MacOS because I never had one xd But i think you'll just need to open the project settings using XCode and add the -std=c++17 flag in the build options

If any error occurs, feel free to send me the logs to check whats happening

lucoiso commented 1 year ago

MacOS wasnt accepting cpp17, will to submit to marketplace again soon.