Hi,
I’m getting set up on Windows, looking for version requirements for the Stan math library.
It appears the “getting started math docs” have disappeared?
I’m getting a 404.
~ Andre
Hi,
I’m getting set up on Windows, looking for version requirements for the Stan math library.
It appears the “getting started math docs” have disappeared?
I’m getting a 404.
~ Andre
Should be back now. GitHub had a hiccup this morning that broke some of our pages builds
Thanks.
Are you using Windows, btw? If so, what’s your set up? Prior to this I was all Linux.
I was using a git-bash, there were no c++/c compilers, I tried WSL, this added a bunch of software, but no success in getting Stan math library to compile, and now I’m using “MSYS2 UCRT64” Shell, but it’s not picking up TBB, although I’ve downloaded it and linked the library, and had it inherit the libraries in my global windows pathway.
Wondering what peoples set-ups are.
My primary development machine is running Linux, but I use Windows at home. When I need to do development on this kind of thing I usually use WSL and something like VSCode Remote to ‘tunnel’ into the WSL environment on my own machine and work from there.
More recently I’ve heard about both GitHub - skeeto/w64devkit: Portable C and C++ Development Kit for x64 (and x86) Windows and https://www.winlibs.com/, which might be good ways to get gcc and a compatible environment up and running, but I haven’t had the chance to try them personally.
TBB is always a bit of a pain, especially if you have a windows-native version installed somewhere with very high priority like system32
Alright almost in a working-state, using MSYS2 UCRYT shell, and I had to install a bunch of C++ libraries using visual studio (it’s like RTools, lots of toolchains). I’m getting some C++ compiler errors I understand now. After linking the TBB library I’ve installed, I’m getting something like this:
/bin/sh: -c: line 1: syntax error near unexpected token `(’
But I’ll come back to this. I can write this up for windows users. I’m just trying to compile tests for Stan math.
I fixed the TBB issue, I think, now I’m trying to get gcc-4.9.3. Linux this would be trivial, I’m not as familiar with this OS, but I’m learning windows now.
I’m still trying to get gcc 4.9.3 to install from source without much luck. Was anyone able to do a clean install of gcc 4.9.3 and compile and run tests on the math library?
Moreover, what would it take to update gcc to a more modern version? This one is pretty old. Easy to install on linux, windows, I’m having trouble from source. I am rusty though. SAS there was a directory with every single version and I could just change the PATH variable.
Regards,
~ Andre
If you’re working in Windows, can you use the Windows Subsystem for Linux (WSL)?
Alright, we have it. WSL ended up working.
Ultimately, use WSL and apt as a package manager. There are some dependencies and older repositories you have to pull from.