https://github.com/antlafarge/cpp-tools
JSON, Base64, UUID, Concurrent resources access
https://github.com/antlafarge/cpp-tools
Last synced: 2 months ago
JSON representation
JSON, Base64, UUID, Concurrent resources access
- Host: GitHub
- URL: https://github.com/antlafarge/cpp-tools
- Owner: antlafarge
- Created: 2022-10-07T04:26:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T05:26:56.000Z (8 months ago)
- Last Synced: 2024-12-27T12:27:43.452Z (4 months ago)
- Language: C++
- Homepage:
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpp-tools
Set of cpp tools
## Sub-Projects
- [Base64](https://github.com/antlafarge/cpp-tools/tree/main/Base64)
- [ConcurrentResource](https://github.com/antlafarge/cpp-tools/tree/main/Concurrent)
- [UUID](https://github.com/antlafarge/cpp-tools/tree/main/UUID)
- [JSON](https://github.com/antlafarge/cpp-tools/tree/main/JSON)## Visual studio code C++ installation
https://code.visualstudio.com/docs/cpp/config-mingw
- Download and install [MSYS2](https://www.msys2.org/)
- In MSYS2 command shell :
- Run `pacman -Syu`
- restart MSYS2 from `"C:\msys64\msys2.exe"`
- Re-run `pacman -Syu`
- Run `pacman -S --needed base-devel mingw-w64-x86_64-toolchain`
- Add `C:\msys64\mingw64\bin` to your PATH environment variable
- Restart shells
- Test
- `g++ --version`
- `gdb --version`## WSL 2
- Run `wsl --install -d Ubuntu` in powershell (elevated)
- Reboot Windows
- Fill in Ubuntu credentials
- Full update Ubuntu `sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y`
- Install g++ `sudo apt install g++ -y`
- Install g++ (for ppc64) `sudo apt install g++-powerpc64-linux-gnu qemu-user -y`
- Test
- `g++ --version`
- `powerpc64-linux-gnu-g++ --version`### Default G++ STD version
`g++ -dM -E -x c++ /dev/null | grep -F __cplusplus`