[Rcpp-devel] How to use Rcpp with Qt Creator (Mac)?
Dirk Eddelbuettel
edd at debian.org
Sat May 16 04:59:49 CEST 2015
On 15 May 2015 at 19:30, Kevin Ushey wrote:
| That `R_running_as_main_program` error should be fixed R 3.2.0-patched.
|
| See: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15899
Oh, dang, I _knew_ I had actually seen that bug report of yours.
I just didn't remember now. Thanks for the reminder!
| If that hot-fix helps then that's good; otherwise, I would suggest
| users patching their R headers after installation.
The hot-fix seems fine: I moved the include of RInterface.h from
RInsideCommon.h (which ends up in several places) to RInside.cpp (where it is
needed). In any event, it is in a branch (and I added two more commits
there):
https://github.com/eddelbuettel/rinside/tree/feature/no-rinterface-header
Dirk
| Kevin
|
| On Fri, May 15, 2015 at 6:42 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
| >
| > On 15 May 2015 at 20:25, Dirk Eddelbuettel wrote:
| > | [ Using qt5 on Ubuntu 15.05, that currently fails with a linking error
| > | main.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
| > | but I am pretty certain this still worked just a few weeks/months ago under
| > | the previous Ubuntu release. ]
| >
| > A hot-fix for this issue --not including RInterface.h -- is now in a new
| > branch 'feature/no-rinterface-header' on GitHub, see the commit
| >
| > https://github.com/eddelbuettel/rinside/commit/0ff27da47e42f04017091e48f44c92a1897f6ba2
| >
| > for more. It will need some testing.
| >
| > Dirk
| >
| > --
| > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
| > _______________________________________________
| > Rcpp-devel mailing list
| > Rcpp-devel at lists.r-forge.r-project.org
| > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel
mailing list