directFB 在编译的时候没有错误,接下来编译它所带的例子,编译能通过,运行不了程序

码龙1234 2012-11-24 04:14:58
(!) [ 3251: 0.000] --> Caught signal 11 (at 0x18, invalid address) <--
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]
已放弃

运行的时候老报这个错误,然后程序就自动退出运行了,
printf("--------------screen_width=%d\n",screen_width);
ret = dfb->CreateImageProvider(dfb,"/desktop.png",&provider);
if(ret)
{
printf("image create fail\n");
}
printf("--------------screen_width=%d\n",screen_width);
创建的时候创建失败了。为什么,
...全文
96 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧