[Rd] R Compilation gets stuck on Windows 64
Indrajit Sen Gupta
indrajitsg at gmail.com
Tue Feb 13 14:18:40 CET 2018
In the file MkRules.local.in, I see the line: USE_ATLAS = NO which I
believe needs to be changed to YES. But how do I specify the BLAS file
*and its location?
On Tue, Feb 13, 2018 at 6:41 PM, Indrajit Sen Gupta <indrajitsg at gmail.com>
> I was able to compile the R from the github by running build-r-devel.bat!
> Now need to see how to compile it with BLAS.
> On Tue, Feb 13, 2018 at 5:45 PM, Jeroen Ooms <jeroenooms at gmail.com> wrote:
>> On Tue, Feb 13, 2018 at 12:22 PM, Indrajit Sen Gupta
>> <indrajitsg at gmail.com> wrote:
>> > Hi Avraham,
>> > I tried with the patched version. The same error message.
>> > gcc -std=gnu99 -m64 -shared -s -mwindows -o R.dll R.def console.o
>> > editor.o embeddedR.o extra.o malloc.o opt.o pager.o preferences.o
>> > rhome.o rt_complete.o rui.o run.o shext.o sys-win32.o system.o
>> > dllversion.o ../main/libmain.a ../appl/libappl.a ../nmath/libnmath.a
>> > getline/gl.a ../extra/xdr/libxdr.a ../extra/intl/libintl.a
>> > ../extra/trio/libtrio.a ../extra/tzone/libtz.a ../extra/tre/libtre.a
>> > -fopenmp -L. -lgfortran -lquadmath -lRblas -L../../lib -lRgraphapp
>> > -lcomctl32 -lversion -L"D:/R64/extsoft"/lib/x64 -lpcre -lz -lbz2 -llzma
>> > -L"D:/home/ICU"/lib/x64 -lsicuin -lsicuuc -lsicudt -lstdc++
>> > D:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/.
>> > cannot find -lRgraphapp
>> > collect2.exe: error: ld returned 1 exit status
>> > make: *** [R.dll] Error 1
>> > make: *** [../../bin/x64/R.dll] Error 2
>> > make: *** [rbuild] Error 2
>> > make: *** [all] Error 2
>> > make: *** [distribution] Error 2
>> > Would it be possible for you to share your MkRules.local and
>> > files?
>> Hi Indrajit
>> As somebody above already mentioned, the full build script as well as
>> MkRules.local that we use for the CRAN releases of R for windows are
>> available from https://github.com/rwinlib/base
>> As is explained in the repository readme, if you have the required
>> dependencies (rtools, miktex innosetup, strawberry perl) all you need
>> to do is run the build-r-devel.bat script from the root of the
>> Once you got this to work, you can adapt it to your needs.
[[alternative HTML version deleted]]
More information about the R-devel