Weathering
Carbonates can be formed as a result of the weathering of calcium-bearing minerals such as:
By alteration of the feldspars
In these two images of alteration of plagioclase to carbonates in granitic rocks:
By alteration of the gypsum
In these two microscopic fields it is shown how the alteration of the gypsum produces carbonates in some gypsum marls: