Ask Your Question

Revision history [back]

I think Haswell support was added in gcc 4.7. I suppose you are using Ubuntu 12.04. I know 2 solutions:

1) You can update gcc: You can add a PPA (https://launchpad.net/~ubuntu-toolchain-r/+archive/test) and update to 4.7 or 4.8. I'm using this PPA with Ubuntu 12.04, gcc 4.7, i7-4770 and PCL/KinFu.

2) You can use compiler flags to specify the architecture (e.g. "-march=corei7"). This should work, but it maybe not allows to use the full potential of the CPU.