You can still have chemistry on screen without getting on with the person. But it just makes your job a lot easier if you don't have to gird your loins, if that's not quite the right phrase, every time you're going to do a scene with that person.
I like to match what I wear to my book jacket - it's a little bit cheesy, but it's my thing.