Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
The information on this page refers to LM-X v4.4.5 and newer, which added the ability to compile a clean SDK. If you are using an older version of LM-X, refer to documentation for v4.4.4 and earlier. 

You install the LM-X SDK using an installation program (for both Windows and Unix), which will let you automatically:

  • Install and compile the SDK
  • Obtain the license file, copy it to the proper directory, and activate the license
  • Copy the security_config file from a previous LM-X installation to the proper directory
  • Navigate to the installation directory and execute the makefile

The installer places the LM-X license file (lmx.lic) in the config directory. The license file contains the software expiration date (after which xmllicgen will not generate new licenses) and the platforms on which you can compile and run LM-X. The installer will activate the LM-X license for you, or you can activate it manually as described in our Knowledgebase article, Activating licenses using License Activation Center.

Upon first compilation of the LM-X SDK, the LM-X security configuration file (security_config.lmx) is automatically created in the config directory. This file holds various security-related parameters, and is used to create license files and embed the security configuration into the license server and client libraries.

Important: You must reuse this security configuration file for the lifetime of your application. When updating to new builds of LM-X or compiling LM-X on multiple platforms, the installer will let you choose an existing security configuration file. If you do not choose an existing security configuration file while running the installer, you must manually place the file in the config directory after installing the SDK.

See also Performing a silent installation.

...

If needed, you can recompile the LM-X SDK manually after initial installation. Manual compilation is needed only if you are extending the license server source code with your own code, changing the security configuration file, or change changing the license file.

Before recompiling the LM-X SDK, put your compiled source code in the ./platform/vendor directory (where platform is the platform-specific directory as listed in the table below). Placing the source code in this directory will allow you to compile without requiring any modifications to the SDK.

...

To compile the SDK from a command line, execute the makefile makefile from the root directory of the LM-X distribution:

...