Ios iphone sdl向量类型与x27之间的转换无效__m64和x27;

Ios iphone sdl向量类型与x27之间的转换无效__m64和x27;,ios,c,iphone,xcode,sdl,Ios,C,Iphone,Xcode,Sdl,我正在尝试在我的iphone 6上运行此代码。代码为emulator构建得很好,但为物理iphone构建的代码有错误 文件mmintrin.h中出错: static __inline__ __m64 __DEFAULT_FN_ATTRS _mm_cvtsi32_si64(int __i) { return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); } 我的部分代码(从SDL/Xcode iOS/Template/SDL iOS Appl

我正在尝试在我的iphone 6上运行此代码。代码为emulator构建得很好,但为物理iphone构建的代码有错误

文件mmintrin.h中出错:

static __inline__ __m64 __DEFAULT_FN_ATTRS
_mm_cvtsi32_si64(int __i)
{
    return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
}
我的部分代码(从SDL/Xcode iOS/Template/SDL iOS Application/复制):

和工作模拟器:


我使用SDL2-2.0.9/build-scripts/iosbuild.sh构建SDL,就像在SDL2-2.0.9/docs/README-ios.md中一样(它对我不起作用)


它开始工作了,当我只使用Xcode按照指令step by step()重新生成所有代码时。

请显示代码。
done = 0;
while (!done)
{
    while (SDL_PollEvent(&event))
    {
        if (event.type == SDL_QUIT)
        {
            done = 1;
        }
    }

    SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
    SDL_RenderClear(renderer);

    growTree(tree, depth, length_div, angle_div, grow_speed, time);

    drawTree(renderer, tree, TREE_POS_X, TREE_POS_Y);

    SDL_RenderPresent(renderer);

    SDL_Delay(1);
}

// shutdown SDL 
SDL_Quit();