> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/tina-4.9.5/version-information/reference-de-lapi-rest/api-libraries-and-compilation.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# API Libraries and Compilation

### **Unix**

#### AIX 64b

Library : libtina\_api.a

Compiler IBM XL C/C++ greater or equal

Compilation option: -q64

Link edition option : -q64 -L

-ltina\_api -ltina\_clt -ltina\_dtm -ltina\_mag -ltina\_ndmp -ltina\_bjr

-latempo\_osc -latempo\_xis -latempo\_mth -latempo\_apr -latempo\_alc -licudata

-licuuc -ltinyxml -lapr-1 -ldns\_sd -lpthread -lm -lcrypt -ldl

#### Solaris X64

Library : libtina\_api.so

Compiler : SunStudio greater or equal 12.1

Compilation option: -m64 -features=extensions -Kpic

Link edition option : -L

\<DIRECTORY\_TIME\_NAVIGATOR\_LIBS> -ltina\_api -ltina\_clt -ltina\_dtm

-ltina\_mag -ltina\_ndmp -ltina\_bjr -latempo\_osc -latempo\_xis

-latempo\_mth -latempo\_apr -latempo\_alc -licudata -licuuc -ltinyxml

-lapr-1 -ldns\_sd -lpthread -lm -lcrypt -ldl

#### Solaris Sparc 64

Library : libtina\_api.so

Compiler : Sun ONE Studio Compiler greater or equal 7

Compilation option: -xarch=v9 -xcode=pic32

Link edition option : -L

\<DIRECTORY\_TIME\_NAVIGATOR\_LIBS> -ltina\_api -ltina\_clt -ltina\_dtm

-ltina\_api -ltina\_clt -ltina\_dtm -ltina\_mag -ltina\_ndmp -ltina\_bjr -latempo\_osc -latempo\_xis

-latempo\_mth -latempo\_apr -latempo\_alc -licudata

-licuuc -ltinyxml -lapr -ldns\_sd -L -lapr-1

\<DIRECTORY\_TIME\_NAVIGATOR\_LIBS>/libtemplates. -lrt -Bdynamic -lsocket

-lnsl -lw -ldl -lcpc

#### Linux 32 bits

Library : libtina\_api.so

Compiler gcc/g++ greater or equal 4.1

Compilation options : -fPIC -march=i386

Link edition option :

-march=i386 -L \<DIRECTORY\_TIME\_NAVIGATOR\_LIBS> -ltina\_api -ltina\_clt

-ltina\_dtm -ltina\_mag -ltina\_ndmp -ltina\_bjr

-latempo\_osc -latempo\_xis -latempo\_mth -latempo\_apr -latempo\_alc -licudata -licuuc -ltinyxml

-lapr-1 -ldns\_sd -lpthread -lm -lcrypt -ldl

#### Linux 64 bits

Library : libtina\_api.so

Compiler gcc/g++ greater or equal 4.7.0

Compilation options : -fPIC

Link edition option : -L \<DIRECTORY\_TIME\_NAVIGATOR\_LIBS> -ltina\_api

-ltina\_clt -ltina\_dtm -ltina\_mag -ltina\_ndmp -ltina\_bjr

-latempo\_osc -latempo\_xis -latempo\_mth -latempo\_apr -latempo\_alc -licudata

-licuuc -ltinyxml -lapr-1 -ldns\_sd -lpthread -lm -lcrypt -ldl

#### MacOS X64

Library : libtina\_api.so

Compiler gcc/g++ greater or equal 4.2.0

Compilation options : -fPIC -mmacosx-version-min=10.4 -arch x86\_64 -W -Wall -Wno-unusedparameter -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wmissing-declarations -Wbadfunction-cast -Wno-unused

Link edition option : -L \<DIRECTORY\_TIME\_NAVIGATOR\_LIBS> -ltina\_api -ltina\_clt -ltina\_dtm -ltina\_mag -ltina\_ndmp -ltina\_bjr -latempo\_osc -latempo\_xis -latempo\_mth -latempo\_apr - latempo\_alc -licudata -licuuc -ltinyxml -lapr-1 -ldns\_sd -lpthread -lm -lcrypt -ldl - F/System/Library/Frameworks -framework CoreFoundation -framework OpenDirectory - framework Carbon -framework IOKit /usr/lib/libSystem.dylib

### Windows

#### Windows 32 bits

Library : libtina\_api.lib

Compiler : Microsoft Visual Studio 8

Compilation options : /MD /Zc:wchar\_t

Mandatorylibraries :

Time Navigator libraries : libtina\_api.lib libtina\_clt.lib

ibatempo\_osc.lib libatempo\_xis.lib libatempo\_mth.lib libatempo\_apr.lib libatempo\_alc.lib libatempo\_rpc.lib libtinyxml.lib Microsoft libraries : "iphlpapi.lib" "ole32.lib" "OleAut32.lib" "setupapi.lib" "Comdlg32.lib" "Msimg32.lib" "version.lib" "shlwapi.lib" "Z:/Microsoft Visual Studio 10.0/VC/atlmfc/lib/amd64/atls.lib" "wsock32.lib" "ws2\_32.lib" "iphlpapi.lib" "netapi32.lib" "user32.lib" "advapi32.lib" "Z:/Microsoft Visual Studio 10.0/VC/lib/amd64/Oldnames.lib" "gdi32.lib" "winspool.lib" "mpr.lib" "comctl32.lib" "uuid.lib" "userenv.lib" "psapi.lib" "DbgHelp.lib" "shell32.lib" " kernel32.lib" msvcrt.lib" "msvcprt.lib"

#### Windows 64 bits

Library : libtina\_api.lib

Compiler : Microsoft Visual Studio 10.0

Compilation options : /MD /Zc:wchar\_t

Mandatory libraries :

Time Navigator libraries : libtina\_api.lib libtina\_clt.lib

libatempo\_osc.lib libatempo\_xis.lib libatempo\_mth.lib libatempo\_apr.lib libatempo\_alc.lib libatempo\_rpc.lib libtinyxml.lib Microsoft libraries : "iphlpapi.lib" "ole32.lib" "OleAut32.lib" "setupapi.lib" "Comdlg32.lib" "Msimg32.lib" "version.lib" "shlwapi.lib" "Z:/Microsoft Visual Studio 10.0/VC/atlmfc/lib/amd64/atls.lib" "wsock32.lib" "ws2\_32.lib" "iphlpapi.lib" "netapi32.lib" "user32.lib" "advapi32.lib" "Z:/Microsoft Visual Studio 10.0/VC/lib/amd64/Oldnames.lib" "gdi32.lib" "winspool.lib" "mpr.lib" "comctl32.lib" "uuid.lib" "userenv.lib" "psapi.lib" "DbgHelp.lib" "shell32.lib" " kernel32.lib" msvcrt.lib" "msvcprt.lib"

```
#define TNErrMaintenance					  -27 /*Action not allowed because of folder maintenance*/
#define TNErrUserLocked						  -28 /*User Account is locked*/
#define TNErrUserPasswordExpired			  -29 /*User password expired password*/
#define TNErrUserPasswordComplexityCompliance -30 /*Password does not comply with password policy*/
#define TNErrUserPasswordEmpty				  -31 /*Password is empty*/
#define TNErrUserNeed2FA					  -32 /*Need 2FA code*/
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/tina-4.9.5/version-information/reference-de-lapi-rest/api-libraries-and-compilation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
