The painter John Constable called him a genius of architecture , but he died penniless in an insane asylum in Devon , England , on Christmas Day in 1843 , leaving behind a wife and six children -LRB- three others had died -RRB- .