Yep, that did it. Thanks, Jim. Eric B. Ridge wrote: >> I must be missing something. > > > I think you also want to be using namespace Xapian. > > like so: > >> #include <xapian.h> >> #include <iostream> >> using namespace std; > > using namespace Xapian; > > eric