TRIPsystem Kernel API 8.3
|
To compile and link TRIPtoolkit programs and libraries such ase ASEs on Linux and Solaris, make sure that the compiler directive includes the TRIPsystem include directory. You can derive this location using the following expression for your compilation directive in a makefile:
-I$(shell dirname `readlink /usr/local/trip/sys/lib`)/include
This way, you don't have to change your makefiles when upgrading your TRIPsystem installation.
Similarly, to link your executable or library, you must specify the link directory /usr/local/trip/sys/lib
as the library path to the linker before specifying the dependency on libtdbs.so:
-L/usr/local/trip/sys/lib -ltdbs
Just specifying -ltdbs
is not guaranteed to work.
When building TRIPtoolkit programs and libraries on Windows, using Microsoft Visual Studio is recommended.
include
directory to the "Additional Include Directories"
property of your project.lib
directory to the "Additional Library Directories"
property of your project.tdbsrtl.lib
file to the "yAdditional Dependencies"
property of your project.With all the above in place in your Visual Studio C/C++ project, you should be able to compile and link your TRIPtoolkit program.