Some people were injured when they jumped from the building to escape, while others suffered from smoke inhalation, officials said.