我试了两个例子,他们给了我同样的问题。
int main(int argc, char *argv[])
{
qDebug() << "//------- before R instance";
RInside R(argc, argv); // create an embedded R instance
qDebug() << "//------- after R instance";应用程序输出:
Starting C:\Users\Alfonso\Desktop\Alf-15\RInside\inst\examples\build-qtdensity-Desktop_Qt_5_4_1_MinGW_32bit-Release\release\qtdensity.exe...
//------- before R instance
The program has unexpectedly finished.
C:\Users\Alfonso\Desktop\Alf-15\RInside\inst\examples\build-qtdensity-Desktop_Qt_5_4_1_MinGW_32bit-Release\release\qtdensity.exe crashed有什么想法吗?(我在Windows7上工作,我有Qt 5.4.1 MinGW 32位,R 3.1.3和RInside 0.2.13)谢谢。
发布于 2015-07-19 21:45:14
确保Qt和R是使用相同(或兼容)版本的MinGW构建的。如果你在the rcpp-devel list上发帖,其他一些Windows用户也许能帮到你。
example Qt application included in RInside仍然可以工作,而且还能做更多的事情。
https://stackoverflow.com/questions/31497183
复制相似问题