Hi, I've just begun using Inline::CPP. For some reason the constructor for the class (HMM) that I wrote does not get bound to new().
I have written a different test class( with fewer methods and members) in the same way and the constructor was bound correctly by Inline::CPP. I dont know why this is behaving differently for the more complex class. Could it be because I have complex data members in the other class (vectors of vectors etc)? I'm not explicitly initializing any of the members in the constructor ie, the constructor is just a dummy. Taking out the constructor (to rely on an autogenerated default constructor) doesnt work either. Has anyone seen this error, and is there something basic I'm missing here? --------------ERROR-------------------------------------------- Can't locate object method "new" via package "HMM" (perhaps you forgot to load "HMM"?) at pair.pl line 42 ----------------------------------------------------------------- Venky.