<div dir="ltr">I have finally solved the problem.  After coming across another posting <a href="http://r.789695.n4.nabble.com/rtools-fstream-error-td4702713.html">http://r.789695.n4.nabble.com/rtools-fstream-error-td4702713.html</a> I discovered the problem.  I needed to include #define R_NO_REMAP at the start of my file and then append Rf_ to any function I use from Rdefines.h.  The package now compiles without error.<div><br></div><div>Thanks for your help Dirk, I know this was a long chain back and forth.</div><div><br></div><div>Regards,</div><div>Charles</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 7:36 AM, Charles Determan Jr <span dir="ltr"><<a href="mailto:deter088@umn.edu" target="_blank">deter088@umn.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My apologies, I should have just did this from the start.  I thought it may be something simple.  I create a git repo to access the stripped down package (just the first cpp function and a simple R function).  If you clone it with:<div><br></div><div>git clone <a href="https://github.com/cdeterman/test.git" target="_blank">https://github.com/cdeterman/test.git</a></div><div><br></div><div>And try to build it you will get the errors I keep mentioning.  If you switch #include <RcppArmadillo.h> to <Rcpp.h> it will compile fine.</div><div><br></div><div>I truly do appreciate the help from this list, thank you for taking the time for this.</div><div><br></div><div>Best regards,</div><div>Charles</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 3:52 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Charles,<br>
<br>
I understand this is frustrating for you but we are wasting everybody's time<br>
here.  Can you please prepare a minimally reproducible example?<br>
<br>
Also, maybe try some bisection. Does the problem go away after you remove<br>
bigmemory/bigalgebra?<br>
<div><div><br>
Dirk<br>
<br>
--<br>
<a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="">-- <br><div><div dir="ltr">Dr. Charles Determan, PhD<br>Integrated Biosciences<br></div></div>
</span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Dr. Charles Determan, PhD<br>Integrated Biosciences<br></div></div>
</div>