I use the ycm for vim recently. Something are fine but I found the relative include path just can be set the path of the .ycm_extrac_conf.py or a fixed absolute
.ycm_extrac_conf.py