2013-01-24 23 views
1

我想创建一个使用SFML和wxWidget的应用程序。因为它是一种游戏的关卡编辑器,所以我需要SFML的渲染部分并将其与本机按钮集成在一起集成SFML和wxWidget的错误

我能够编译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 

我不知道这些错误是什么意思。你有什么经验吗?

Regards

p.s:I uve SFML ver。 1.6和OSX 10.6.8

回答

1

不幸的是我删除了我的框架文件夹后,我恢复它的错误不见了