WHile migrating from libcouchbase2 to libcouchbase3 n1ql.h is not present in libcouchbase3. So, getting below errors.How to resolve these?

couchbase/include/CouchbaseWork.hpp:90:16: error: field ‘command’ has incomplete type ‘lcb_CMDGET {aka lcb_CMDGET_}’
lcb_CMDGET command;
^~~~~~~
In file included from couchbase/include/CouchbaseConnector.hpp:18:0,
from couchbase/src/CouchbaseConnector.cpp:1:
/usr/include/libcouchbase/couchbase.h:698:16: note: forward declaration of ‘lcb_CMDGET {aka struct lcb_CMDGET_}’
typedef struct lcb_CMDGET_ lcb_CMDGET;
^~~~~~~~~~~
In file included from couchbase/src/CouchbaseConnector.cpp:2:0:
couchbase/include/CouchbaseWork.hpp:115:19: error: field ‘command’ has incomplete type ‘lcb_CMDREMOVE {aka lcb_CMDREMOVE_}’
lcb_CMDREMOVE command;
^~~~~~~

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.