Skip to content
Prev 5452 / 10988 Next

[Rcpp-devel] Compilation ERROR

By default, g++.exe is installed into <Rtools_path>/gcc-<version>/bin; and
you want to make sure that folder is in your path (not just
C:\R\Rtools\bin, so I guess in your case, assuming an up-to-date version of
R/Rtools, you want to make sure C:\R\tools\gcc-4.6.3\bin is also in your
path). Note that this is done by default with the Windows installer (it
sets the system path rather than the user path). Also, ensure that you have
a version of Rtools compatible with the version of R you're using. Finally,
make sure you don't have any other (older?) versions of gcc or g++ hiding
in a path that's included before the Rtools path. If those versions are
getting called rather than the Rtools g++, that could lead to this problem.

-Kevin
On Thu, Mar 7, 2013 at 10:07 PM, Sedat Sen <sedatsen06 at gmail.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130307/3aaf6f71/attachment-0001.html>