-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I edited the configure.win file ...
#!/bin/sh
echo 'PKG_LIBS=-LC:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs -lpython36' > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/include"' >> src/makevars.win
Then I tried to install rPython-win from within R
> devtools::install("C:/JVA/Software/rPython")
Installing rPython
"C:/PROGRA~1/R/R-33~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \
"C:/JVA/Software/rPython" --library="C:/Program Files/R/R-3.3.1/library" --install-tests
* installing *source* package 'rPython' ...
** libs
Warning: this package has a non-empty 'configure.win' file,
so building only the main architecture
c:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs -lpython36 -Ld:/Compiler/gcc-4.9.3/local330/lib/x64 -Ld:/Compiler/gcc-4.9.3/local330/lib -LC:/PROGRA~1/R/R-33~1.1/bin/x64 -lR
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs/libpython36.a when searching for -lpython36
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs/python36.lib when searching for -lpython36
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs\libpython36.a when searching for -lpython36
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs/libpython36.a when searching for -lpython36
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs/python36.lib when searching for -lpython36
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/Users/jvadams/AppData/Local/Programs/Python/Python36-32/libs\python36.lib when searching for -lpython36
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython36
collect2.exe: error: ld returned 1 exit status
no DLL was created
ERROR: compilation failed for package 'rPython'
* removing 'C:/Program Files/R/R-3.3.1/library/rPython'
Error: Command failed (1)
Below is a screenshot showing the names of the files in the libs folder.
Can you see what I am doing wrong?
Metadata
Metadata
Assignees
Labels
No labels