[DiscordArchive] Okay... I understand my current docker compose build error is trying to use mod-ollama-chat and need
[DiscordArchive] Okay... I understand my current docker compose build error is trying to use mod-ollama-chat and need
Archived author: Sederien • Posted: 2025-08-04T23:17:52.195000+00:00
Original source
Okay... I understand my current docker compose build error is trying to use mod-ollama-chat and needing to include json.hpp:
#24 10.19 /azerothcore/modules/mod-ollama-chat/src/mod-ollama-chat_handler.cpp:17:10: fatal error: 'nlohmann/json.hpp' file not found
#24 10.19 #include <nlohmann/json.hpp>
#24 10.19 ^~~~~~~~~~~~~~~~~~~
But I have NO idea where it's looking for this file. I've tried both adding a /nlohmann/json.hpp in the azerothcore /deps/ folder and the root /usr/local/include/ folder. Neither worked. Do I need to add it to the module folder itself?
Archived author: Sederien • Posted: 2025-08-04T23:39:26.381000+00:00
Original source
I've also got this from the mod-ollama-chat.cmake file within the mod-ollama-chat folder:
#24 2.658 CMake Warning at modules/mod-ollama-chat/mod-ollama-chat.cmake:12 (message):
#24 2.658 nlohmann/json not found. Please install it or place in deps/nlohmann/
Now, that suggests to me that putting the file in the /deps/ folder of ./azerothcore-wotlk/deps/ should work... but is that really the case? (This still seems like a general mod question more than a specific one given it's just trying to ensure a
#include <nlohmann/json.hpp>
is pointing to the right file when docker compose build is used.)
Archived author: Ryan Turner • Posted: 2025-08-04T23:40:56.974000+00:00
Original source
Isn't this a module for playerbots? i think they recently opened a channel for it
Archived author: Sederien • Posted: 2025-08-04T23:42:19.001000+00:00
Original source
It is and... that makes a lot more sense for me to see if I can find more info there. Thanks. (I will touch back in case I find the solution so others who search might benefit.)