Illegal instruction (SIGILL) a runtime
Hi everybody.
I received SIGILL on function convertTo() in this code:
int main()
{
Mat Image = imread("d:\\TIMA\\baboon256.bmp", CV_LOAD_IMAGE_COLOR);
namedWindow( "Original", CV_WINDOW_AUTOSIZE );
imshow( "Original", Image );
Mat ImageF;
Image.convertTo(ImageF,CV_32FC3);
}
I'm using openCV 3.0.0 compiled from sources with GCC 5.2 and i work under Code::Blocks IDE I have compiled openCV with SSE3 and SSE2 enabled . Since I use a very OLD computer may be this the cause? I must recompile all openCV libraries disabling SSE flags in CMake? Or exist another solution. Thank in advance for help and sorry for my very poor english ;-)
Processor is AMD Sempron 2600 + running on XP Sp3 (I will ask Santa Claus for a new PC ;-)
This is a fragment of disassembled output:
. . .
0x00409A49 movl $0x7,-0x288(%ebp)
0x00409A53 mov %eax,%ecx
0x00409A55 call 0x40b7f8 <cv::mat::convertto(cv::_outputarray const&,="" int,="" double,="" double)="" const="">
0x00409A5A sub $0x18,%esp
0x00409A5D lea -0xa8(%ebp),%eax
0x00409A63 mov %eax,%ecx
0x00409A65 call 0x411d94 <cv::_outputarray::~_outputarray()< p="">
. . .
problem signaled at sub instruction following call to function convetTo
Tanks for the interest.
What is your CPU model?