-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] installation failed #52
Comments
hi sorry, me again! so followed the installation guide, the terminal said both torsten and cmdstan are installed. however when i run the example in r, with cmdstanr installed and cmdstan path set, it's still not compiling.
make: *** [/var/folders/f2/v4k0sfb52fbbtdvj58hw0q1r0000gn/T/RtmpruQZ1e/model-4b336de0993] Error 1 Error: An error occured during compilation! See the message above for more information. |
hi and hi again! |
C:/Torsten/cmdstan/stan/lib/stan_math/lib/tbb" ' 'mingw32-make' -C "stan/lib/stan_math/lib/tbb" -r -f "C:/Torsten/cmdstan/stan/lib/stan_math/lib/tbb_2020.3/build/Makefile.tbbmalloc" compiler=gcc cfg=release stdver=c++1y malloc CXXFLAGS="-Wno-unknown-warning-option -Wno-deprecated-copy -Wno-missing-attributes -Wno-class-memaccess -Wno-sized-deallocation " Any idea how to solve this? Lots of thanks!!!! |
There seem some problems with your mingw32 path setting. See https://discourse.mc-stan.org/t/problem-installing-cmdstan-with-r4-2-and-rtools42/28846. |
Can you try adding the following in 'cmdstan/make/local' file? If there's no such file you may create one. CXXFLAGS += -Wno-nonnull
TBB_CXXFLAGS= -U__MSVCRT_VERSION__ -D__MSVCRT_VERSION__=0x0E00 |
Hi Yi, Yes, I have put these lines into local.example file, but the same error again. |
Description
Hi there! I'm trying to use Torsten since I want to do a PKPD project.
I got the idea that Torsten needs cmdstan and then cmdstandr to work. And i suppose i need the stan that's inside Torsten's repository and I install from there. So i go:
cd C:\Torsten\cmdstan
However, I failed to install the Stan with mingw32:
Information:
Before this, I installed MinGW for mingw32 to work.
Current Version:
v0.87.1
The text was updated successfully, but these errors were encountered: