That guide is 2 years old. You should follow imgui readme from their repo, they split some code into this new file only few months ago. They sometimes make such drastic changes, once they changed the API abruptly which broke imgui-SFML. I had a script to make a single hpp/cpp pair out of imgui and imgui-SFML but now it's outdated too.