Preparation of hydrocarbons from one or more compounds, none of them being a hydrocarbon from oxides of a carbon