Game-as-a-Service / Machi-Koro-Cpp

5 stars 1 forks source link

[CMake][Bug] Cannot find controllers in MachikoroCPP_app #39

Closed YingChen-Lee closed 6 months ago

YingChen-Lee commented 7 months ago

When running MachikoroCPP_app, we always get 404 error when trying to send a Http request.

A workaround is to add the following include in main.cpp:

include "controllers/clear_game_controller.h"

include "controllers/create_game_controller.h"

include "controllers/init_game_controller.h"

But maybe we need to figure out how to fix this issue without including all the controllers. We might need to check the Cmake for MachikoroCPP_app again.