You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:install-closure: pass:q,a[At this point you are ready to start building the xref:gs-build.adoc[Getting Started] app], or doing your own thing with _Couchbase Lite for C_]
28
+
:install-closure: pass:q,a[At this point you are ready to start building the xref:gs-build.adoc[Getting Started] app, or doing your own thing with _Couchbase Lite for C_]
@@ -229,46 +247,46 @@ You just need to pass the `-lcblite` command-line flag to the compiler when you
229
247
230
248
{install-closure}
231
249
232
-
[#lbl-man]
233
-
=== Manually
250
+
// [#lbl-man]
251
+
// === Manually
234
252
235
-
ifdef::is-beta[NOTE: These manual steps will not be needed beyond this BETA stage]
253
+
// ifdef::is-beta[NOTE: These manual steps will not be needed beyond this BETA stage]
236
254
237
-
[#lbl-linux-steps]
238
-
. Install dependencies
239
-
+
240
-
Users of `.zip` downloads will need to use their package manager to install the following dependencies: `libatomic1`, `libicu` footnote:[Use whichever version ships with your linux distro] and `zlib1g`.
241
-
+
242
-
For example to install for ARM32 on ARM64, you might do:
<.> This example uses Debian{nbsp}9 libicu version; you should use the appropriate version for your distro.
250
-
251
-
. *Download* and *Unpack* the binary release -- see: {downloads-mobile--xref}
255
+
// [#lbl-linux-steps]
256
+
// . Install dependencies
257
+
// +
258
+
// Users of `.zip` downloads will need to use their package manager to install the following dependencies: `libatomic1`, `libicu` footnote:[Use whichever version ships with your linux distro] and `zlib1g`.
259
+
// +
260
+
// For example to install for ARM32 on ARM64, you might do:
// <.> This example uses Debian{nbsp}9 libicu version; you should use the appropriate version for your distro.
252
268
253
-
. Copy {release-dirs} to an appropriate location, for example `/usr/`
269
+
// . *Download* and *Unpack* the binary release -- see: {downloads-mobile--xref}
254
270
255
-
. Confirm that `LD_LIBRARY_PATH` contains the path to either
256
-
{release-dirs-lib}
271
+
// . Copy {release-dirs} to an appropriate location, for example `/usr/`
257
272
258
-
. Add the appropriate {release-dirs-lib} path to your
259
-
compiler library search path (`-L`)
273
+
// . Confirm that `LD_LIBRARY_PATH` contains the path to either
274
+
// {release-dirs-lib}
260
275
261
-
. Add the appropriate {release-dirs-include} path to your compiler's include path (`-I`)
276
+
// . Add the appropriate {release-dirs-lib} path to your
277
+
// compiler library search path (`-L`)
262
278
263
-
. Link with the binaries library using `-lcblite`
279
+
// . Add the appropriate {release-dirs-include} path to your compiler's include path (`-I`)
264
280
265
-
{install-closure}
281
+
// . Link with the binaries library using `-lcblite`
266
282
267
-
If you are familiar with _CMake_, then you can use this as a method of creating cross-platform projects; including Couchbase Lite itself.
268
-
As a convenience, the release package includes a _CMake_ file in `lib/cmake/CouchbaseLite`
283
+
// {install-closure}
269
284
285
+
// If you are familiar with _CMake_, then you can use this as a method of creating cross-platform projects; including Couchbase Lite itself.
286
+
// As a convenience, the release package includes a _CMake_ file in `lib/cmake/CouchbaseLite`
270
287
271
-
== Windows
288
+
[#lbl-windows]
289
+
== Install for Windows
272
290
To install the Couchbase for C libraries on Windows from a downloaded release binary:
273
291
274
292
[#lbl-windows-steps]
@@ -289,8 +307,9 @@ Couchbase Lite for C does not have any preferred installation path for the `.dll
289
307
It is up to you to determine where best to place it so it is available during execution, though copying to a location on the system path is not recommended on Windows
290
308
291
309
292
-
== Mac OS
293
-
To install the Couchbase for C libraries on Mac OS X from a downloaded release package:
310
+
[#lbl-macos]
311
+
== Install for macOS
312
+
To install the Couchbase for C libraries on macOS from a downloaded release package:
294
313
295
314
CAUTION: Direct access from Swift to Couchbase Lite for C is not possible in this *3.0.0 (beta)* release.
296
315
This will be available in the next release.
@@ -308,7 +327,8 @@ This will be available in the next release.
308
327
309
328
{install-closure}
310
329
311
-
== iOS
330
+
[#lbl-ios]
331
+
== Install for iOS
312
332
CAUTION: Direct access from Swift to Couchbase Lite for C is not possible in this *3.0.0 (beta)* release.
313
333
This will be available in the next release.
314
334
@@ -327,7 +347,8 @@ If you encounter a build error -- Include of non-modular header inside framework
327
347
`allow non-modular includes in framework module` to `Yes`.
328
348
329
349
330
-
== Android
350
+
[#lbl-android]
351
+
== Install for Android
331
352
This install assumes use of the _Android Studio_ IDE.
332
353
In addition to the Couchbase Lite for C download you also require the following tool chain dependencies, all installable from within _Android Studio_ if necessary:
0 commit comments