Did you install the libsdlx.x-dev package after creating the project ?
C::B caches the backticked expressions if they are first used.
If you install the appropriate package after the first use of the expressions, you have to close and reopen C::B (not only the project).