See Example 3.1 in volume 2 of Kobayashi–Nomizu; the first Chern class is represented by $-\frac{1}{2\pi i}K$. Tensor with the Kähler form $m-1$ times and integrate over $X$.