*.a files are not copied to remote machine. It's not supported. You can manually add these files to remote machine and change include pathes to use t...