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
Compiling Error for C++ Code #210
Comments
Please double check that StanHeaders is installed? |
My guess is #175 . This is already fixed in GitHub and should be on CRAN in a couple of days. |
I need help!!!! COMPILING THE C++ CODE FOR MODEL 'poisson(log) brms-model' NOW. ERROR(s) during compilation: source code errors or compiler configuration errors! Program source:
locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
So if Steamheaders isn't building from CRAN, what is the correct method of building it prior to the fix? |
rstan 2.7.0-1 should work fine with StanHeaders 2.7.0. If necessary, you can install that version with
The develop branch of rstan should work fine with StanHeaders 2.8.0 on CRAN if you do
and that is what will be uploaded to CRAN later today. |
After installing the packages, I still get the same errors. Error in compileCode(f, code, language = language, verbose = verbose) : |
Installing which packages exactly? On Fri, Sep 18, 2015 at 9:12 AM, rlumor notifications@github.com wrote:
|
this two I use another function called "brms' to run my models. R version 3.2.2 (2015-08-14) locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Those two are incompatible. You can do one or the other and it will probably work.
Choice 2
the latter may also require that you install ggplot2 and gridExtra from CRAN. |
Thank you!!!!!!....the second option made it work!!!! |
I didn't mean to close it. The first option causes the same as the original crash.
|
For the second option, make sure you have StanHeaders 2.8.0 plus ggplot2
then do
On Fri, Sep 18, 2015 at 10:36 AM, Richard Podkolinski <
|
It still failed on build.
|
I don't know what is going on. Maybe try remove.packages(c("StanHeaders",
On Fri, Sep 18, 2015 at 10:53 AM, Richard Podkolinski <
|
I did that every time, and it still fails on me. Anyway, thank you for taking the time to help me, I guess I will wait for the CRAN code to be updated and give it another shot. |
Despite the update, I am still getting the same error as before
|
|
|
@mrdevlar I think your error is due to there is a
rstan utilizes R's functionality to compile source code and specify the paths of headers. And R uses GNU make to compile the source code, but |
@maverickg I'll talk to my system admin and see if I can get that resolved. |
Hi Everyone,
I recently completed the instructions for installing rstan and ran the example code. This is what popped out. I cannot seem to find a reference to it in your issues, so I concluded it may be a new one.
The text was updated successfully, but these errors were encountered: