SFML と wxWidget を使用してアプリを作成したいと考えています。ゲームのレベル エディタのようなものなので、SFML のレンダリング部分が必要で、ネイティブ ボタンと統合します。
SFML のサンプルをコンパイルすることができました。また、wxWidget のサンプルをコンパイルすることもできました。しかし、このリンクのチュートリアルに従った後: http://www.sfml-dev.org/tutorials/1.6/graphics-wxwidgets.php、IDE でこれらのエラーが表示されます。
"sf::RenderWindow::OnCreate()", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"sf::RenderWindow::RenderWindow()", referenced from:
wxSFMLCanvas::wxSFMLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long)in wxSFMLCanvas.o
wxSFMLCanvas::wxSFMLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long)in wxSFMLCanvas.o
"sf::RenderWindow::~RenderWindow()", referenced from:
wxSFMLCanvas::~wxSFMLCanvas()in wxSFMLCanvas.o
wxSFMLCanvas::~wxSFMLCanvas()in wxSFMLCanvas.o
wxSFMLCanvas::~wxSFMLCanvas()in wxSFMLCanvas.o
wxSFMLCanvas::wxSFMLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long)in wxSFMLCanvas.o
wxSFMLCanvas::wxSFMLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long)in wxSFMLCanvas.o
"sf::Window::Create(void*, sf::WindowSettings const&)", referenced from:
wxSFMLCanvas::wxSFMLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long)in wxSFMLCanvas.o
wxSFMLCanvas::wxSFMLCanvas(wxWindow*, int, wxPoint const&, wxSize const&, long)in wxSFMLCanvas.o
"non-virtual thunk to sf::RenderWindow::GetHeight() const", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"non-virtual thunk to sf::RenderWindow::GetWidth() const", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"sf::RenderWindow::GetHeight() const", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"typeinfo for sf::RenderWindow", referenced from:
typeinfo for wxSFMLCanvasin wxSFMLCanvas.o
"sf::RenderWindow::Activate(bool)", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"sf::RenderWindow::GetWidth() const", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"sf::Window::Display()", referenced from:
wxSFMLCanvas::OnPaint(wxPaintEvent&) in wxSFMLCanvas.o
"non-virtual thunk to sf::RenderWindow::Activate(bool)", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"sf::Window::OnEvent(sf::Event const&)", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
"sf::RenderTarget::Draw(sf::Drawable const&)", referenced from:
vtable for wxSFMLCanvasin wxSFMLCanvas.o
これらのエラーが何を意味するのかわかりません。それについての経験はありますか?
よろしく
ps: 私は SFML バージョンを使用しています。1.6 および OSX 10.6.8