Hola,
necesito compilar un programa de tipo source (Rstan) con c++
La propia web del programa indica como hacerlo con Rcpp. Sin embargo no
consigo que funcione Rcpp ni con un ejemplo básico.
He seguido las instrucciones que vienen en
http://tonybreyal.wordpress.com/2011/12/07/installing-rcpp-on-windows-7-for-r-and-c-integration/
Tengo instalado Rtools y los paths correspondientes, pero no hay
manera... Casi todo parece un problema de "libRcpp.a"
¿alguien tiene algo de experiencia con cosas parecidas?
Sale justo esto:
#....................................................
> # load main two packages
> library(Rcpp)
> library(inline)
> # do something with Rcpp to quickly check that it works
> body <- '
+ NumericVector xx(x);
+ return wrap( std::accumulate( xx.begin(), xx.end(),
0.0));'> add <- cxxfunction(signature(x = "numeric"), body, plugin =
"Rcpp")
cygwin warning:
MS-DOS style path detected: C:/R-215~1.2/etc/i386/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/R-215~1.2/etc/i386/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x3ac):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x3cb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x427):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x479):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x71c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x73b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x87a):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x8ff):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0xf): undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0x2e): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0x110): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0x147): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0x302): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0x3fe): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text$_ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs[std::vector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_insert_aux(__gnu_cxx::__normal_iterator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > >,
std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)]+0x457): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0x3f7):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0x410):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0x56a):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0x97c):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0x9ae):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0x9f4):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0xa21):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0xa4e):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RcppCommon.o):RcppCommon.cpp:(.text+0xa7b):
more undefined references to `_Unwind_SjLj_Resume'
follow
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x3c):
undefined reference to `__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x5b):
undefined reference to `_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x11a):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x145):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x15c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x17b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x23a):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x265):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x27c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x29b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x35a):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x385):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x39c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x3bb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x477):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x4a2):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x4bc):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x4db):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x59a):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x5c5):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x5dc):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x5fb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x720):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x762):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x78c):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text+0x7f1):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text$_ZN4Rcpp14not_compatibleC1ERKSs[Rcpp::not_compatible::not_compatible(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xc):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text$_ZN4Rcpp14not_compatibleC1ERKSs[Rcpp::not_compatible::not_compatible(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2b): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text$_ZN4Rcpp14not_compatibleC1ERKSs[Rcpp::not_compatible::not_compatible(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x5b): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(r_cast.o):r_cast.cpp:(.text$_ZN4Rcpp14not_compatibleC1ERKSs[Rcpp::not_compatible::not_compatible(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x8f): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x198):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x1b1):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x2fa):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x3fa):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x51c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x53b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x572):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x59a):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x5ac):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x5cb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x623):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x664):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x67c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x69b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x732):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x77d):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x79c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x7bb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x947):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0x9d7):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(exceptions.o):exceptions.cpp:(.text+0xa18):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x4b):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x5e):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x16c):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x2c4):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x2e7):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x34c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x36b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x3a2):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x3e3):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x3fb):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Evaluator.o):Evaluator.cpp:(.text+0x4f2):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(debugging.o):debugging.cpp:(.text+0x3f):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(debugging.o):debugging.cpp:(.text+0x61):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(debugging.o):debugging.cpp:(.text+0x550):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(debugging.o):debugging.cpp:(.text+0x808):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(debugging.o):debugging.cpp:(.text+0x894):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xbc):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xdb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x12e):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x17b):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x1b9):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x1e3):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x2cc):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x2eb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x322):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x351):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x78c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x7ab):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x806):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x83e):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x855):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xe5c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xe7b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xef4):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xf75):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xf9d):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0xff3):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x105c):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x107b):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x110e):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text+0x115d):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
std::operator+<char, std::char_traits<char>, std::allocator<char>
>(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xc):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
std::operator+<char, std::char_traits<char>, std::allocator<char>
>(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2b): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
std::operator+<char, std::char_traits<char>, std::allocator<char>
>(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x68): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ERKS6_S8_[std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
std::operator+<char, std::char_traits<char>, std::allocator<char>
>(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x95): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17no_such_namespaceC1ERKSs[Rcpp::no_such_namespace::no_such_namespace(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xf):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17no_such_namespaceC1ERKSs[Rcpp::no_such_namespace::no_such_namespace(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2e): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17no_such_namespaceC1ERKSs[Rcpp::no_such_namespace::no_such_namespace(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0xfe): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17no_such_namespaceC1ERKSs[Rcpp::no_such_namespace::no_such_namespace(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x158): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17no_such_namespaceC1ERKSs[Rcpp::no_such_namespace::no_such_namespace(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x1cd): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp15no_such_bindingC1ERKSs[Rcpp::no_such_binding::no_such_binding(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xf):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp15no_such_bindingC1ERKSs[Rcpp::no_such_binding::no_such_binding(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2e): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp15no_such_bindingC1ERKSs[Rcpp::no_such_binding::no_such_binding(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0xfe): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp15no_such_bindingC1ERKSs[Rcpp::no_such_binding::no_such_binding(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x158): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp15no_such_bindingC1ERKSs[Rcpp::no_such_binding::no_such_binding(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x1cd): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_is_lockedC1ERKSs[Rcpp::binding_is_locked::binding_is_locked(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xf):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_is_lockedC1ERKSs[Rcpp::binding_is_locked::binding_is_locked(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2e): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_is_lockedC1ERKSs[Rcpp::binding_is_locked::binding_is_locked(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0xfe): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_is_lockedC1ERKSs[Rcpp::binding_is_locked::binding_is_locked(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x158): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_is_lockedC1ERKSs[Rcpp::binding_is_locked::binding_is_locked(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x1cd): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_not_foundC1ERKSs[Rcpp::binding_not_found::binding_not_found(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xf):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_not_foundC1ERKSs[Rcpp::binding_not_found::binding_not_found(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2e): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_not_foundC1ERKSs[Rcpp::binding_not_found::binding_not_found(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0xfe): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_not_foundC1ERKSs[Rcpp::binding_not_found::binding_not_found(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x158): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp17binding_not_foundC1ERKSs[Rcpp::binding_not_found::binding_not_found(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x1cd): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1ERKSs[Rcpp::no_such_env::no_such_env(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)]+0xf):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1ERKSs[Rcpp::no_such_env::no_such_env(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x2e): undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1ERKSs[Rcpp::no_such_env::no_such_env(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0xfe): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1ERKSs[Rcpp::no_such_env::no_such_env(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x158): undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1ERKSs[Rcpp::no_such_env::no_such_env(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)]+0x1cd): undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1Ei[Rcpp::no_such_env::no_such_env(int)]+0x13):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1Ei[Rcpp::no_such_env::no_such_env(int)]+0x41):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1Ei[Rcpp::no_such_env::no_such_env(int)]+0x3fc):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(Environment.o):Environment.cpp:(.text$_ZN4Rcpp11no_such_envC1Ei[Rcpp::no_such_env::no_such_env(int)]+0x644):
undefined reference to
`_Unwind_SjLj_Resume'
collect2: ld devolvió el estado de salida 1
ERROR(s) during compilation: source code errors or compiler
configuration errors!
Program source:
1: 2: // includes from the plugin
3: 4: #include <Rcpp.h>
5: 6: 7: #ifndef BEGIN_RCPP
8: #define BEGIN_RCPP
9: #endif
10: 11: #ifndef END_RCPP
12: #define END_RCPP
13: #endif
14: 15: using namespace Rcpp;
16: 17: 18: // user includes
19: 20: 21: // declarations
22: extern "C" {
23: SEXP filee241b5d23cd( SEXP x) ;
24: }
25: 26: // definition
27: 28: SEXP filee241b5d23cd( SEXP x ){
29: BEGIN_RCPP
30: 31: NumericVector xx(x);
32: return wrap( std::accumulate( xx.begin(), xx.end(), 0.0));
33: END_RCPP
34: }
35: 36: Error en compileCode(f, code, language = language, verbose =
verbose) : Compilation ERROR, function(s)/method(s) not created!
cygwin warning:
MS-DOS style path detected: C:/R-215~1.2/etc/i386/Makeconf
Preferred POSIX equivalent is: /cygdrive/c/R-215~1.2/etc/i386/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x3ac):
undefined reference to
`__gxx_personality_sj0'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x3cb):
undefined reference to
`_Unwind_SjLj_Register'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x427):
undefined reference to
`_Unwind_SjLj_Unregister'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.cpp:(.text+0x479):
undefined reference to
`_Unwind_SjLj_Resume'
C:/R-2.15.2/library/Rcpp/lib/i386/libRcpp.a(RObject.o):RObject.c> x <- 1
> y <- 2
> res <- add(c(x, y))
Error: no se pudo encontrar la función "add"> res
#....................................................
jm~
_______________________________
J. Miguel Marin
http://www.est.uc3m.es/jmmarin
Dep. of Statistics
University Carlos III of Madrid
European Union (EU)