Install TWELITE SDK (MWSDK)

TWELITE STAGE (MWSDK2020-04 or later)

TWELITE STAGE (MWSDK2020-04 or later) extracts the distribution zip archive to a folder that does not contain Japanese or whitespace characters.

If you do not want to use TWELITE STAGE for the build, but want to use the make command, please refer here and set the MWSDK_ROOT environment variable.

MWSDK2018-05

The TWELITE SDK can be run on Windows, Linux, and OS X. However, there may be differences in the descriptions in this document depending on the environment. It also requires knowledge of the command line.

Reference Environment:

To install the TWELITE SDK, follow the steps below.

  1. Extracting a ZIP archive
  2. Install VSCode

Extracting a ZIP archive

Extract the TWELITE SDK archive.

Avoid the following folders.

In this document, installation on Windows is described as C:\MWSDK.

Once the ZIP archive is extracted, the command line tools necessary for building will be available, but here we will introduce VSCode as a development environment.

Other required installation

Windows

For Windows, the necessary tools are included in the SDK archiv.

macOS

If you get an error when executing make on the command line (bash), install XCode.

$ xcode-select --install

After the installation is complete, type make and if you get the following message, you are good to go.

$ make
make: *** No targets specified and no makefile found.  Stop.

Linux

For 64bit Linux, you need to install a 32bit runtime environment.

$ sudo apt-get install lib32z1

Installing VSCode

You can use VSCode to edit the VSCode source code and invoke make; the build project that comes with TWELITE SDK includes a configuration definition file for working with VSCode.

This support does not deal with inquiries on how to install or use VSCode. Please refer to the information available in the public.

VSCode allows you to do the following

VSCode can be obtained from the link.

https://code.visualstudio.com

Installing plug-ins

To enable Visual Studio Code to interpret C/C++ language descriptions, install the plugin.

The installation procedure is as follows.

Select “View” → “Extensions” from the Visual Studio Code menu bar.
Select “View” → “Extensions” from the Visual Studio Code menu bar.
Type “C/C++” in the search bar and click “C/C++”.
Type “C/C++” in the search bar and click “C/C++”.
Click the Install button shown on the right.
Click the Install button shown on the right.
Click Reload to complete the installation of the plug-in.
Click Reload to complete the installation of the plug-in.