Displaying 20 results from an estimated 9000 matches similar to: "R CMD SHLIB help"
2007 Dec 20
2
SHLIB steps on a Makefile
Hi,
I need to create a Makefile.win for a given package so as to fiddle
slightly with the compilation process. My Makefile works fine in Linux
but I am having trouble creating Makefile.win for MinGW. I first
looked at the commands that Rcmd SHLIB appeared to be running and
copied those onto the Makefile. But one step seems to be missing, the
creation of the _res.rc file needed by windres
2008 Mar 19
1
R CMD SHLIB errors
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:
2006 Aug 01
2
A problem with R CMD SHLIB
Hi,
I followed the example in "Writing R Extensions" to create a shared
object in Windows, using the command
R CMD SHLIB X.cc X_main.cc
This was encountered:
../src/gnuwin32/MkRules:155: warning: overriding commands for target
'.c.d'
../src/gnuwin32/MkRules:143: warning: ignoring old commands for target
'.c.d'
../src/gnuwin32/MkRules:171: warning: overriding commands
2008 Apr 29
1
non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)
Full_Name: Bill Dunlap
Version: 2.8.0dev
OS: Windows XP
Submission from: (NULL) (70.98.76.47)
I tried for the first time to build R from source on Windows, where I
got the source code via svn. Per the Installation and Administration
manual, I altered src\gnuwin32\MkRules so it had the the locally
correct paths to HTML Help Workshop and Inno Setup 5. I also set
USE_SVNVERSION=yes, as suggested
2002 Aug 13
1
Rcmd SHLIB under NT
Hello:
I'm trying to use Rcmd SHLIB to compile a single file, sann.c, to
get sann.dll.
I was able to get
make libR.a
to work, after going into MkRules and changing the line
DLLTOOL=$(BINPREF)dlltool -k --as $(AS)
to read
DLLTOOL=C:/MINGW-1.1/bin/dlltool -k --as $(AS)
But now I get:
C:\rw1051\src\gnuwin32>Rcmd SHLIB sann.c
make: make: Command not found
make: *** [libR] Error 127
2008 Apr 19
1
nondigits in R_FILEVERSION mess up Windows build
I tried for the first time to build R from source on Windows, where I
got the source code via svn. Per the Installation and Administration
manual, I altered src\gnuwin32\MkRules so it had the the locally
correct paths to HTML Help Workshop and Inno Setup 5. I also set
USE_SVNVERSION=yes, as suggested in MkRules itself. Then, while in
the directory src/gnuwin32 I ran 'make all
2007 Oct 11
2
R260 cross-compilation
Hi,
I'm trying to cross compile R260 in a ubuntu 6.06 linux. I downloaded
the Makefile for 251 and simply replaced the R version by 260. However
I'm getting an error about mingw.
ernesto at gandalf:~/ipimar/devel/R/ccompile260$ make R
export
2010 Jul 13
1
Building a custom Windows installer
Dear r-devel list members,
It's been several years since I last built a custom Windows installer for R,
and despite my notes and the instructions in Sections 3.1.7 and D.4 of the R
Installation and Administration Manual, I've run into a problem, receiving
the following error message:
----------- snip -----------
C:\R\src\R-2.11.1\src\gnuwin32\installer>make myR
2015 Jan 08
1
New version of Rtools for Windows
Oh, I forgot to mention that besides setting AR, RANLIB and the stack probing fix, you also need a very up to date binutils. 2.25 was out in december. Even with that , if you linker's default is not what you are compiling for (i.e. a multiarch toolchain), you need to set GNUTARGET also, i.e. -m32/-m64 is not enough. Some fix to autodetect non-default targets went in after christmas before the
2002 Jan 19
1
Build R-patched from Source
Hi,
If I want to build R-patched from source (on Windows), do I need to edit
Makefile and/or MkRules at all?
I have followed all instructions in the INSTALL file (under
R-patched/src/gnuwin32/), as well as downloaded all the files from
http://www.stats.ox.ac.uk/pub/Rtools/ . My PATH variable has been
modified accordingly.
Now, with the only change to MkRules I made was to modify the Tcl/Tk
2003 Apr 16
3
R-1.7.0 WIN2000 INSTALL
This is the first time I've ever compiled from sources so bear with me.
OS: Windows 2000
PATH:
.:
D:/Rtools/:
D:/mingw/bin/:
C:/Progra~1/Perl/bin:
D:/texmf/miktex/bin/:
D:/Progra~1/HTMLHe~1:
D:/Progra~1/R/rw1062/bin/:
C:/Progra~1/Insightful/splus61/cmd/:
D:/cygwin/bin:
D:/Progra~1/SSHCom~1/SSHSec~1:
D:/Progra~1/Tcl/bin/:
C:/Progra~1/Microso~3/VC98/Bin
2007 Dec 14
1
windows rtools missing gfortran.exe?
Hi,
I replaced my Rtools today as posted at
http://www.murdoch-sutherland.com/Rtools/Rtools.exe
Trying to build R-devel_2007-12-13.tar.gz without modifying MkRules
gives the gfortran command not found error below. I am wondering if
gfortran.exe is missing from (recent?) Rtools.exe or I am doing
something wrong.
Thanks to hints at Duncan's site, I worked around the error by adding
2015 Mar 09
5
Notes on building a gcc toolchain for Rtools (but not multilib)
Hi,
[This is a follow-up to the "New version of Rtools for Windows" thread
in January, but I just subscribed and don't know how to reply to an
old thread -- my apologies.]
I was able to use the nuwen distro to build a gcc 4.9.2 toolchain and
use it to build the latest R-patched with it.
Below are some notes about what I did; I hope they will be useful for
keeping Rtools
2015 Jan 08
1
New version of Rtools for Windows
Very timely, as this is how I got into the problem I posted about
earlier; maybe some of the problems I ran into will mean more to the
you and the experts on this thread, Dr. Murdoch.For reference, I run
Windows 7 64bit, and I am trying to build a 64 bit version of R-3.1.2.
As we discussed offline, Dr. Murdoch, I've been trying to build R
using more recent tools than GCC4.6.3 prerelease.
2012 Jul 08
1
yet another windows installation from source issue
Dear R People:
I'm starting to think that I should just install from the binary, but
here is my latest effort to install from source on a Windows 7 64 bit:
c:\R64\R-patched>cd src
cd src
c:\R64\R-patched\src>cd gnuwin32/
cd gnuwin32/
c:\R64\R-patched\src\gnuwin32>set TMPDIR=c:\temp
set TMPDIR=c:\temp
c:\R64\R-patched\src\gnuwin32>make all recommended
make all recommended
2009 Aug 15
1
Building 'R' from source for Windows.
I know I am going to catch alot of comments for this question but I am really stuck. If there is some written documentation that I have missed please redirect me.
I want to build 'R' from source on a Windows Platform. The main reasons are that I want to check out a debugging some existing packages so I need to build with debug symbols and I want to check out a 64-bit version of
2008 Mar 11
1
Rtools and GCC4 problem
>>
I am trying to compile rseries from Whit Armstrong and a colleague of mine found
a problem with using GCC4
I get the following error when compiling rseries
g++-sjlj -Ic:/R/include -O2 -Wall -c Rutils.cpp -o Rutils.o
Rutils.cpp: In function 'double* getColPointer(SEXPREC*, int)':
Rutils.cpp:406: warning: deprecated conversion from string constant to 'char*'
2012 May 08
1
file 2 is not in sorted order error building unsuffered consequences
Hi All,
I just downloaded the source tar ball (Revision: 59324 Last Changed
Date: 2012-05-07) and tried to compile on a Win x64 system. I am
using Rtools version 2.15.0.1919. The only change I make is changing
MkRules.dist -> MkRules.local and setting Multi=64 I have previously
compiled unsuffered consquences without issue, but on the current
version, I get this error
windres -F pe-x86-64
2008 Apr 29
0
non-digits in svnversion output mess up windows build if (PR#11341)
On Tue, 29 Apr 2008, Duncan Murdoch wrote:
> This is not a bug, it's a feature.
>
> It stops me from distributing versions with unintentional uncommitted
> changes.
It does have that effect, but the error messages
are pretty obscure:
c:\Rtools\MinGW\bin\windres.exe: rcico.rc:9: syntax error
and
Error on line 12 in
e:\R\R-svn\r-devel\src\gnuwin32\installer\R.iss: Value
2015 Jan 26
2
Building rinstaller using R-devel (3.2.0-to-be) halts when trying to copy html files
As the build process, especially for Windows, is changing
significantly for R 3.2.0, I am trying to build R-devel in
preparation. When running `make rinstaller`, I get the following
error:
cp -p ../../../etc/x64/Makeconf R-devel/etc/x64
mkdir -p R-devel/doc
cp -p ../../../doc/CRAN_mirrors.csv R-devel/doc
mkdir -p R-devel/doc/manual/images
cp -pR ../../../doc/html R-devel/doc