altseed / Altseed

Other
40 stars 12 forks source link

Macで発生するエラーについて #182

Open numanicloud opened 8 years ago

numanicloud commented 8 years ago

NumAniCloudの手元のMac環境でコンパイルしたAltseedを使用したアプリケーションが、警告を多く吐いたのちエラーで落ちる問題を解決したいと思います。エラーの内容の一部を載せます:

[ RUN      ] Graphics.TextObject2D_Dynamic_GL
Standard Tex: Shader Link error.
WARNING: Output of vertex shader 'vaPos' not read by fragment shader
WARNING: Output of vertex shader 'vaPosU' not read by fragment shader
WARNING: Output of vertex shader 'vaPosR' not read by fragment shader
Standard NoTex: Shader Link error.
WARNING: Output of vertex shader 'vaPos' not read by fragment shader
WARNING: Output of vertex shader 'vaPosU' not read by fragment shader
WARNING: Output of vertex shader 'vaPosR' not read by fragment shader
WARNING: Output of vertex shader 'vaTexCoord' not read by fragment shader
Standard Distortion NoTex: Shader Link error.
WARNING: Output of vertex shader 'vaTexCoord' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_TexCoord' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_TexCoord' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_Normal' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_TexCoord' not read by fragment shader
WARNING: Output of vertex shader 'v_Normal' not read by fragment shader
Standard Tex: Shader Link error.
WARNING: Output of vertex shader 'vaPos' not read by fragment shader
WARNING: Output of vertex shader 'vaPosU' not read by fragment shader
WARNING: Output of vertex shader 'vaPosR' not read by fragment shader
Standard NoTex: Shader Link error.
WARNING: Output of vertex shader 'vaPos' not read by fragment shader
WARNING: Output of vertex shader 'vaPosU' not read by fragment shader
WARNING: Output of vertex shader 'vaPosR' not read by fragment shader
WARNING: Output of vertex shader 'vaTexCoord' not read by fragment shader
Standard Distortion NoTex: Shader Link error.
WARNING: Output of vertex shader 'vaTexCoord' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_TexCoord' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_TexCoord' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_Normal' not read by fragment shader
ModelRenderer: Shader Link error.
WARNING: Output of vertex shader 'v_TexCoord' not read by fragment shader
WARNING: Output of vertex shader 'v_Normal' not read by fragment shader
Segmentation fault: 11

ここに載せていない部分は、これと同じ警告が出ているもののSegmentation faultは起きず正常終了するテストの出力です。

numanicloud commented 8 years ago

エラーはTextObject2D_Dynamicのテストで不正なフォント名を使っていたのが原因でした。警告の方はまだ不明です。