title: Is it possible to build an R package, which use Rcpp and Boost.Thread, on [win-builder](http://win-builder.r-project.org/)?
body: <p>Recently, I have made an R package, which use Rcpp to integrate R and C++.  And the C++ library Boost is used for multithreading.  I wonder if is it possible for my package to be built on <a href="http://win-builder.r-project.org/" rel="nofollow">http://win-builder.r-project.org/</a>?</p>
  
  <p>I found that a Make variable --- BOOSTLIB --- is defined, as shown in <a href="http://cran.r-project.org/bin/windows/contrib/ThirdPartySoftware.html" rel="nofollow">http://cran.r-project.org/bin/windows/contrib/ThirdPartySoftware.html</a>.</p>
  
  <p>I tried to use the header-only libraries, it's OK, but when I tried to use separately-compiled library Boost.Thread, either "no such file" or "undefined reference" error came out.  Maybe the lib path was wrong.  However, I can hardly find any words explained on win-builder.  Can I only use the header-only libraries or Is there a way to configure Makevars.win to find the separately-compiled Boost.Thread library?</p>
  
  <p>Or maybe I can include Boost source filed in my package, but I don't think it is a good way, and I also don't know how to include (I haven't tried).</p>
  
  <p>I found there is an R package BH trying to provide Boost for R.  It is very helpful, and I appreciate the work done by the authors of BH very much, however, the Boost.Thread is not included when I asked this question.  Maybe I can wait until when they include Boost.Thread.  But I prefer to do it myself now, so I can learn more.</p>