It was built. Anyway I made a new project and everything works now. I do not know what was the cause of this. Maybe it has something to do with directory.
Yes, it could have been something caused by the project path. If you encounter this again, please try switching GDB Session to “All GDB interaction” and check the gdb messages about loading symbols.