1 | sudo apt-get update |
1 | whereis g++ |
(1) WSL
(2) C/C++
(3) Modern Fortran (or fortran)
(4) Fortran Breakpoint Support
(1) launch.json
1 | { |
(2) tasks.json
1 | { |
(1) 如果单步debug报类似错误:
Unable to write file ‘vscode-remote://wsl+ubuntu-18.04/build/glibc-OTsEL5/glibc-2.27/csu/libc-start.c’ (NoPermissions (FileSystemError): Error: ACCESS: permission denied, open…解决:
1 | $sudo mkdir -p /build/glibc-OTsEL5 |
(2) 如果报错:
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (/build/glibc-OTsEL5/glibc-2.27/csu/libc-start.c).
解决:
新增c_cpp_properties.json文件,内容如下,其中”/usr/include”是手动添加的。
1 | { |
歌手:刘珂矣 作曲 : 百慕三石 作词 : 清瑢
轻 不轻 水深则流缓
昧 不昧 无愧心得安
路上有多长 修行有多远
花叶融一钵 香积云外天
难 不难 心静菩提现
苦 不苦 放下皆尘烟
慈悲着福慧 微笑着良善
百年后依旧 开那一朵莲
如是 茶一盏
如是 素琴弹
当时不杂 过时不恋
浅墨入画 岁月入禅
如是 茶一盏
如是 素琴弹
来时不忙 去时不慌
长歌一曲 春色人间