Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Visual Studio (Express, Standard, Pro or better).
  • MinGW v4.3.x.

Compiling the LM-X SDK using Visual Studio

...

  • Run Visual Studio by default by clicking Finish at the end of installing the LM-X SDK on Windows
    or
  • Double-click on the proper Visual Studio solution file, as shown below:

Image AddedImage Removed

Note: Make sure the config directory includes the license file.

...

When the compilation is successfully completed, you will see a "Build succeeded" message on the Visual Studio status bar, as shown below.


Compiling the LM-X SDK from a command line using Visual Studio

To compile the LM-X SDK from a command line using Visual Studio:

Step 1. Run cmd.exe.


Step 2. Set the environment variable.

...

The following are examples of environment variables:

Visual Studio 2008 32-bit

...


Visual

...

Studio

...

 Visual Studio 2010 32-bit

Panel
C:\Users\user\LM-X SDK v4.5.8 win64_x64> call %PROGRAM_FILES%\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat

...

Panel
C:\Users\user\LM-X SDK v4.5.8 win64_x64> call %PROGRAM_FILES%\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat

Visual Studio 2008 64-bit

Panel
C:\Users\user\LM-X SDK v4.5.8 win64_x64> call %PROGRAM_FILES%\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvars64.bat

Visual Studio 2010 64-bit

Panel
C:\Users\user\LM-X SDK v4.5.8 win64_x64> call %PROGRAM_FILES%\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat

...

Step 3. From the root directory of the LM-X distribution, run nmake.


Cleaning the LM-X SDK using Visual Studio

Panel
C:\Users\user\LM-X SDK v4.5.8 win64_x64> nmake clean

...

Step 2. Set the environment variable.

Note: The path for mingwmingw32-32 make may vary depending on the machine and architecture being used.

Step 3. From the root directory of the LM-X distribution, run mingw32-make.



 

Cleaning the LM-X SDK using MinGW

 

Panel
C:\Users\user\LM-X SDK v4.5.8 win64_x64> mingw32-make clean

 

Note: You may want to clean previously compiled files when rebuilding the SDK with a different license or security key. 

 

See Installation issues for information about problems and workarounds related to compiling the LM-X SDK.