What does the error "The CPU you selected does not support the x86-64 instruction set" mean?

I installed a cloud point library from ppa on Ubuntu 11.10 x86_64 (including dev packages that are not necessarily relevant for the question, but for the sake of completeness I provide this detail). When I try to compile (make cmake on the makefile created) my own code that uses pcl, I get the CPU error that you selected does not support the x86-64 instruction set . What does this error mean and what should I check to remove the error?

+5
source share
2 answers

This means that you pass a flag gccthat selects a CPU type that does not support 64 bits. For example, perhaps you are using a type flag -march=prescottor similar. What does your compilation line look like? Some useful flag information is provided in the Gentoo (where else?) Wiki: http://en.gentoo-wiki.com/wiki/Safe_Cflags/Intel

+5
source

Do you work on a 64-bit machine?

it looks like the software is for 64-bit machines and you have a 32-bit processor.

+1
source

All Articles