ホーム » Xcode » iPhone 3D – 5

2014年3月
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

カテゴリー

アーカイブ

ブログ統計情報

  • 77,356 アクセス



iPhone 3D – 5

110 ページまでやってのエラー.
/…/S_Wire/ApplicationEngine.cpp:57:14: Assigning to ‘ISurface *’ from incompatible type ‘Cone *’

/…/S_Wire/ApplicationEngine.cpp:62:14: Assigning to ‘ISurface *’ from incompatible type ‘MobiusStrip *’
  ParametricSurface.hpp の ParametricSurface の定義で public ISurface が抜けていた.


ApplicationEngine.cpp::: Reference to type ‘const std::vector’ could not bind to an rvalue of type ‘Visual *’
  どうも,107 ページで与えているのが Visual になってるが,vector<Visual> となる様に変更.
  void ApplicationEngine::Render () const {
    vector<Visual> visuals ;
    Visual visual ;
    visual.Color = m_Spinning ? vec3(1,1,1) : vec3(0,1,1) ;
    visual.LowerLeft = ivec2(0,48) ;
    visual.ViewportSize = ivec2(320,432) ;
    visual.Orientation = m_Orientation ;
  // m_RenderingEngine->Render(&visual) ;
    visuals.push_back(visual) ;
    m_RenderingEngine->Render(visuals) ;
  }


今度はリンクエラー   “ES1::CreateRenderingEngine()”, referenced from:
これは,タイプミス.e が抜けている.
IRenderingEngine* CreateRenderingEngine () {
return new RenderingEngine() ;
}

Is this 投稿 useful? Useful Useless 0 of 0 people say this 投稿 is useful.

コメントする

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

%d人のブロガーが「いいね」をつけました。