I am trying to install the latest (develop) CmdStan and I am getting an error I don’t get with the 2.18 release – I am migrating from PyStan it would be extremely helpful to get json support which seems to be available only the latest version.
I used the master branch Stan and Stan Math repos and placed them where they are found on the 2.18 archive. I had no problems building the 2.18 version (with and without -jX flag) using a Debian Windows Subsystem for Linux (WSL, a.k.a. “bash on windows”, which for all command line purposes so far worked for me just like the real thing).
With the cmstan-develop repo I get the following error when building with make build -j8
(and get the same error line without the -j8 flag, but with less output).
g++ -c src/test/test-models/stanc.cpp -o test/test-models/stanc.o`
src/test/test-models/stanc.cpp:1:41: fatal error: stan/command/stanc_helper.hpp: No such file or directory #include <stan/command/stanc_helper.hpp>
^
compilation terminated.
The files and folder structure seem to be the same (unless I’m missing something). Are there any other steps I should take to build from the develop repos? Thanks