Hello,
You just need to delete all the files associated with COSP in the
directory where you downloaded and built COSP. You will also need to
delete the executable, if you copied it to a different location.
This will only remove COSP, not the libraries that it depends on.
Regards,
Alejandro