Hello, I am trying to use Rinside package in my VC++.Net program ( using Visual Studio 8.0 environment). I have downloaded Windows binary of RInside from the following link http://cran.r-project.org/web/packages/RInside/index.htm Version of RInside - 0.2.3 While compiling the program , i am getting about 69 error. Some of them are the folllowing ones. Please me in solving the following issue Error 96 error C2065: '_First1' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 875 Qdev_R1 Error 97 error C2065: '_Last1' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 875 Qdev_R1 Error 98 error C2065: '_Count' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 875 Qdev_R1 Error 100 error C2065: '_First1' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 Error 101 error C2065: '_Last1' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 Error 102 error C2065: '_Count' : undeclared identifier C:\Program Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 Error 316 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 150 Qdev_R1 Error 317 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 155 Qdev_R1 Error 318 error C2059: syntax error : '>' D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 164 Qdev_R1 Error 319 error C2143: syntax error : missing ';' before '{' D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 164 Qdev_R1 Error 320 error C2065: 'call_' : undeclared identifier D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 166 Qdev_R1 Error 321 error C3861: 'proxy': identifier not found D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 166 Qdev_R1 Error 322 error C2143: syntax error : missing ',' before '{' D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 166 Qdev_R1 I also have few queries 1. Can Rinside 0.2.3 be used in any specific version of C++ comiler? 2. Can I use Rinside in Visual Studio 8.0 ? . VS 8.0 is a .Net environment. 3. Do i have to do any specific compiler setting to compile RInside in my code? Thanks for your valuable input in advance. -- View this message in context: http://r.789695.n4.nabble.com/Using-RInside-in-Visual-Studio-8-0-VC-NET-Program-tp3053352p3053352.html Sent from the R devel mailing list archive at Nabble.com.
Dirk Eddelbuettel
2010-Nov-22 13:01 UTC
[Rd] Using RInside in Visual Studio 8.0 VC++.NET Program
(We generally recommend that Rcpp/RInside question be sent to rcpp-devel.) On 22 November 2010 at 02:04, jkatta wrote: | | Hello, | | I am trying to use Rinside package in my VC++.Net program ( using Visual | Studio 8.0 environment). I have downloaded Windows binary of RInside from | the following link | http://cran.r-project.org/web/packages/RInside/index.htm | Version of RInside - 0.2.3 | | While compiling the program , i am getting about 69 error. Some of them are | the folllowing ones. Please me in solving the following issue | | Error 96 error C2065: '_First1' : undeclared identifier C:\Program | Files\Microsoft Visual Studio 9.0\VC\include\xlocale 875 Qdev_R1 | Error 97 error C2065: '_Last1' : undeclared identifier C:\Program | Files\Microsoft Visual Studio 9.0\VC\include\xlocale 875 Qdev_R1 | Error 98 error C2065: '_Count' : undeclared identifier C:\Program | Files\Microsoft Visual Studio 9.0\VC\include\xlocale 875 Qdev_R1 | Error 100 error C2065: '_First1' : undeclared identifier C:\Program | Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 | Error 101 error C2065: '_Last1' : undeclared identifier C:\Program | Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 | Error 102 error C2065: '_Count' : undeclared identifier C:\Program | Files\Microsoft Visual Studio 9.0\VC\include\xlocale 1117 Qdev_R1 | Error 316 error C4430: missing type specifier - int assumed. Note: C++ does | not support default-int D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 150 | Qdev_R1 | Error 317 error C4430: missing type specifier - int assumed. Note: C++ does | not support default-int D:\R Lib\Packages\Rcpp\include\Rcpp\Language.h 155 | Qdev_R1 | Error 318 error C2059: syntax error : '>' D:\R | Lib\Packages\Rcpp\include\Rcpp\Language.h 164 Qdev_R1 | Error 319 error C2143: syntax error : missing ';' before '{' D:\R | Lib\Packages\Rcpp\include\Rcpp\Language.h 164 Qdev_R1 | Error 320 error C2065: 'call_' : undeclared identifier D:\R | Lib\Packages\Rcpp\include\Rcpp\Language.h 166 Qdev_R1 | Error 321 error C3861: 'proxy': identifier not found D:\R | Lib\Packages\Rcpp\include\Rcpp\Language.h 166 Qdev_R1 | Error 322 error C2143: syntax error : missing ',' before '{' D:\R | Lib\Packages\Rcpp\include\Rcpp\Language.h 166 Qdev_R1 | | | | I also have few queries | | 1. Can Rinside 0.2.3 be used in any specific version of C++ comiler? | 2. Can I use Rinside in Visual Studio 8.0 ? . VS 8.0 is a .Net environment. | 3. Do i have to do any specific compiler setting to compile RInside in my | code? You overlooked this under 'Status' on the main RInside web page: Status Version 0.2.3 should build and install on just about any Linux and OS X system, and even on Windows machines that have the Rtools compiled by Duncan Murdoch as detailed in the The Windows Toolset appendix to the R Installation manual. *Do not* report an error if you fail to build this with another compiler as this is *not supported*. So we were pretty explicit in telling you this would not work. And there is also question 2.8 of the Rcpp FAQ, here is a copy&paste from the Rcpp-FAQ.pdf: 2.8 Can I use Rcpp with Visual Studio Not a chance. And that is not because we are meanies but because R and Visual Studio simply do not get along. As Rcpp is all about extending R with C++ interfaces, we are bound by the available toolchain. And R simply does not compile with Visual Studio. Go complain to its vendor if you are still upset. Hope his helps. Dirk | | Thanks for your valuable input in advance. | | -- | View this message in context: http://r.789695.n4.nabble.com/Using-RInside-in-Visual-Studio-8-0-VC-NET-Program-tp3053352p3053352.html | Sent from the R devel mailing list archive at Nabble.com. | | ______________________________________________ | R-devel at r-project.org mailing list | https://stat.ethz.ch/mailman/listinfo/r-devel -- Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
Apparently Analagous Threads
- [ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1
- RInside, rcpp compilation problem
- Runtime error when run a RInside program compiled by intel c++ on windows
- Problems to compile examples of RInside
- Compile error about using RInside on windows enviroment