我用g++ -version查看g++版本,显示没有安装;然后我去安装g++显示已经安装了
root@node4:/storage/LHY/Pytorch-Correlation-extension-master# g++ --version
Command 'g++' not found, but can be installed with:
apt install g++
root@node4:/storage/LHY/Pytorch-Correlation-extension-master# apt install g++
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version (4:7.4.0-1ubuntu2.3).
The following packages were automatically installed and are no longer required:
fonts-crosextra-caladea fonts-crosextra-carlito fonts-dejavu fonts-linuxlibertine fonts-sil-gentium fonts-sil-gentium-basic gstreamer1.0-gtk3
lib32gcc1 libapache-pom-java libbsh-java libcommons-logging-java libcommons-parent-java libel-api-java libhsqldb1.8.0-java libjsp-api-java libllvm7
libservlet-api-java libservlet3.1-java libwebsocket-api-java
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 486 not upgraded.
root@node4:/storage/LHY/Pytorch-Correlation-extension-master#