error: taking address of temporary

来源:互联网 发布:linux管道符号的作用 编辑:程序博客网 时间:2024/06/08 08:33


Mat  img;  
  
 IplImage *src;  
 
src=&IplImage(img); //error: taking address of temporary


/////////////////////////////////////

IplImage* iplimg;  


*iplimg = IplImage(matimg);  //OK





阅读全文
0 0
原创粉丝点击