As suggested in https://github.com/stan-dev/cmdstan/wiki/Getting-Started-with-CmdStan I have cloned cmdstan using
git clone https://github.com/stan-dev/cmdstan.git --recursive
and then make build.
I am using rtools 3.5 and my path contains
So far so good but after a while I got a message:
C:\Rtools\mingw_64\bin\ar.exe: creating stan/lib/stan_math/lib/sundials_4.1.0/lib/libsundials_kinsol.a
ERROR: Please use mingw32-make on Windows to build the Intel TBB library.
Is some additional configuration necessary?
Thanks for any advice.
PS. I have installed rtools3.4 and latest cmdstan tarball. Amazingly it builds.