#include <tiledb/tiledb.h>and specify
-ltiledbwhen compiling, e.g.
#include <tiledb/tiledb>to your C++ project instead. The TileDB C++ API requires a compiler with C++11 support, thus your project must be compiled using the C++11 standard, e.g.
sudo ldconfigafter installation to update the search cache.
C:\path\to\TileDB\dist\lib. Under the Input options for Linker, edit “Additional Dependencies” and add
#include <tiledb/tiledb.h>(C API) or
#include <tiledb/tiledb>(C++ API) in your project.
PATHenvironment variable, or you will see error messages at startup that the TileDB library or its dependencies could not be located. You can do this in Visual Studio by adding
PATH=C:\path\to\TileDB\dist\binto the “Environment” setting under “Debugging” in the Property Pages. You can also do this from the Windows Control Panel, or at the command prompt like so:
find_package(). To use, TileDB must be installed globally or
CMAKE_PREFIX_PATHmust be set to the TileDB installation directory.
../bootstrapand no prefix was given then the
</path/to/TileDB>/dist/lib/cmake/TileDBdirectory will contain the
TileDBConfig.cmakefile used for
find_package(TileDB). In your project, you would set
MyExein your project with the TileDB shared library, you would then use:
-EnableStaticTileDB(Windows) bootstrap flag when configuring TileDB, or use the CMake equivalent flag
-DTILEDB_STATIC=ON. Then in your project simply link against the