Brain indeed.
On Mar 19, 2008, at 11:21 AM, sun wrote:
Thanks Prof. Brain,
Following your suggestion I found the reason of my problem in the
document
''R Installation and Administration' and the links it points to'.
After I updated to R2.6.2, the RTools's default compiler chaged to
gcc4
while I was using 3.4.x. The error disappeared after I installed
gcc4 and
the default settings from RTools works well now.
Have a nice day!
Sun
"Prof Brian Ripley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Using 'mingw32-make' indicates that you have not followed the
instructions
accurately. You *must* have the Rtools/bin directory ahead of all
other
tools in your PATH.
Please check again (and again) that you have followed the
prescription in
'R Installation and Administration'.
On Wed, 19 Mar 2008, sun wrote:
I got errors when I tried to compile my code into dll on XP box.
"C:/R/R-2.6.2/src/gnuwin32/MkRules:235: warning: overriding
commands for
target `.c.d'
C:/R/R-2.6.2/src/gnuwin32/MkRules:223: warning: ignoring old
commands for
target `.c.d'
C:/R/R-2.6.2/src/gnuwin32/MkRules:255: warning: overriding
commands for
target `.c.o'
C:/R/R-2.6.2/src/gnuwin32/MkRules:243: warning: ignoring old
commands for
target `.c.o'
mingw32-make: *** No rule to make target `''.o', needed by `'''.
Stop."
So I decide to try the example in "writing R extensions" c++ code
example
x.hh,x.cc and xmain.cc, I compiled with "r cmd shlib x.cc
xmain.cc" and
got
the same error output:
"mingw32-make: *** No rule to make target `x.cc''. Stop."
I was able to compile dll before, since then I have updated R,
installed
other softwares, so I am a bit confusing at this moment what would
be the
cause of this problem. Could some please give some suggestions?
Thanks
in
advance.
Sun
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.