[Rcpp-devel] Compilation ERROR
Dirk Eddelbuettel
edd at debian.org
Fri Mar 8 13:21:43 CET 2013
On 8 March 2013 at 02:18, Sedat Sen wrote:
| Sorry it was not en error but warning! I could get the same results as in that
| website.
|
| > # do something with Rcpp to quickly check that it works
| > body <- '
| + NumericVector xx(x);
| + return wrap( std::accumulate( xx.begin(), xx.end(), 0.0));'
| >
| > add <- cxxfunction(signature(x = "numeric"), body, plugin = "Rcpp")
| cygwin warning:
| MS-DOS style path detected: C:/R/etc/x64/Makeconf
| Preferred POSIX equivalent is: /cygdrive/c/R/etc/x64/Makeconf
| CYGWIN environment variable option "nodosfilewarning" turns off this warning.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Consult the user's guide for more details about POSIX paths:
| http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
| >
| > x <- 1
| > y <- 2
| > res <- add(c(x, y))
| > res
| [1] 3
|
|
| Do you think this warning is a problem and should be fixed/can be fixed?
Yes. Read the text I underlined and set the environment variable it asks for.
Dirk
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list