* installing *source* package ‘tmg’ ... ** package ‘tmg’ successfully unpacked and MD5 sums checked ** libs *** arch - i386 g++ -arch i386 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I../inst/include -I/usr/local/include -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/Rcpp/include" -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/RcppEigen/include" -fPIC -g -O2 -c HmcSampler.cpp -o HmcSampler.o HmcSampler.cpp:11:22: error: tr1/random: No such file or directory In file included from HmcSampler.cpp:15: HmcSampler.h:51: error: ‘ranlux64_base_01’ does not name a type HmcSampler.h:53: error: ISO C++ forbids declaration of ‘uniform_real’ with no type HmcSampler.h:53: error: expected ‘;’ before ‘<’ token HmcSampler.h:54: error: ISO C++ forbids declaration of ‘normal_distribution’ with no type HmcSampler.h:54: error: expected ‘;’ before ‘<’ token HmcSampler.cpp: In constructor ‘HmcSampler::HmcSampler(const int&, const int&)’: HmcSampler.cpp:27: error: ‘eng1’ was not declared in this scope HmcSampler.cpp:28: error: ‘ud’ was not declared in this scope HmcSampler.cpp:28: error: ‘uniform_real’ was not declared in this scope HmcSampler.cpp:28: error: expected primary-expression before ‘>’ token HmcSampler.cpp: In member function ‘Eigen::MatrixXd HmcSampler::sampleNext(bool)’: HmcSampler.cpp:48: error: ‘eng1’ was not declared in this scope HmcSampler.cpp:48: error: ‘ud’ was not declared in this scope HmcSampler.cpp:56: error: ‘nd’ was not declared in this scope make: *** [HmcSampler.o] Error 1 g++ -arch i386 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I../inst/include -I/usr/local/include -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/Rcpp/include" -I"/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/Rlib/2.15/RcppEigen/include" -fPIC -g -O2 -c HmcSampler.cpp -o HmcSampler.o HmcSampler.cpp:11:22: error: tr1/random: No such file or directory In file included from HmcSampler.cpp:15: HmcSampler.h:51: error: ‘ranlux64_base_01’ does not name a type HmcSampler.h:53: error: ISO C++ forbids declaration of ‘uniform_real’ with no type HmcSampler.h:53: error: expected ‘;’ before ‘<’ token HmcSampler.h:54: error: ISO C++ forbids declaration of ‘normal_distribution’ with no type HmcSampler.h:54: error: expected ‘;’ before ‘<’ token HmcSampler.cpp: In constructor ‘HmcSampler::HmcSampler(const int&, const int&)’: HmcSampler.cpp:27: error: ‘eng1’ was not declared in this scope HmcSampler.cpp:28: error: ‘ud’ was not declared in this scope HmcSampler.cpp:28: error: ‘uniform_real’ was not declared in this scope HmcSampler.cpp:28: error: expected primary-expression before ‘>’ token HmcSampler.cpp: In member function ‘Eigen::MatrixXd HmcSampler::sampleNext(bool)’: HmcSampler.cpp:48: error: ‘eng1’ was not declared in this scope HmcSampler.cpp:48: error: ‘ud’ was not declared in this scope HmcSampler.cpp:56: error: ‘nd’ was not declared in this scope make: *** [HmcSampler.o] Error 1 ERROR: compilation failed for package ‘tmg’ * removing ‘/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/results/2.15/tmg.Rcheck/tmg’