Re: [Rcpp-devel] Conflict between RInside and OpenCV

2010-04-26 Thread Romain Francois
Le 24/04/10 04:43, Xavi de Blas a écrit : > > Finally it works! > > Yes, it was a mess with my OpenCV libraries, sometimes it's not easy > to have them working > > Knowing that it worked for you it helped me to find the problem > > Thanks for your fast response. Soon I will post how I integrated th

Re: [Rcpp-devel] Conflict between RInside and OpenCV

2010-04-23 Thread Xavi de Blas
Finally it works! Yes, it was a mess with my OpenCV libraries, sometimes it's not easy to have them working Knowing that it worked for you it helped me to find the problem Thanks for your fast response. Soon I will post how I integrated this in my software, i think you will like it. Bye 2010/

Re: [Rcpp-devel] Conflict between RInside and OpenCV

2010-04-23 Thread Xavi de Blas
Hello again I deleted .RData and .Rprofile and problem persists. In order to have OpenCV right-working with last ffmpeg i have so much versions and compilations and maybe there's a problem difficult to reproduce. Can you please post your compilation line? I'm glad that it's working for you Tha

Re: [Rcpp-devel] Conflict between RInside and OpenCV

2010-04-23 Thread Dirk Eddelbuettel
On 23 April 2010 at 22:25, Xavi de Blas wrote: | Hello Dirk | | | > No idea whatsoever. That seems very bizarre and implausible.  Do you have | > anything in your ~/.Profile? | | Nothing special It is either that file, or an existing .RData you are loading by virtue of initializing R. I can r

Re: [Rcpp-devel] Conflict between RInside and OpenCV

2010-04-23 Thread Xavi de Blas
Hello Dirk > No idea whatsoever. That seems very bizarre and implausible.  Do you have > anything in your ~/.Profile? Nothing special > > Also, is > >      -L/usr/local/lib -lhighgui > > all you need to link with OpenCV?  [ BTW the -L/usr/local/lib is redundant. ] I normally use this: g++

Re: [Rcpp-devel] Conflict between RInside and OpenCV

2010-04-23 Thread Dirk Eddelbuettel
On 23 April 2010 at 21:46, Xavi de Blas wrote: | Hello | | I'm trying to call R from my C++ OpenCV software and I have problems at runtime. | | This is rinside_sample6.cpp adapted: | | - | #include | #include "opencv/cv.h" | | int main(int argc, char **argv) { | CvFont font = cvF

[Rcpp-devel] Conflict between RInside and OpenCV

2010-04-23 Thread Xavi de Blas
Hello I'm trying to call R from my C++ OpenCV software and I have problems at runtime. This is rinside_sample6.cpp adapted: - #include #include "opencv/cv.h" int main(int argc, char **argv) { CvFont font = cvFont( 1 ); //This breaks all try { RInside R(arg