<div dir="ltr">Hi,<div><br></div><div>I'm using Rcpp with my package and I'm having some issues with version 0.11.0. I followed all the instructions in the manual and I don't know what is happening. The NAMESPACE file of my package is:</div>

<div><br></div><div><div>useDynLib(x)</div><div>exportPattern("^[[:alpha:]]+")</div><div>importFrom(Rcpp, evalCpp)</div><div><br></div><div>In the DESCRIPTION file I have the following specific lines for Rcpp:</div>

<div><br></div><div><div>Imports: Rcpp (>= 0.11.0)</div><div>LinkingTo: Rcpp</div></div><div><br></div><div>I can run R CMD check --as-cran and R CMD INSTALL with no problems. The issue comes when I try to use the package in R. I can load it but it seems that some symbols are missing in the shared library of the package. I checked the shared library and I got the following issues:</div>

<div><br></div><div><div>lan.o: In function `Rcpp::Rstreambuf<false>::sync()':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:83: undefined reference to `R_FlushConsole'</div><div>lan.o: In function `Rcpp::Rstreambuf<true>::sync()':</div>

<div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:79: undefined reference to `R_FlushConsole'</div><div>lan.o: In function `Rcpp::Rstreambuf<false>::overflow(int)':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:74: undefined reference to `REprintf'</div>

<div>lan.o: In function `Rcpp::Rstreambuf<false>::xsputn(char const*, long)':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:65: undefined reference to `REprintf'</div><div>lan.o: In function `Rcpp::Rstreambuf<true>::overflow(int)':</div>

<div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:70: undefined reference to `Rprintf'</div><div>lan.o: In function `Rcpp::Rstreambuf<true>::xsputn(char const*, long)':</div><div>../R/Rcpp/include/Rcpp/iostream/Rstreambuf.h:61: undefined reference to `Rprintf'</div>

</div><div><br></div><div><div>> R.version</div><div>  Â  Â  Â  Â  Â  Â  Â _ Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div><div>platform Â  Â  Â  x86_64-unknown-linux-gnu Â  Â </div><div>arch Â  Â  Â  Â  Â  x86_64 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div><div>os Â  Â  Â  Â  Â  Â  linux-gnu Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div>

<div>system Â  Â  Â  Â  x86_64, linux-gnu Â  Â  Â  Â  Â Â </div><div>status Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div><div>major Â  Â  Â  Â  Â 3 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div><div>minor Â  Â  Â  Â  Â 1.0 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div><div>

year Â  Â  Â  Â  Â  2014 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div><div>month Â  Â  Â  Â  Â 04 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div><div>day Â  Â  Â  Â  Â  Â 10 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â </div><div>svn rev Â  Â  Â  Â 65387 Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div><div>language Â  Â  Â  R Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â </div>

<div>version.string R version 3.1.0 (2014-04-10)</div><div>nickname Â  Â  Â  Spring Dance Â  Â </div></div><div><br></div><div><br></div><div>I would appreciate if someone could help me with that.</div><div><br></div><div>Thank you,</div>

<div>Talita</div><div><br></div>
</div></div>