[Rcpp-devel] Help Rcpp under ubuntu with QT4

Dirk Eddelbuettel edd at debian.org
Tue Oct 12 17:20:57 CEST 2010


On 12 October 2010 at 15:56, Paulo Trigueiros wrote:
| 
| Solved:-)

Very good.
 
| | I included in QT4 configuration for qmake the following lines:
| |      INCLUDEPATH += /usr/local/lib/R/site-library/Rcpp/include \
| |
| | /usr/local/lib/R/site-library/RInside/include
| |
| |      LIBS += -L/usr/local/lib/R/site-library/Rcpp/lib -lRcpp
| |
| | after have confirmed on R the
| |
| | Rcpp:::CxxFlags() and Rcpp:::LdFlags().

That covers points 1) and 2) of my mail; you still need to deal with ld.so.
If you don't mind using fixed strings you could copy exactly what
Rcpp::LdFlags() and, if you use it, RInside::LdFlags() shows so that you get
rpath info.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list