Hello,
I have developed ssMousetrack a rstan based package (rstan: 2.18.2, my os: ubuntu 18.04.01) but when trying to install the package under macOS I find the following error:
make_cc(commandArgs(TRUE))" stan_files/fit_model.stan Wrote C++ file "stan_files/fit_model.cc" Error: unexpected symbol in: "cat(' ', sep = ' cat(system.file('include" Execution halted /usr/local/clang7/bin/clang++ -std=gnu++14 -I"/Users/ripley/R/R-patched/include" -DNDEBUG -I"../inst/include" -I"" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I"/Users/ripley/R/test-3.5/BH/include" -I"/Users/ripley/R/test-3.5/Rcpp/include" -I"/Users/ripley/R/test-3.5/RcppEigen/include" -I"/Users/ripley/R/test-3.5/rstan/include" -I"/Users/ripley/R/test-3.5/StanHeaders/include" -I/usr/local/include -fPIC -g -O2 -Wall -pedantic -c stan_files/fit_model.cc -o stan_files/fit_model.o In file included from stan_files/fit_model.cc:3: In file included from stan_files/fit_model.hpp:18: In file included from /Users/ripley/R/test-3.5/rstan/include/rstan/rstaninc.hpp:3: /Users/ripley/R/test-3.5/rstan/include/rstan/stan_fit.hpp:11:10: fatal error: 'stan/version.hpp' file not found #include <stan/version.hpp>
Could you please help me with this issue?
Thanks in advance!
Hello,
I have developed ssMousetrack a rstan based package (rstan: 2.18.2, my os: ubuntu 18.04.01) but when trying to install the package under macOS I find the following error:
make_cc(commandArgs(TRUE))" stan_files/fit_model.stan Wrote C++ file "stan_files/fit_model.cc" Error: unexpected symbol in: "cat(' ', sep = ' cat(system.file('include" Execution halted /usr/local/clang7/bin/clang++ -std=gnu++14 -I"/Users/ripley/R/R-patched/include" -DNDEBUG -I"../inst/include" -I"" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -I"/Users/ripley/R/test-3.5/BH/include" -I"/Users/ripley/R/test-3.5/Rcpp/include" -I"/Users/ripley/R/test-3.5/RcppEigen/include" -I"/Users/ripley/R/test-3.5/rstan/include" -I"/Users/ripley/R/test-3.5/StanHeaders/include" -I/usr/local/include -fPIC -g -O2 -Wall -pedantic -c stan_files/fit_model.cc -o stan_files/fit_model.o In file included from stan_files/fit_model.cc:3: In file included from stan_files/fit_model.hpp:18: In file included from /Users/ripley/R/test-3.5/rstan/include/rstan/rstaninc.hpp:3: /Users/ripley/R/test-3.5/rstan/include/rstan/stan_fit.hpp:11:10: fatal error: 'stan/version.hpp' file not found #include <stan/version.hpp>Could you please help me with this issue?
Thanks in advance!