# BRMS compilation error when using rstan (Windows 10)

**URL:** <https://discourse.mc-stan.org/t/brms-compilation-error-when-using-rstan-windows-10/14099>\
**Category:** brms\
**Created:** [April 5, 2020, 12:42pm UTC](https://discourse.mc-stan.org/t/brms-compilation-error-when-using-rstan-windows-10/14099 "2020-04-05T12:42:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bgoodri](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bgoodri/32/4451_2.png) [@bgoodri](https://discourse.mc-stan.org/u/bgoodri)\
**Post date:** [April 5, 2020, 4:57pm UTC](https://discourse.mc-stan.org/t/brms-compilation-error-when-using-rstan-windows-10/14099/2 "2020-04-05T16:57:13Z")

</div>

You need to run

> [@Installing RStan (and StanHeaders) on Windows ATM](https://discourse.mc-stan.org/t/installing-rstan-and-stanheaders-on-windows-atm/13132/2):
>
> Now do install.packages("rstan", type = "win.binary", dependencies = TRUE) install.packages( "https://win-builder.r-project.org/9256KcZ01L9C/StanHeaders\_2.19.2.zip", repos = NULL, type = "win.binary")

---

_[View the full topic](https://discourse.mc-stan.org/t/brms-compilation-error-when-using-rstan-windows-10/14099)._
