Install TWELITE SDK (MWSDK)

TWELITE STAGE (MWSDK2020-04 or later)

TWELITE STAGE (MWSDK2020-04 or later) extracts the distribution zip archive to a directory 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:
  • Windows7, Windows10
  • Linux Ubuntu 16.04 TLS(32bit), 18.04 TLS(64bit)
  • macOS High Sierra 10.13.4
To install the TWELITE SDK, follow the steps below.
  1. 1.
    Extracting a ZIP archive
  2. 2.
    Install VSCode

Extracting a ZIP archive

Extract the TWELITE SDK archive.
Avoid the following directories.
  • deep directory
  • Directories that contain Japanese names or spaces
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
OS X
Linux
For Windows, the necessary tools are included in the SDK archiv.
If you get an error when executing make on the command line (bash), install XCode.
1
$ xcode-select --install
Copied!
After the installation is complete, type make and if you get the following message, you are good to go.
1
$ make
2
make: *** No targets specified and no makefile found. Stop.
Copied!
For 64bit Linux, you need to install a 32bit runtime environment.
1
$ sudo apt-get install lib32z1
Copied!
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
  • Editing the source code
  • Connection to GIT (for customers who perform their own source control on GIT)
  • intellisense based on source code interpretation (*not all definitions are guaranteed to be interpreted correctly)
  • Task definition for calling make to do the build
VSCode can be obtained from the link.
https://code.visualstudio.com
code.visualstudio.com

Installing plug-ins

To enable Visual Studio Code to interpret C/C++ language descriptions, install the plugin.
  • C/C++ for Visual Studio Code
The installation procedure is as follows.
Select "View" → "Extensions" from the Visual Studio Code menu bar.
Type "C/C++" in the search bar and click "C/C++".
Click the Install button shown on the right.
Click Reload to complete the installation of the plug-in.