I'm trying to build the qtdensity example which comes with RInside, using Qt 
Creator and the qtdensity.pro file included, but my build fails because g++ 
can't find libRInside.a. Running Rscript on command line shows that 
RInside:::LdFlags() does not return the full path, as it is doing for Rcpp, 
hence the error:

> /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::CxxFlags()"
-I/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rcpp/include

> /Library/Frameworks/R.framework/Resources/bin/Rscript -e "Rcpp:::LdFlags()"
/Library/Frameworks/R.framework/Versions/2.15/Resources/library/Rcpp/lib/x86_64/libRcpp.a

> /Library/Frameworks/R.framework/Resources/bin/Rscript -e 
> "RInside:::CxxFlags()"
-I/Library/Frameworks/R.framework/Versions/2.15/Resources/library/RInside/include

> /Library/Frameworks/R.framework/Resources/bin/Rscript -e "RInside:::LdFlags()"
/libRInside.a

(RInside 0.2.6, OS 10.6.8). Have I missed something obvious here? The only 
thing I can think of is that it's an architecture issue, as there is no 
.../RInside/lib/x86_64/libRInside.a file.

Thanks.
jc (Melbourne)



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

Reply via email to