On 20 January 2011 17:24, Olumide wrote: > > I've also to compile a sample plugin following the instructions here > http://download.autodesk.com/us/maya/2011help/index.html?url=./files/API_Writing_a_simple_plugin.htm,topicNumber=d0e657386 > , but I got the error message: > error: CPU you selected does not support x86-64 instruction set > > I was able to compile and link sample plugin after I removed -mtune=pentium4 > flag. You can't use -mtune=pentium4 when compiling a 64-bit object, which is the default on x86_64. If you want to compile a 32-bit object tuned for pentium4 you should use -m32 -mtune=pentium4