I suspect that R_HOME is not set.

On 19/02/2012 15:41, Peter Aberline wrote:
Well that's you're problem then. Until you can get that to work, the build will 
not work.

Do you have R, Rcpp and RInside installed?

________________________________________
From: paspa...@noos.fr [paspa...@noos.fr]
Sent: 19 February 2012 15:38
To: Peter Aberline; e...@debian.org
Cc: rcpp-de...@r-forge.wu-wien.ac.at
Subject: Re: RE: RE: Re: RE: [Rcpp-devel] RInside on windows

R is not recognized as an internal command


---- Message d'origine ----
De : "Peter Aberline"<peter.aberl...@rms.com>
À : "paspa...@noos.fr"<paspa...@noos.fr>;
"e...@debian.org"<e...@debian.org>
Objet : RE: RE: Re: RE: [Rcpp-devel] RInside on windows
Date : 19/02/2012 16:30:45 CET
Copie à : "rcpp-de...@r-forge.wu-wien.ac.at"<rcpp-de...@r-forge.wu-wien.ac.at>

Looks like the RCPPFLAGS variable is null for some reason.

What do you get if you type:
R CMD config --cppflags

Into a terminal console?



________________________________________
From: paspa...@noos.fr [paspa...@noos.fr]
Sent: 19 February 2012 15:25
To: Peter Aberline; e...@debian.org
Cc: rcpp-de...@r-forge.wu-wien.ac.at
Subject: Re: RE: Re: RE: [Rcpp-devel] RInside on windows

the exact errors series are:
CMake Error at CMakeLists.txt:14 (string):

string sub-command SUBSTRING requires four arguments.

CMake Error at CMakeLists.txt:19 (string):

string sub-command LENGTH requires two arguments.

CMake Error at CMakeLists.txt:34 (string):

string sub-command SUBSTRING requires four arguments.

CMake Error at CMakeLists.txt:50 (string):

string sub-command SUBSTRING requires four arguments.


row 14:

string(SUBSTRING ${RCPPFLAGS} ${NUM_TRUNC_CHARS} -1 RCPPFLAGS)





---- Message d'origine ----
De : "Peter Aberline"<peter.aberl...@rms.com>
À : "paspa...@noos.fr"<paspa...@noos.fr>;
"e...@debian.org"<e...@debian.org>
Objet : RE: Re: RE: [Rcpp-devel] RInside on windows
Date : 19/02/2012 15:56:06 CET
Copie à : "rcpp-de...@r-forge.wu-wien.ac.at"<rcpp-de...@r-forge.wu-wien.ac
.at>

I'm using Cmake 2.8.5 on Ubuntu 11.10 and it works fine for me.

Which cmakelists file are you using, and what is on line 14?



________________________________________
From: paspa...@noos.fr [paspa...@noos.fr]
Sent: 19 February 2012 14:54
To: Peter Aberline; e...@debian.org
Cc: rcpp-de...@r-forge.wu-wien.ac.at
Subject: Re: Re: RE: [Rcpp-devel] RInside on windows

I use CMake 2.8.7,
it seems to be the latest, it it possible a conflict between the version
supplied in the RInside folder and this version?

---- Message d'origine ----
De : "Peter Aberline"
À : "'paspa...@noos.fr'" ;
"'e...@debian.org'"
Objet : Re: RE: [Rcpp-devel] RInside on windows
Date : 19/02/2012 15:41:27 CET
Copie à : "'rcpp-de...@r-forge.wu-wien.ac.at'"

Make sure you are using the latest version of cmake. The files use a
cmake
string function only in recent versions of cmake.

* Sent from my mobile device.

From: paspa...@noos.fr [mailto:paspa...@noos.fr]
Sent: Sunday, February 19, 2012 02:30 PM
To: Peter Aberline; e...@debian.org<e...@debian.org>
Cc: rcpp-de...@r-forge.wu-wien.ac.at<rcpp-de...@r-forge.wu-wien.ac.at>
Subject: Re: RE: [Rcpp-devel] RInside on windows

Hello Peter
I tried to generate the file from the CMakeLists file supplied,I use the
cmake-gui but I get the following error:
I created a folder in which I put a main.cpp and the CMakeLists and then
run
the generate from the cmake-gui
and I get:

CMake Error at CMakeLists.txt:14 (string):

string sub-command SUBSTRING requires four arguments.

Is there something else to do?(I am new on cmake)
thanks
pascal

---- Message d'origine ----
De : "Peter Aberline"
À : "paspa...@noos.fr" ;
"Dirk Eddelbuettel"
Objet : RE: [Rcpp-devel] RInside on windows
Date : 14/02/2012 20:52:36 CET
Copie à : "rcpp-de...@r-forge.wu-wien.ac.at"

You can generate .cbp files using the CMakelists.txt files which now ship
with the RInside examples.

cmake –G “CodeBlocks - Unix Makefiles”<path to CMakeLists.txt>



From: rcpp-devel-boun...@r-forge.wu-wien.ac.at
[mailto:rcpp-devel-bounces@r-f
orge.wu-wien.ac.at] On Behalf Of paspa...@noos.fr
Sent: 14 February 2012 19:51
To: Dirk Eddelbuettel
Cc: rcpp-de...@r-forge.wu-wien.ac.at
Subject: Re: [Rcpp-devel] RInside on windows

Dirk,

yes but I start to use codeblocks since sunday, and
"it does not, by default, use makefiles it has its own .cbp files which
do
the same thing automatically"

it's very easy to use, I did it for boost with no problem, that's why I
wanted to know the include files and the lib
for rcpp,rinside

it's possible to use a makefile with codeblock, I am going to try how to
do
that,
thanks
pascal




---- Message d'origine ----
De : "Dirk Eddelbuettel"<e...@debian.org>
À : paspa...@noos.fr
Objet : Re: [Rcpp-devel] RInside on windows
Date : 14/02/2012 19:57:21 CET
Copie à : rcpp-de...@r-forge.wu-wien.ac.at


Patrick,

On 14 February 2012 at 19:27, paspa...@noos.fr wrote:
| this is one of my problem, I am new since this week-end on
codeblocks,
I
use
| its builder and from what I thought you link with the static
libraries
| 'libRcpp.a,libRInside.a and the none availaible libR.a, and you put
the
three
| dll files in your bin directory; thats why I was looking for libR.a.
| even if I set libR.dll for the linker settings/link libraries, I get
some
| messages:
|
| libRcpp.a undefined reference to '_Unwind_Resume'
|
| I put the include folder of Rcpp,R_ext and RInside, with additional
.h
files :
| R,Rconfig,Rcpp,Rcppcommon,Rdefines,Rembedded,Rinternals,Rmath,Rversion,
S,
ga
,graphapp,iconv,libintl,zconf,
| and zlib
|
| I downloaded the R version 2.14.1 and the Rcpp,Rinside packages
yesterday,
|
| what bother me is that I did that on linux with no problem, put the
include,
| set the linker to the three libraries and run, I need to work on
windows,
and
| there is this problem
|
| what do you put as library for the linker? which includes files?

Use the supplied Makefile.win unless you /really/ know what you are
doing.

Dirk

--
"Outside of a dog, a book is a man's best friend. Inside of a dog, it
is
too
dark to read." -- Groucho Marx


________________________________
This message and any attachments contain information that may be RMS Inc.
confidential and/or privileged. If you are not the intended recipient (or
authorized to receive for the intended recipient), and have received this
message in error, any use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please notify the
sender immediately by replying to the e-mail and permanently deleting the
message from your computer and/or storage system.

________________________________
This message and any attachments contain information that may be RMS Inc.
confidential and/or privileged. If you are not the intended recipient (or
authorized to receive for the intended recipient), and have received this
message in error, any use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please notify the
sender immediately by replying to the e-mail and permanently deleting the
message from your computer and/or storage system.

This message and any attachments contain information that may be RMS Inc.
confidential and/or privileged. If you are not the intended recipient (or
authorized to receive for the intended recipient), and have received this
message in error, any use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please notify the
sender immediately by replying to the e-mail and permanently deleting the
message from your computer and/or storage system.



This message and any attachments contain information that may be RMS Inc.
confidential and/or privileged. If you are not the intended recipient (or
authorized to receive for the intended recipient), and have received this
message in error, any use, disclosure or distribution is strictly
prohibited. If you have received this message in error, please notify the
sender immediately by replying to the e-mail and permanently deleting the
message from your computer and/or storage system.



This message and any attachments contain information that may be RMS Inc. 
confidential and/or privileged.  If you are not the intended recipient (or 
authorized to receive for the intended recipient), and have received this 
message in error, any use, disclosure or distribution is strictly prohibited.   
If you have received this message in error, please notify the sender 
immediately by replying to the e-mail and permanently deleting the message from 
your computer and/or storage system.

_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel


--
Patrick Burns
patr...@burns-stat.com
http://www.burns-stat.com
http://www.portfolioprobe.com/blog
twitter: @portfolioprobe
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to