Install necessary components with apt:
Download a higher version of CMake:
Fetch repo:
This is a companion discussion topic for the original entry at http://forum.sophgo.com/t/setting-up-the-c-compilation-and-remote-gdb-environment-for-the-first-time-on-duo-cv1800b/347