With all those include_directories defined I am not sure whether cmake actually found g2o. You can check if the cmake variables are populated for your linking setup. Another idea would be to rely more ...
[main] Building folder: d:/cpp_programs/test_opengl_project/build [build] Starting build [proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build d ...