HemulGM / ChatGPT

ChatGPT Native Application (Windows, Mac, Android, iOS, and Linux)
https://hemulgm.github.io/ChatGPT/
MIT License
417 stars 51 forks source link

Build errors on Alexandria 11.3 #22

Closed kaarigar closed 1 year ago

kaarigar commented 1 year ago

I am trying to build on Delphi 11.3 but I get following errors. Any help or pointers to fix them is very much appreciated - thanks!

[dcc64 Error] ChatGPT.FrameChat.pas(285): E2003 Undeclared identifier: 'Tag'
[dcc64 Error] ChatGPT.FrameChat.pas(313): E2003 Undeclared identifier: 'FromString'
[dcc64 Error] ChatGPT.FrameChat.pas(315): E2003 Undeclared identifier: 'Tag'
[dcc64 Error] ChatGPT.FrameChat.pas(444): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(469): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(470): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(533): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(558): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(559): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(602): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(619): E2250 There is no overloaded version of 'Queue' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(620): E2250 There is no overloaded version of 'Run' that can be called with these arguments
[dcc64 Error] ChatGPT.FrameChat.pas(802): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(808): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(814): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(819): E2034 Too many actual parameters
[dcc64 Error] ChatGPT.FrameChat.pas(825): E2034 Too many actual parameters
[dcc64 Fatal Error] ChatGPT.Main.pas(9): F2063 Could not compile used unit 'ChatGPT.FrameChat.pas'
HemulGM commented 1 year ago

Update the submodule with OpenAI

HemulGM commented 1 year ago

Please update the issue

kaarigar commented 1 year ago

Thanks! That resolved the errors I reported - I got the latest DelphiOpenAI source and placed it the sub-folder by the same name and that did the trick. Similarly I also had to get the WindowsDarkMode stuff.