Ask the person if they are gay or bi, simple.
You have to understand that if the person is neither gay nor bi, just straight... there is nothing you can do, move on with your life and find someone compatible with you. Don't fool yourself into thinking that you'll be able to make a straight man fall in love with you.