nomic-ai / gpt4all-chat

gpt4all-j chat
Other
1.27k stars 155 forks source link

put chat.exe in 'bin' folder of build tree #121

Closed apage43 closed 1 year ago

apage43 commented 1 year ago

because this is also in llama.cpp's CMakeLists: https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L11 this is where libllama.dll winds up, causing attempts to run the chat UI from Qt Creator on Windows to fail due to not finding libllama.dll - I've been working around this by copying libllama.dll out of bin/ but have been bitten a few times by forgetting to keep doing that and the build getting out of sync.

apage43 commented 1 year ago

i'm not sure what implications this has for other OSes or packaging but it fixes the ability to actually run the chat UI on windows after building with Qt Creator without having to manually move libllama.dll after each build

manyoso commented 1 year ago

I will look at this next time i build installers... especially on windows. another thing you can do is add an extra PATH to the PATH var in QtCreator run env variables. This is what I did.