[Rcpp-devel] Help Rcpp under ubuntu with QT4
Paulo Trigueiros
paulo at trigueiros.org
Tue Oct 12 17:36:09 CEST 2010
On 10/12/2010 04:20 PM, Dirk Eddelbuettel wrote:
> 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.
Yes, I used also the result from Rccp::LdFlags() for confiration of the
ld.so
I created the file has you said local-Rccp.conf, use the path
for the libraries Rcpp and RInside, and then
run the command ldconfig.
Thanks,
> Dirk
>
--
*Paulo Trigueiros*
paulo at trigueiros.org
M +351 938610888
Linux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20101012/c725f24e/attachment.htm>
More information about the Rcpp-devel
mailing list