I am studying relativistic quantum mechanics and I have encountered the concept of projective representation for a group.
I have read in http://groupprops.subwiki.org/wiki/Projective_representation that the fact that a projective representation of G cannot be changed into a normal representation (without "up to phase" composition) is related to the second group cohomology of G. (Here I do not mean the second cohomology group, the "topological" one, but this http://groupprops.subwiki.org/wiki/Second_cohomology_group_for_trivial_group_action).
Now, it should be true that both SO(3) and O(3,1) (the homogeneous Lorentz group) admit intrisically projective representations (e.g the usual isomorphism $\ SO(3) = SU(2)/\{Id,-Id\}$, should be the projective representation for SO(3)).
I therefore would like to know how to compute the cohomology groups of SO(3) and O(3,1) to check that they are not trivial. If you have any suggestions for books explaining projective representations they are welcome as well.