-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Dear friend,
When I compile with Windows VC, I get these errors:
1>D:\source\tmp\ChatBot\sample\Application.cpp(1131,12): error C2039: "DockSpaceOverViewport": is not a member of "ImGui"
1>D:\source\tmp\ChatBot\include\imfilebrowser.h(33,11): message : see declaration of 'ImGui'
1>D:\source\tmp\ChatBot\sample\Application.cpp(1131,33): error C3861: “DockSpaceOverViewport”: identifier not found
1>D:\source\tmp\ChatBot\sample\Application.cpp(1203,35): error C2065: “ImGuiConfigFlags_DockingEnable”: undeclared identifier
When I comment out DockSpaceOverViewport etc, compiling and running into errors at the following location:
bool Application::Initialize() {
bool success = true;
std::filesystem::path path_to_directory = "Conversations/";
for (const auto &entry: std::filesystem::directory_iterator(path_to_directory)) {
if (entry.is_regular_file()) {
const auto &file_path = entry.path();
std::string file_name = file_path.stem().string();
if (!file_name.empty()) {
conversations.emplace_back(file_name);
}
if (!conversations.size() > 0) {
bot->Add(convid);
conversations.emplace_back(convid);
}
}
}
if (!configure.claude.enable)
convid = conversations[0];
how to resolove?