Hi,
I have been trying to install and compile Stan for sometime. I am completely new to the program. Here’s where I have gotten so far:
I have installed Rtools43, and two paths to my environment.
C:\rtools43\usr\bin
C:\rtools43\x86_64-w64-mingw32.static.posix\bin
With this I am able to successfully get the versions of g++, and make:
C:\Users\dodde.cmdstan\cmdstan-2.36.0>g++ --version
g++ (tdm64-1) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\dodde.cmdstan\cmdstan-2.36.0> make --version
GNU Make 4.4.1
Built for x86_64-pc-msys
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Here’s the two main errors I get when I try to compile. The root cause seems to be this urct file that does not seem to exist under the make directory in the cmdstan-2.36.0 folder.
C:\Users\dodde\.cmdstan\cmdstan-2.36.0> mingw32-make build
stan/lib/stan_math/make/compiler_flags:180: make/ucrt: No such file or directory
INFO: Could not find files for the given pattern(s).
.
.
.
mingw32-make: *** [src/cmdstan/main.o] Error 1
Any help is greatly appreciated, and I am happy to forward more inforamtion.
Thanks