Title: Windows 7 64bit compilation error · Issue #2 · cjgb/rPython-win · GitHub
Open Graph Title: Windows 7 64bit compilation error · Issue #2 · cjgb/rPython-win
X Title: Windows 7 64bit compilation error · Issue #2 · cjgb/rPython-win
Description: I followed the instruction, but got compilation error on Windows 7 64bit. Has anyone confirmed that rPython works on on 64bit PC with 64bit R? If so, then I must have missed something. Any suggestions on what else I should check? BTW, I ...
Open Graph Description: I followed the instruction, but got compilation error on Windows 7 64bit. Has anyone confirmed that rPython works on on 64bit PC with 64bit R? If so, then I must have missed something. Any suggesti...
X Description: I followed the instruction, but got compilation error on Windows 7 64bit. Has anyone confirmed that rPython works on on 64bit PC with 64bit R? If so, then I must have missed something. Any suggesti...
Opengraph URL: https://github.com/cjgb/rPython-win/issues/2
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Windows 7 64bit compilation error","articleBody":"I followed the instruction, but got compilation error on Windows 7 64bit. Has anyone confirmed that rPython works on on 64bit PC with 64bit R? If so, then I must have missed something. Any suggestions on what else I should check?\n\nBTW, I am using Anaconda python 3.4 distribution. My configure.win looks like the following:\n\n```\n#!/bin/sh\n\necho 'PKG_LIBS=-LC:/Anaconda3/libs -lpython34' \u003e src/makevars.win\necho 'PKG_CFLAGS=-I\"C:/Anaconda3/include\"' \u003e\u003e src/makevars.win\n```\n\nI used RStudio, and here is the commands and outputs:\n\n```\n\u003e library(devtools)\n\u003e install(\"C:/Downloads/rPython\")\nInstalling rPython\n\"C:/R/R-31~1.2/bin/x64/R\" --vanilla CMD INSTALL \"C:/Downloads/rPython\" \\\n --library=\"C:/R/R-3.1.2/library\" --install-tests \n\n* installing *source* package 'rPython' ...\n** libs\nWarning: this package has a non-empty 'configure.win' file,\nso building only the main architecture\n\ngcc -m64 -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Anaconda3/libs -lpython34 -Ld:/RCompile/CRANpkg/extralibs64/local/lib/x64 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/R/R-31~1.2/bin/x64 -lR\nc:/rtools/gcc-4.6.3/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../../../i686-w64-mingw32/bin/ld.exe: i386 architecture of input file `pycall.o' is incompatible with i386:x86-64 output\npycall.o:pycall.c:(.text+0x5): undefined reference to `__imp__Py_Initialize'\npycall.o:pycall.c:(.text+0x1a): undefined reference to `__imp__PyRun_SimpleStringFlags'\npycall.o:pycall.c:(.text+0x31): undefined reference to `__imp__Py_Finalize'\npycall.o:pycall.c:(.text+0x56): undefined reference to `__imp__PyRun_SimpleStringFlags'\npycall.o:pycall.c:(.text+0x8c): undefined reference to `__imp__PyImport_AddModule'\npycall.o:pycall.c:(.text+0x95): undefined reference to `__imp__PyModule_GetDict'\npycall.o:pycall.c:(.text+0xa8): undefined reference to `__imp__PyDict_GetItemString'\npycall.o:pycall.c:(.text+0xbe): undefined reference to `__imp__PyBytes_AsString'\ncollect2: ld returned 1 exit status\nno DLL was created\nERROR: compilation failed for package 'rPython'\n* removing 'C:/R/R-3.1.2/library/rPython'\nError: Command failed (1)\n```\n\nJust an update, I tried it on Windows XP 32bit (with Anaconda python 2.7) and the installation was successful. I'll try to run some code and see if everything is working.\n\n```\n\u003e library(devtools)\n\u003e install(\"C:/Downloads/rPython\")\nInstalling rPython\n\"C:/R/R-31~1.2/bin/i386/R\" --vanilla CMD INSTALL \"C:/Downloads/rPython\" \\\n --library=\"C:/R/R-3.1.2/library\" --install-tests \n\n* installing *source* package 'rPython' ...\n** libs\nWarning: this package has a non-empty 'configure.win' file,\nso building only the main architecture\n\ngcc -m32 -I\"C:/R/R-31~1.2/include\" -DNDEBUG -I\"d:/RCompile/CRANpkg/extralibs64/local/include\" -I\"C:/Anaconda/include\" -O3 -Wall -std=gnu99 -mtune=core2 -c pycall.c -o pycall.o\ngcc -m32 -shared -s -static-libgcc -o rPython.dll tmp.def pycall.o -LC:/Anaconda/libs -lpython27 -Ld:/RCompile/CRANpkg/extralibs64/local/lib/i386 -Ld:/RCompile/CRANpkg/extralibs64/local/lib -LC:/R/R-31~1.2/bin/i386 -lR\ninstalling to C:/R/R-3.1.2/library/rPython/libs/i386\n** R\n** inst\n** preparing package for lazy loading\n** help\n*** installing help indices\n** building package indices\n** testing if installed package can be loaded\n* DONE (rPython)\n```\n","author":{"url":"https://github.com/grandtiger","@type":"Person","name":"grandtiger"},"datePublished":"2015-02-25T17:46:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/2/rPython-win/issues/2"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:89422c4b-6759-cbcc-c4d8-6407cc34a3a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86DA:1BE80D:384BB9:4CEBBB:698F6084 |
| html-safe-nonce | 187e41be882bc1727431ee78032706620d4a25d8b6df8aef370a3465b46cba72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkRBOjFCRTgwRDozODRCQjk6NENFQkJCOjY5OEY2MDg0IiwidmlzaXRvcl9pZCI6Ijc2MDA1MTc1ODQ5NzUyNTc3MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 22ff6add5b0015435b0758e5203ca5aa4185e44b7686feb7010702dc944ec703 |
| hovercard-subject-tag | issue:58941695 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cjgb/rPython-win/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cae15afdab1178fb4af95c3e3eb30d86b580ac9b761ce65d6aa07feb9f741c8/cjgb/rPython-win/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cae15afdab1178fb4af95c3e3eb30d86b580ac9b761ce65d6aa07feb9f741c8/cjgb/rPython-win/issues/2 |
| og:image:alt | I followed the instruction, but got compilation error on Windows 7 64bit. Has anyone confirmed that rPython works on on 64bit PC with 64bit R? If so, then I must have missed something. Any suggesti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | grandtiger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ab1c9acb90dba91d5e994ebfb6bfb1130e0e0e6aca329cdbbd934d636e22ab6 |
| turbo-cache-control | no-preview |
| go-import | github.com/cjgb/rPython-win git https://github.com/cjgb/rPython-win.git |
| octolytics-dimension-user_id | 1321567 |
| octolytics-dimension-user_login | cjgb |
| octolytics-dimension-repository_id | 14503010 |
| octolytics-dimension-repository_nwo | cjgb/rPython-win |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14503010 |
| octolytics-dimension-repository_network_root_nwo | cjgb/rPython-win |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 04a785903b8c8db66e4594aee5b2e56cf7232706 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width