LIB

 

Specifies the paths to search for objects and libraries when linking C/C++ source files.

 

Syntax:

 

LIB=<path to folder>

 

Usage and examples:

 

To enable linking C/C++ source files, you must specify the paths to folders where the necessary objects and libraries are located:

 

LIB=C:\Program Files\Querix\Lycia 3 Development Suite 7.1\Lycia\my_libs

LIB=$LYCIA_DIR\my_libs;%LIB%

 

LIB=opt/Querix/Lycia/my_libs

LIB=$LYCIA_DIR/my_libs:$LIB

 

LIB applies at compilation and must be set in env.properties.

If you work with Lycia Command Line and use the qxld command to compile the C/C++ source files, you must set LIB in the command line environment as well (in environ.bat).

 

 

Related articles:

Using C API in Lycia

Command Line Tools - Compiling and linking C source files

qxld