Operating System: x86_64-w64-mingw32/x64 (64-bit), Windows 10 x64 (build 17134)
Interface Version: cmdstanr_0.0.0.9000
Compiler/Toolkit: Rtools 3.5
I am trying to compile a model with cmdstanr and am getting the error
mingw32-make.exe: *** No rule to make target ‘C:/Users/gubi/[…]/sim/test.exe’. Stop.
Error in processx::run(command = make_cmd(), args = c(exe, include_paths), :
System command error
I can compile the same model with Rstan, so the model should be OK.
Looking through other posts here on discourse suggest that the make flags could be the problem, but I didn’t manage to set the make flags for cmdstanr successfully.
My Makevars.win file, which I think is used by Rstan but not cmdstanr, has the following content:
CXX14FLAGS=-O3 -mtune=native -Wno-unused-variable -Wno-unused-function -fPIC CXX11FLAGS=-O3 -mtune=native CXX14 = $(BINPREF)g++ -m$(WIN) -std=c++1y
Does the solution to my problem involve submitting these flage to cmdstanr?
I tried by putting the lines into quotes and submitting them as an argument to
compiler_flags, but this did not work.
Any hint/help is appreciated.