The latest development version of this page may be more current than this released 0.4.3 version.

Windows Command Line Compilation Environment Setup

Download integration package andinstall compile environment

On Windows, we provide an integrated package for setting up the compilation environment. Click to download Windows integration package

When using an integrated package to compile an environment and want to switch to another WM IoT SDK:

  • Non graphical startup

Right click on the generated shortcut icon and select Properties, then fill in the new WM IoT SDK path at the starting position(S).

  • Graphic Launch

    You need to manually select the new WM IoT SDK path and project path (project path can be omitted) at the SDK path: on the interface.

Alternatively, you can modify the WM_IOT_SDK_PATH directly in the command line window as follows:

In cmd:

set WM_IOT_SDK_PATH=D:\wm\wm_iot_sdk_new

Or in PowerShell:

$env:WM_IOT_SDK_PATH="D:\wm\wm_iot_sdk_new"

Important

  • When using an integrated compilation environment, each startup requires starting the compilation environment from the shortcut provided by the installation program. So for DIY enthusiasts, please refer to manually setting up a compilation environment on Linux or macOS systems.

  • If you encounter issues with wm.py not being found while using the integrated environment, it might have been deleted by some antivirus software as a potential threat. It is recommended to adjust your antivirus settings accordingly.

  • When using Ccache to speed up the compilation process, some antivirus software may detect this mechanism and cause delays. If you experience such issues, you might need to adjust your antivirus settings to improve compilation speed or disable the Ccache feature in menuconfig.