I just started exploring with SDL 2 recently and downloaded libstl2-dev
on Linux (I'm using Mint, if that matters).
However, when I include the header #include <SDL2/SDL.h>
, vim keeps telling me an error In included file: 'begin_code.h' file not [clang: pp_file_not_found]
, note that I'm using coc with vim.
I've done some research but I couldn't fix the problem. In particular, I noticed this post, but the question was on VS code and I'm not sure how to apply this to vim.
Below is a part of my code.
#include "board.h"
#include <iostream>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_timer.h>
void Board::help_init();