When building a fresh copy of DeepGTAV I get the above error. Upon navigating to the source I arrive at LaneRewarder.cpp.
My solution is to add #include <stdexcept> to LaneRewarder.cpp following this.
I haven't got time to do a pull req at the moment so thought I would just make this known.