Won-min,<div><br></div><div>We are finishing development of a package designed to streamline use of Boost.  This will hopefully be on CRAN sooner or later.  Let's converse off-list and I'll fill you in and perhaps we could test out the framework.  It would be nice to have another case study for proof-of-concept.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Jay<br><br><div class="gmail_quote">On Sat, Jan 19, 2013 at 3:14 AM, Song, Won-min <span dir="ltr"><<a href="mailto:won-min.song@mssm.edu" target="_blank">won-min.song@mssm.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma"><br>
<div style="font-size:16px;font-family:Times New Roman">
<div></div>
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">
<div>Hi, </div>
<div>I am a new beginner in using Rcpp with C++. </div>
<div>I have a piece of C++ code with Rcpp and boost graph library, and am trying to make a package with helps from Rcpp.package.skeleton() command. </div>
<div><br>
</div>
<div>When I try to install the package with Rcmd INSTALL pkgname (I'm running on windows machine), it seems that it is not recognizing the boost library by displaying error messages that it is not recognizing the header files from boost. I used the following
 Makevars.win file in the src directory: </div>
<div><br>
</div>
<div>
<div>PKG_LIBS = $(shell ${R_HOME}/bin/Rscript.exe -e "Rcpp:::LdFlags()")</div>
<div>PKG_CPPFLAGS = -L "C:/Users/Won/Documents/Boost/boost_1_51/lib" -lboost_graph</div>
</div>
<div><br>
</div>
<div><span style="font-size:10pt">C:/Users/Won/Documents/Boost/boost_1_51/lib is the directory where the .dll files live. </span></div>
<div>Would you be able to point me in the right direction? Is there something I've done wrong in Makevars.win file? </div>
<div><br>
</div>
<div>Any comments would be greatly appreciated.</div>
<div><br>
</div>
<div>Thanks,</div>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a><br></blockquote></div><br><br clear="all"><div>
<br></div>-- <br>John W. Emerson (Jay)<br>Associate Professor of Statistics, Adjunct, and Acting Director of Graduate Studies<br>Department of Statistics<br>Yale University<br><a href="http://www.stat.yale.edu/~jay" target="_blank">http://www.stat.yale.edu/~jay</a>
</div>