I get this error when making simple GUI using RInside, Qt, netbeans. How to fix 
it ?
"C:/MinGW/msys/1.0/bin/make" -f nbproject/Makefile-Debug.mk 
QMAKE=/C/Qt/4.8.6/bin/qmake.exe SUBPROJECTS= .build-confmake[1]: Entering 
directory 'C:/Users/Yusfil 
Pulungan/Documents/NetBeansProjects/QtRTest'c:/Qt/4.8.6/bin/qmake.exe VPATH=. 
-spec win32-g++ -o qttmp-Debug.mk nbproject/qt-Debug.promv -f qttmp-Debug.mk 
nbproject/qt-Debug.mk"c:/MinGW/msys/1.0/bin/make" -f nbproject/qt-Debug.mk 
dist/Debug/MinGW-Windows/QtRTest.exemake[2]: Entering directory 
'C:/Users/Yusfil Pulungan/Documents/NetBeansProjects/QtRTest'g++ -mthreads 
-Wl,-subsystem,windows -o dist/Debug/MinGW-Windows/QtRTest.exe 
build/Debug/MinGW-Windows/main.o build/Debug/MinGW-Windows/qtdensity.o 
build/Debug/MinGW-Windows/moc_qtdensity.o  -L'c:/Qt/4.8.6/lib' -lmingw32 
-lqtmaind build/Debug/MinGW-Windows/QtRTest_resource_res.o -lQtGuid4 -lQtCored4 
build/Debug/MinGW-Windows/qtdensity.o: In function 
`ZN4Rcpp10RstreambufILb1EE6xsputnEPKci':C:\Users\Yusfil 
Pulungan\Documents\NetBeansProjects\QtRTest/../../../../../Program 
Files/R/R-3.1.2/library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:61: undefined 
reference to `Rprintf'build/Debug/MinGW-Windows/qtdensity.o: In function 
`ZN4Rcpp10RstreambufILb0EE6xsputnEPKci':C:\Users\Yusfil 
Pulungan\Documents\NetBeansProjects\QtRTest/../../../../../Program 
Files/R/R-3.1.2/library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:65: undefined 
reference to `REprintf'build/Debug/MinGW-Windows/qtdensity.o: In function 
`ZN4Rcpp10RstreambufILb1EE8overflowEi':C:\Users\Yusfil 
Pulungan\Documents\NetBeansProjects\QtRTest/../../../../../Program 
Files/R/R-3.1.2/library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:70: undefined 
reference to `Rprintf'build/Debug/MinGW-Windows/qtdensity.o: In function 
`ZN4Rcpp10RstreambufILb0EE8overflowEi':C:\Users\Yusfil 
Pulungan\Documents\NetBeansProjects\QtRTest/../../../../../Program 
Files/R/R-3.1.2/library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:74: undefined 
reference to `REprintf'build/Debug/MinGW-Windows/qtdensity.o: In function 
`ZN4Rcpp10RstreambufILb1EE4syncEv':C:\Users\Yusfil 
Pulungan\Documents\NetBeansProjects\QtRTest/../../../../../Program 
Files/R/R-3.1.2/library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:79: undefined 
reference to `R_FlushConsole'build/Debug/MinGW-Windows/qtdensity.o: In function 
`ZN4Rcpp10RstreambufILb0EE4syncEv':C:\Users\Yusfil 
Pulungan\Documents\NetBeansProjects\QtRTest/../../../../../Program 
Files/R/R-3.1.2/library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:83: undefined 
reference to `R_FlushConsole'collect2.exe: error: ld returned 1 exit 
statusmake[2]: *** [dist/Debug/MinGW-Windows/QtRTest.exe] Error 1make[1]: *** 
[.build-conf] Error 2make: *** [.build-impl] Error 2nbproject/qt-Debug.mk:78: 
recipe for target 'dist/Debug/MinGW-Windows/QtRTest.exe' failedmake[2]: Leaving 
directory 'C:/Users/Yusfil 
Pulungan/Documents/NetBeansProjects/QtRTest'nbproject/Makefile-Debug.mk:66: 
recipe for target '.build-conf' failedmake[1]: Leaving directory 
'C:/Users/Yusfil 
Pulungan/Documents/NetBeansProjects/QtRTest'nbproject/Makefile-impl.mk:39: 
recipe for target '.build-impl' failed

_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to