Always check for missing dependencies before building:

rosdep install -i --from-path src --rosdistro humble -y