Open aornugent opened 6 years ago
Hey, thanks for filing the issue, I somehow didn't see it till now. That's a really limited error message. If you can re-run the install with out_dir specified (devtools should dump more detailed output there) I'll check it out. I don't have a Windows machine on hand so it's hard for me to check myself.
Hi, I've only just come back to this. New machine, new error!
The contents of stannis.out:
* installing *source* package 'stannis' ...
** libs
*** arch - i386
C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -I"../inst/include" -I"." -I"/usr/include" -O3 -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -Wl,--no-undefined,--no-allow-shlib-undefined -I"C:/Users/Andrew/Documents/R/win-library/3.5/Rcpp/include" -I"C:/Users/Andrew/Documents/R/win-library/3.5/BH/include" -O2 -Wall -mtune=generic -c exporter.cpp -o exporter.o
exporter.cpp: In function 'SEXPREC* Rcpp::wrap(boost::filesystem::path)':
exporter.cpp:13:31: error: conversion from 'const string_type {aka const std::basic_string<wchar_t>}' to non-scalar type 'std::string {aka std::basic_string<char>}' requested
std::string ps = p.native();
^
exporter.cpp: In function 'SEXPREC* Rcpp::wrap(boost::filesystem::path&)':
exporter.cpp:18:31: error: conversion from 'const string_type {aka const std::basic_string<wchar_t>}' to non-scalar type 'std::string {aka std::basic_string<char>}' requested
std::string ps = p.native();
^
make: *** [C:/PROGRA~1/R/R-35~1.1/etc/i386/Makeconf:215: exporter.o] Error 1
ERROR: compilation failed for package 'stannis'
* removing 'C:/Users/Andrew/Documents/R/win-library/3.5/stannis'
In R CMD INSTALL
FWIW, rstan and cmdstan both work/compile fine.
Not super important, but I get the following error on my Windows machine:
Works fine on Linux.