Odour is the result of the compound vaporising, or at least being a gas, so that your olfactory system is capable of detecting it. If a compound is not so volatile that it vaporises at room temperature, it will not give off an odour.Compounds like methane, benzene etc. that possess covalent bonds are volatile at room temperature hence, gives off smell.