Δr
должен смотреть в противоположную сторону по сравнению с рисунком.main()
его подключить раньше остальных:#ifndef MAIN_H
#define MAIN_H
#include "Info.h"
#include "Core.h"
#endif // MAIN_H
#include "main.h"
int main() {
Core core = Core::get_instance();
if (core.code_work() == code::WORK) {
core.loop();
}
int code_work = core.code_work();
core.terminate();
return code_work;
}
#ifndef INFO_H
#define INFO_H
#include <string>
namespace Info {
extern const std::string TITLE;
extern const unsigned VER_MAJOR;
extern const unsigned VER_MINOR;
extern const unsigned VER_PATCH;
extern const std::string VERSION;
extern const std::string LOCATION_SETTINGS_FILE;
}
#endif // INFO_H
#include "Info.h"
namespace Info {
const std::string TITLE = "Project";
const unsigned VER_MAJOR = 0;
const unsigned VER_MINOR = 0;
const unsigned VER_PATCH = 1;
const std::string VERSION = std::to_string(VER_MAJOR) + "." + std::to_string(VER_MINOR) + "." + std::to_string(VER_PATCH);
const std::string LOCATION_SETTINGS_FILE = "C:/Users/User/Documents/My Games/" + TITLE + "/";
}
glfw: https://www.glfw.org/docs/latest/build_guide.html#...
Про glew ничего сказать не могу. Но судя по картинке что ты отправил в нем проблем нет.