unable to open the base package when compiling RInside in QT

309 views Asked by At

I 'm new in QT. I meet a problem in using RInside, hope to get some help.

int main(int argc, char *argv[]) {
    RInside R(argc, argv);
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    return a.exec();
}

when compling this,error happened.

enter image description here

the compiler is "Desktop Qt MinGW 32bit",the qmake configure is like this, I also try add RInside lib like "

QMAKE_LIBDIR += $$quote(C:/Program Files/R/R-3.5.1/library/RInside/libs/x64)
QMAKE_LIBDIR += $$quote(C:/Program Files/R/R-3.5.1/library/RInside/lib/i386)
QMAKE_LIBDIR += $$quote(C:/Program Files/R/R-3.5.1/library/RInside/lib/x64)

all of there don't work.

enter image description here

thanks for your help!

0

There are 0 answers