2013-01-24 1 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 

이러한 오류의 의미를 전혀 알지 못합니다. 그것에 대해 어떤 경험이 있습니까?

감사합니다.

p.s : 저는 SFML 버전입니다. 1.6 및 OSX 10.6.8

답변

1

불행히도 내가 복원 한 후에 프레임 워크 폴더를 삭제했습니다. 오류가 사라졌습니다.