How long did it take to build Rome?

1,229 years, if you consider the building to be from being founded to collapse as Rome was founded on April 21, 753 BC, and the last emperor died in AD 476.

The Roman Empire became unstable after the death of Marcus Aurelius in 180, which ultimately led to the collapse of Rome.