Ruiming Tian - 2017-02-13

I had problems trying to follow these steps:
My CMAKE_TOOLCHAIN_FILE looks like this:

set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
set(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

The command I use is:
/usr/local/bin/cmake-3.6.3/cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake -DDEFAULT_NO_DEVICES=ON -DPLD_svg=ON -DPKG_CONFIG_EXECUTABLE=Not-Found ../pplot

The cmake filed with errors:
fatal error: termios.h: No such file or directory
fatal error: crt_externs.h: No such file or directory
fatal error: sys/wait.h: No such file or directory
error: ld returned 1 exit status

Can you help?

Thanks