Re: [Rcpp-devel] finding an undefined symbol

2010-11-04 Thread Douglas Bates
On Thu, Nov 4, 2010 at 3:40 PM, Andrew Redd wrote: > Figured it out.  The definition for data3 is in a namespace, so it > could not find the member functions. > -Andrew Good. Now on to fame and fortune, I hope. > On Thu, Nov 4, 2010 at 2:26 PM, Andrew Redd wrote: >> Thanks for the post.  The da

Re: [Rcpp-devel] finding an undefined symbol

2010-11-04 Thread Andrew Redd
Figured it out. The definition for data3 is in a namespace, so it could not find the member functions. -Andrew On Thu, Nov 4, 2010 at 2:26 PM, Andrew Redd wrote: > Thanks for the post.  The data3 class is defined with > --- > #include > #include "types.h" //defines ivec, tvec, idxvec, as vector

Re: [Rcpp-devel] finding an undefined symbol

2010-11-04 Thread Andrew Redd
Thanks for the post.  The data3 class is defined with --- #include #include "types.h" //defines ivec, tvec, idxvec, as vectors and numeric as double class data3{ public: data3(); void initPat(tvec, tvec); void initAug(ivec, ivec, tvec); void initSwabs(idxvec, ivec, tvec); void setParameters(numeri

Re: [Rcpp-devel] finding an undefined symbol

2010-11-04 Thread Douglas Bates
On Wed, Nov 3, 2010 at 2:22 PM, Andrew Redd wrote: > I'm writing a rather complicated package using CUDA and Rcpp.  I have > everything compile and link ok, but when loading I get a >> "unable to load shared object ..." >> "... undefined symbol:  _ZN5data39initSwabsESt6vector..." > Does anyone hav

[Rcpp-devel] finding an undefined symbol

2010-11-04 Thread Andrew Redd
I'm writing a rather complicated package using CUDA and Rcpp. I have everything compile and link ok, but when loading I get a > "unable to load shared object ..." > "... undefined symbol: _ZN5data39initSwabsESt6vector..." Does anyone have any advice how to fix this and/or figure out what exactl