Electric vehicles (EVs) have experienced a rapid growth due to the economic and environmental benefits. However, the substantial charging load brings challenging issues to the power grid. Modern technological advances and the huge number of high-rise buildings have promoted the development of distributed energy resources, such as building integrated/mounted wind turbines. The issue to coordinate EV charging with locally generated wind power of buildings can potentially reduce the impacts of EV charging demand on the power grid. As a result, this paper investigates this important problem and three contributions are made. First, the real-time scheduling of EV charging is addressed in a centralized framework based on the ideas of model predictive control, which incorporates the volatile wind power supply of buildings and the random daily driving cycles of EVs among different buildings. Second, an EV-based decentralized charging algorithm (EBDC) is developed to overcome the difficulties due to: 1) the possible lack of global information regarding the charging requirements of all EVs and 2) the computational burden with the increasing number of EVs. Third, we prove that the EBDC method can converge to the optimal solution of the centralized problem over each planning horizon. Moreover, the performance of the EBDC method is