<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">In the course of building an R package that would depend on Rcpp, I investigated whether compiling these two packages with MS VC++ is feasible, having users (me included) that work
 principally from Visual Studio as an IDE. <br>
<br>
With a couple of adjustments, but not much, it appears possible at least with VS2013 (FYI
<a href="https://github.com/jmp75/Rcpp/tree/build/msvc" target="_blank">https://github.com/jmp75/Rcpp/tree/build/msvc</a>). I have compiled but not run extensively, but a working system looks "essentially doable".<br>
<br>
There appears to have been some questions in the past on this mailing list regarding compiling with the VC++ compiler in order to access libraries built with it, so I thought I may flag this.<br>
<br>
I am actually currently aiming to use an API deliberately in C, with opaque pointers, to avoid being bound to one C++ compiler for all R packages (including on Linux; for all I know the C++ name mangling scheme is compiler specific irrespective of OSes and
 whether this is Microsoft's or not). In other words, I may not seek to actively design/maintain an Rcpp that can be built with VC++ for my own work.<br>
<br>
Nevertheless, I'd be interested to hear whether this is of use to others, and if so get advice on how/what to contribute if not too onerous.<br>
<br>
</div>
</body>
</html>