Failed to Create an Acceleration Library Project Offline in the Development Assistant
Symptom
The Kunpeng DevKit is deployed on a Kunpeng server disconnected from the Internet, and the VS Code and the Kunpeng DevKit plugin are installed on a PC disconnected from the Internet. However, the source code cannot be downloaded when using the Development Assistant to create a GZIP acceleration library project. A message is displayed indicating that the target server does not support an SDK installation.
Possible Causes
- The project file cannot be downloaded when the server is not connected to the Internet.
- If the target server does not support an SDK installation, the OS of the target server is not on the list of OSs supported by general-purpose computing application projects.
Troubleshooting Procedure
If the Kunpeng server and local PC are not connected to the Internet, you cannot download the project source code, deploy the SDK, or perform subsequent operations.
If the Kunpeng server is not connected to the Internet but the local PC is, perform the following operations:
- Download the project source code and the SDK installation package.Figure 1 Download
- After downloading the SDK installation package, deploy the SDK offline.Figure 2 Deploying the SDK
The target server on which you want to deploy the SDK must run CentOS 7.6, openEuler 20.03 LTS, openEuler 20.03 LTS SP1, or Ubuntu 18.04.1 LTS.
- Use the Compiler and Debugger tool to compile, run, and debug the project source code. For details, see the README file in the project folder or visit https://github.com/kunpengcompute/devkitdemo/tree/main/Development_framework/gpc-sdk/examples/gzip.