CmdStan not creating .exe file after make build phase


I’m trying to translate Stan code to C++, I cloned the cmdStan repository, I ran the mingw32-make build command, and it shows up a message that it was built with no errors. But I can’t seem to find the example executable file that looks like it was supposed to appear after the make build procedure.

I’m I missing some step? I’m running it on Windows 10.

Also, I’m trying to run the command: bin\stanc --o=bernoulli.hpp examples/bernoulli/bernoulli.stan but Windows pops up a message that says: “This app cannot run on your pc”. Any idea why?

  • Operating System: Windows 10
  • CmdStan Version: 2
  • Compiler/Toolkit: gcc rtools4

The build step does not build the example, you should separately run mingw32-make examples/bernoulli/bernoulli.exe after mingw32-make build