I know two definitions of an orientation of a smooth n-manifold $M$:
1) A continuous pointwise orientation for $M$.
2) A continuous choice of generators for the groups $H_n(M,M-\{x\})=\mathbb{Z}$.
Why are these two definitions equivalent? In other words, why is a choice of basis of $\mathbb{R}^n$ equivalent to a choice of generator of $H_n(\mathbb{R}^n,\mathbb{R}^n-\{0\})=\mathbb{Z}$?
See comments for precise definitions.
Thanks!
Observe that in (1) there is no difference between using tangent and cotangent bundle, and in (2) one can use $H^n$ instead of $H_n$.
Now, the equivalence becomes especially clear if in (2) one uses de Rham cohomology (instead of, say, singular).
Indeed, (1) is just existence of a (non-vanishing) section $\omega$ for $\Lambda^{top} T^*M$. So $\omega$ is a differential form, and for any $x\in U$ one can take a function $f_U$ that is 1 near $x$ and 0 outside of $U$ — and $\omega\cdot f_U$ is a generator of $H^n_{dR,c}(U)=H^n(M,M-\{x\})$. And using partitions of unit it's not hard to go in the opposite direction (i.e. reconstruct $\omega$ from local orientations).