d2mcpp
d2mcpp copied to clipboard
D2X | Modern C++ Core Language Features - "A C++ tutorial project focused on practical"
- 任务要求及规范见 #13 - 任务成果 - 添加新章节: `book/src/cpp11/15-xxx-xxx.md` - 修改目录: `book/src/SUMMARY.md` - 新建练习代码: `dslings/cpp11/15-xxx-xxx-x.cpp` - 配置: `dslings/cpp11/xmake.lua` - 参考: https://cppreference.com/w/cpp/language/parameter_pack.html
`PS E:\Project> xlings install d2x:mcpp-standard [xlings:xim]: package not found - d2x:mcpp-standard Did you mean one of these? { } [xlings:xim]: please check the name and try again PS E:\Project>`
使用nvim打开项目clangd(LSP)会识别不到各种头文件,然后我使用xmake project -k compile_commands会报错
- 任务要求及规范见 #13 - 任务成果 - 添加新章节: `book/src/cpp11/14-type-alias.md` - 修改目录: `book/src/SUMMARY.md` - 新建练习代码: `dslings/cpp11/14-type-alias-x.cpp` - 配置: `dslings/cpp11/xmake.lua`
你好,作者 👋 我在 GitHub Codespaces 上尝试运行这个项目,经过一些依赖安装之后,可以顺利执行 xlings checker 和 README 中的步骤。 我做了什么 在 GitHub 上直接创建了一个 Codespace 安装缺失的依赖(例如 libncursesw6 / libtinfo6) 成功完成了项目的基础运行和测试 为什么有帮助 让新贡献者无需本地配置环境,直接在云端就能上手 开发环境统一,不会因为操作系统不同而出现差异 对于新手或想快速体验项目的人来说非常友好 建议 在仓库中添加 .devcontainer/devcontainer.json,写明需要的依赖 在 README...
执行:xlings checker 报错如下: clear: error while loading shared libraries: libtinfow.so.6: cannot open shared object file: No such file or directory error: exec(clear) failed(127) 谢谢了
xlings配置成功: 运行xlings install 报错:
通过打印`__cplusplus`的值,我发现标准是c++11,如何指定本地编译链,指定 c++标准? 我知道xling依赖了xmake,应该有便捷入口调整