Code now compiles. CMake does not work, but compiling through console is sufficient for now.