i build LiteCore in my ubuntu successfully.
in my .pro file in Qt i add these lines:
- add libLiteCore.so
- add libLiteCoreStatic.a
3 add couchbase-lite-core/C/include
now qt has litecore headers but it can’t compile this project.
please help me.
example error:
/home/ali/couchbase-lite-core/C/include/c4Base.h:245: error: expected function body after function declarator
bool c4SliceEqual(C4Slice a, C4Slice b) C4API;
^