iOs中的“非虚拟thunk to ....”错误

时间:2012-07-25 09:25:18

标签: iphone gcc linker thunk

在我的iPhone应用程序中,我收到以下错误:

"non-virtual thunk to metaio::UnifeyeMobileiPhone::UnifeyeMobileiPhone()"

并且发生错误的地点是:

- (void)dealloc
{
    // Tear down context.
    if ([EAGLContext currentContext] == context)
        [EAGLContext setCurrentContext:nil];

    // delete unifeye instance
    if( unifeyeMobile )
    {
        delete unifeyeMobile; //here got the error
        unifeyeMobile = NULL;
    }

    [context release];

    [glView release];
    [super dealloc];
}

我用谷歌搜索了这个问题的解决方案,我在这个link中得到了一些东西。并且它说这个错误是一个“编译器错误”。我已将Debug模式更改为Release并进行了测试,但仍然存在问题。任何的想法?我只在iPhone 4S上遇到这个问题。在iPhone 3GS上运行正常。

0 个答案:

没有答案