Using template from raylib-cpp-starter Guide from Creating Tetris in C++ with raylib - Beginner Tutorial (OOP) If it's developed using neovim and clangd LSP not detect anything do:
- use bear
- sudo apt-get install bear
- bear -- make
- if some library not found
- sudo apt install g++-12 clang++ cannot find iostream
add this mapping to neovim config to fast run from neovim
function()
local path = vim.fn.getcwd()
local command = path .. '/run.sh'
os.execute(command)
end, 'Run ./run.sh on root project'
I only do this on Ubuntu/Linux Mint
$ make setup
$ make