No you didn't. If you don't install kodi-dev-git when you install kodi-git, it won't be installed. You explicately need to install BOTH at the same time. So just reinstall kodi-git while also installing kodi-git-dev.
A helper like Yaourt would probably take care of this.
Pinned Comments
graysky commented on 2022-06-11 11:49 (UTC)
@laichiaheng - kodi is bound to a specific version of ffmpeg which is generally older than Arch's package. We avoid incompatibilities by using that specific version (ie internal ffmpeg). Recommend that you build kodi in clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.