Ogre3d Problem



  • Hallo,
    ich hab mir mal Ogre gezogen und wollte es eigentlich mal ausprobieren.
    Ich verwende MS Visual C++ 2008. Ich habe auch schon alle include verzeichnisse hinzugefügt.
    Wenn ich das Programm ausführe kommen sehr viele Fehler. Ich habe dann mal manuell ein paar libs und dlls dazu gefügt. Ich kann da auch viele hinzufügen aber OGRE.dll findet er nie auch wenn ichs in die Resourcen werf. Nun das müsste doch auch ohne den ganzen aufwand gehen oder?
    ich habe auch schon bei den VC++-Verzeichnissen und dann Bibliotheken die Pfade hinzugefügt. Aber das ändert nichts.
    Was soll ich machen?
    PS: Wenn ihr den Quellcode noch wollt:

    #include "ExampleApplication.h"
    
    class TutorialApplication : public ExampleApplication
    {
    protected:
    public:
        TutorialApplication()
        {
        }
    
        ~TutorialApplication() 
        {
        }
    protected:
        void createScene(void)
        {
        }
    };
    
    #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    #define WIN32_LEAN_AND_MEAN
    #include "windows.h"
    
    INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
    #else
    int main(int argc, char **argv)
    #endif
    {
        // Create application object
        TutorialApplication app;
    
        try {
            app.go();
        } catch( Exception& e ) {
    #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 
            MessageBoxA( NULL, e.what(), "An exception has occured!", MB_OK |   MB_ICONERROR  | MB_TASKMODAL);
    #else
            fprintf(stderr, "An exception has occurred: %s\n",
                    e.what());
    #endif
        }
    
        return 0;
    }
    

    Gruss

    Lukas



  • Hier sind noch die fehler meldungen wenn ich keine Libs und dlls dazu gefügt habe:
    1>------ Erstellen gestartet: Projekt: Ogretest, Konfiguration: Debug Win32 ------
    1>Verknüpfen...
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::Root::startRendering(void)" (__imp_?startRendering@Root@Ogre@@QAEXXZ)" in Funktion ""public: virtual void _thiscall ExampleApplication::go(void)" (?go@ExampleApplication@@UAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void __cdecl Ogre::AllocatedObject<class Ogre::CategorisedAllocPolicy<0> >::operator delete(void *)" (__imp_??3?AllocatedObject@V?AllocatedObject@V?CategorisedAllocPolicy@0A@@Ogre@@@Ogre@@SAXPAX@Z)"inFunktion"__unwindfunclet0A@@Ogre@@@Ogre@@SAXPAX@Z)" in Funktion "\_\_unwindfunclet?setup@ExampleApplication@@MAE_NXZ0". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static class Ogre::TextureManager & \_\_cdecl Ogre::TextureManager::getSingleton(void)" (\_\_imp\_?getSingleton@TextureManager@Ogre@@SAAAV12@XZ)" in Funktion ""protected: virtual bool \_\_thiscall ExampleApplication::setup(void)" (?setup@ExampleApplication@@MAE\_NXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: \_\_thiscall Ogre::Root::Root(class std::basic\_string,class std::allocator > const &,class std::basic\_string,class std::allocator > const &,class std::basic\_string,class std::allocator > const &)" (\_\_imp\_??0Root@Ogre@@QAE@ABV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@00@Z)" in Funktion ""protected: virtual bool __thiscall ExampleApplication::setup(void)" (?setup@ExampleApplication@@MAE_NXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void * __cdecl Ogre::AllocatedObject<class Ogre::CategorisedAllocPolicy<0> >::operator new(unsigned int)" (__imp_??2?AllocatedObject@V?AllocatedObject@V?CategorisedAllocPolicy@0A@@Ogre@@@Ogre@@SAPAXI@Z)" in Funktion ""protected: virtual bool \_\_thiscall ExampleApplication::setup(void)" (?setup@ExampleApplication@@MAE\_NXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: class Ogre::RenderWindow * \_\_thiscall Ogre::Root::initialise(bool,class std::basic\_string,class std::allocator > const &,class std::basic\_string,class std::allocator > const &)" (\_\_imp\_?initialise@Root@Ogre@@QAEPAVRenderWindow@2@\_NABV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@1@Z)" in Funktion ""protected: virtual bool __thiscall ExampleApplication::configure(void)" (?configure@ExampleApplication@@MAE_NXZ)".
    1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const Ogre::StringUtil::BLANK" (__imp
    ?BLANK@StringUtil@Ogre@@2V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@B)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: bool \_\_thiscall Ogre::Root::showConfigDialog(void)" (\_\_imp\_?showConfigDialog@Root@Ogre@@QAE\_NXZ)" in Funktion ""protected: virtual bool \_\_thiscall ExampleApplication::configure(void)" (?configure@ExampleApplication@@MAE_NXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: class Ogre::SceneManager * \_\_thiscall Ogre::Root::createSceneManager(unsigned short,class std::basic\_string,class std::allocator > const &)" (\_\_imp\_?createSceneManager@Root@Ogre@@QAEPAVSceneManager@2@GABV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::chooseSceneManager(void)" (?chooseSceneManager@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::Camera::lookAt(class Ogre::Vector3 const &)" (__imp_?lookAt@Camera@Ogre@@QAEXABVVector3@2@@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createCamera(void)" (?createCamera@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::Camera::setPosition(class Ogre::Vector3 const &)" (__imp_?setPosition@Camera@Ogre@@QAEXABVVector3@2@@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createCamera(void)" (?createCamera@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(float,float,float)" (__imp_??0Vector3@Ogre@@QAE@MMM@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createCamera(void)" (?createCamera@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::Root::addFrameListener(class Ogre::FrameListener *)" (__imp_?addFrameListener@Root@Ogre@@QAEXPAVFrameListener@2@@Z)" in Funktion ""protected: virtual void _thiscall ExampleApplication::createFrameListener(void)" (?createFrameListener@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall Ogre::WindowEventListener::~WindowEventListener(void)" (__imp_??1WindowEventListener@Ogre@@UAE@XZ)" in Funktion "__unwindfunclet$??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z2". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: virtual \_\_thiscall Ogre::FrameListener::~FrameListener(void)" (\_\_imp\_??1FrameListener@Ogre@@UAE@XZ)" in Funktion "\_\_unwindfunclet??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z2". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static void \_\_cdecl Ogre::WindowEventUtilities::addWindowEventListener(class Ogre::RenderWindow *,class Ogre::WindowEventListener *)" (\_\_imp\_?addWindowEventListener@WindowEventUtilities@Ogre@@SAXPAVRenderWindow@2@PAVWindowEventListener@2@@Z)" in Funktion "\_\_catch??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z0". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static class OIS::InputManager * \_\_cdecl OIS::InputManager::createInputSystem(class std::multimap,class std::allocator >,class std::basic\_string,class std::allocator >,struct std::less,class std::allocator > >,class std::allocator,class std::allocator > const ,class std::basic\_string,class std::allocator > > > > &)" (\_\_imp\_?createInputSystem@InputManager@OIS@@SAPAV12@AAV?multimap@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@V12@U?allocator@D@2@@std@@V12@U?less@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@@2@V?allocator@D@2@@std@@@2@V?allocator@U?pair@pair@CBV?CBV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@V12@@std@@@2@@std@@@Z)" in Funktion ""public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::LogManager::logMessage(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Ogre::LogMessageLevel,bool)" (__imp_?logMessage@LogManager@Ogre@@QAEXABV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@W4LogMessageLevel@2@\_N@Z)" in Funktion ""public: \_\_thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static class Ogre::LogManager * \_\_cdecl Ogre::LogManager::getSingletonPtr(void)" (\_\_imp\_?getSingletonPtr@LogManager@Ogre@@SAPAV12@XZ)" in Funktion ""public: \_\_thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@\_N22@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: class Ogre::Overlay * \_\_thiscall Ogre::OverlayManager::getByName(class std::basic\_string,class std::allocator > const &)" (\_\_imp\_?getByName@OverlayManager@Ogre@@QAEPAVOverlay@2@ABV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@@Z)" in Funktion ""public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class Ogre::OverlayManager & __cdecl Ogre::OverlayManager::getSingleton(void)" (__imp_?getSingleton@OverlayManager@Ogre@@SAAAV12@XZ)" in Funktion ""public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z)".
    1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class Ogre::Vector3 const Ogre::Vector3::ZERO" (__imp
    ?ZERO@Vector3@Ogre@@2V12@B)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Ogre::WindowEventListener::WindowEventListener(void)" (__imp_??0WindowEventListener@Ogre@@QAE@XZ)" in Funktion ""public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Ogre::FrameListener::FrameListener(void)" (__imp_??0FrameListener@Ogre@@QAE@XZ)" in Funktion ""public: __thiscall ExampleFrameListener::ExampleFrameListener(class Ogre::RenderWindow *,class Ogre::Camera *,bool,bool,bool)" (??0ExampleFrameListener@@QAE@PAVRenderWindow@Ogre@@PAVCamera@2@_N22@Z)".
    1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual bool __thiscall Ogre::FrameListener::frameStarted(struct Ogre::FrameEvent const &)" (?frameStarted@FrameListener@Ogre@@UAE_NABUFrameEvent@2@@Z)".
    1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __thiscall Ogre::WindowEventListener::windowMoved(class Ogre::RenderWindow *)" (?windowMoved@WindowEventListener@Ogre@@UAEXPAVRenderWindow@2@@Z)".
    1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual bool __thiscall Ogre::WindowEventListener::windowClosing(class Ogre::RenderWindow *)" (?windowClosing@WindowEventListener@Ogre@@UAE_NPAVRenderWindow@2@@Z)".
    1>main.obj : error LNK2001: Nicht aufgelöstes externes Symbol ""public: virtual void __thiscall Ogre::WindowEventListener::windowFocusChange(class Ogre::RenderWindow *)" (?windowFocusChange@WindowEventListener@Ogre@@UAEXPAVRenderWindow@2@@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Ogre::StringConverter::toString(unsigned int,unsigned short,char,int)" (__imp_?toString@StringConverter@Ogre@@SA?AV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@IGDH@Z)" in Funktion ""protected: virtual void __thiscall ExampleFrameListener::updateStats(void)" (?updateStats@ExampleFrameListener@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static class std::basic\_string,class std::allocator > \_\_cdecl Ogre::StringConverter::toString(unsigned long,unsigned short,char,int)" (\_\_imp\_?toString@StringConverter@Ogre@@SA?AV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@KGDH@Z)" in Funktion ""protected: virtual void __thiscall ExampleFrameListener::updateStats(void)" (?updateStats@ExampleFrameListener@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Ogre::StringConverter::toString(float,unsigned short,unsigned short,char,int)" (__imp_?toString@StringConverter@Ogre@@SA?AV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@MGGDH@Z)" in Funktion ""protected: virtual void __thiscall ExampleFrameListener::updateStats(void)" (?updateStats@ExampleFrameListener@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: class Ogre::OverlayElement * \_\_thiscall Ogre::OverlayManager::getOverlayElement(class std::basic\_string,class std::allocator > const &,bool)" (\_\_imp\_?getOverlayElement@OverlayManager@Ogre@@QAEPAVOverlayElement@2@ABV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@_N@Z)" in Funktion ""protected: virtual void __thiscall ExampleFrameListener::updateStats(void)" (?updateStats@ExampleFrameListener@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: struct OIS::MouseState const & __thiscall OIS::Mouse::getMouseState(void)const " (__imp_?getMouseState@Mouse@OIS@@QBEABUMouseState@2@XZ)" in Funktion ""public: virtual void __thiscall ExampleFrameListener::windowResized(class Ogre::RenderWindow *)" (?windowResized@ExampleFrameListener@@UAEXPAVRenderWindow@Ogre@@@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static void __cdecl OIS::InputManager::destroyInputSystem(class OIS::InputManager *)" (__imp_?destroyInputSystem@InputManager@OIS@@SAXPAV12@@Z)" in Funktion ""public: virtual void __thiscall ExampleFrameListener::windowClosed(class Ogre::RenderWindow *)" (?windowClosed@ExampleFrameListener@@UAEXPAVRenderWindow@Ogre@@@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Ogre::StringConverter::toString(class Ogre::Vector3 const &)" (__imp_?toString@StringConverter@Ogre@@SA?AV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@ABVVector3@2@@Z)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: class Ogre::Vector3 const & \_\_thiscall Ogre::Camera::getDerivedPosition(void)const " (\_\_imp\_?getDerivedPosition@Camera@Ogre@@QBEABVVector3@2@XZ)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static class std::basic\_string,class std::allocator > \_\_cdecl Ogre::StringConverter::toString(class Ogre::Quaternion const &)" (\_\_imp\_?toString@StringConverter@Ogre@@SA?AV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@ABVQuaternion@2@@Z)" in Funktion ""public: virtual bool __thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE_NABUFrameEvent@Ogre@@@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class Ogre::Quaternion const & __thiscall Ogre::Camera::getDerivedOrientation(void)const " (__imp_?getDerivedOrientation@Camera@Ogre@@QBEABVQuaternion@2@XZ)" in Funktion ""public: virtual bool __thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE_NABUFrameEvent@Ogre@@@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::Camera::setPolygonMode(enum Ogre::PolygonMode)" (__imp_?setPolygonMode@Camera@Ogre@@QAEXW4PolygonMode@2@@Z)" in Funktion ""public: virtual bool __thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE_NABUFrameEvent@Ogre@@@Z)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::RenderTarget::writeContentsToFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?writeContentsToFile@RenderTarget@Ogre@@QAEXABV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@@Z)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::MaterialManager::setDefaultAnisotropy(unsigned int)" (\_\_imp\_?setDefaultAnisotropy@MaterialManager@Ogre@@QAEXI@Z)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static class Ogre::MaterialManager & \_\_cdecl Ogre::MaterialManager::getSingleton(void)" (\_\_imp\_?getSingleton@MaterialManager@Ogre@@SAAAV12@XZ)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::Camera::yaw(class Ogre::Radian const &)" (\_\_imp\_?yaw@Camera@Ogre@@QAEXABVRadian@2@@Z)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedKeyInput(struct Ogre::FrameEvent const &)" (?processUnbufferedKeyInput@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static float \_\_cdecl Ogre::Math::DegreesToRadians(float)" (\_\_imp\_?DegreesToRadians@Math@Ogre@@SAMM@Z)" in Funktion ""public: float __thiscall Ogre::Degree::valueRadians(void)const " (?valueRadians@Degree@Ogre@@QBEMXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: bool \_\_thiscall OIS::MouseState::buttonDown(enum OIS::MouseButtonID)const " (\_\_imp\_?buttonDown@MouseState@OIS@@QBE\_NW4MouseButtonID@2@@Z)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::processUnbufferedMouseInput(struct Ogre::FrameEvent const &)" (?processUnbufferedMouseInput@ExampleFrameListener@@UAE_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::Camera::moveRelative(class Ogre::Vector3 const &)" (\_\_imp\_?moveRelative@Camera@Ogre@@QAEXABVVector3@2@@Z)" in Funktion ""public: virtual void __thiscall ExampleFrameListener::moveCamera(void)" (?moveCamera@ExampleFrameListener@@UAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::Camera::pitch(class Ogre::Radian const &)" (\_\_imp\_?pitch@Camera@Ogre@@QAEXABVRadian@2@@Z)" in Funktion ""public: virtual void __thiscall ExampleFrameListener::moveCamera(void)" (?moveCamera@ExampleFrameListener@@UAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::Overlay::hide(void)" (\_\_imp\_?hide@Overlay@Ogre@@QAEXXZ)" in Funktion ""public: virtual void \_\_thiscall ExampleFrameListener::showDebugOverlay(bool)" (?showDebugOverlay@ExampleFrameListener@@UAEX\_N@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::Overlay::show(void)" (\_\_imp\_?show@Overlay@Ogre@@QAEXXZ)" in Funktion ""public: virtual void \_\_thiscall ExampleFrameListener::showDebugOverlay(bool)" (?showDebugOverlay@ExampleFrameListener@@UAEX\_N@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: class Ogre::Vector3 & \_\_thiscall Ogre::Vector3::operator=(class Ogre::Vector3 const &)" (\_\_imp\_??4Vector3@Ogre@@QAEAAV01@ABV01@@Z)" in Funktion ""public: virtual bool \_\_thiscall ExampleFrameListener::frameRenderingQueued(struct Ogre::FrameEvent const &)" (?frameRenderingQueued@ExampleFrameListener@@UAE\_NABUFrameEvent@Ogre@@@Z)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: static void \_\_cdecl Ogre::WindowEventUtilities::removeWindowEventListener(class Ogre::RenderWindow *,class Ogre::WindowEventListener *)" (\_\_imp\_?removeWindowEventListener@WindowEventUtilities@Ogre@@SAXPAVRenderWindow@2@PAVWindowEventListener@2@@Z)" in Funktion ""public: virtual __thiscall ExampleFrameListener::~ExampleFrameListener(void)" (??1ExampleFrameListener@@UAE@XZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: int \_\_thiscall Ogre::Viewport::getActualHeight(void)const " (\_\_imp\_?getActualHeight@Viewport@Ogre@@QBEHXZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createViewports(void)" (?createViewports@ExampleApplication@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: int \_\_thiscall Ogre::Viewport::getActualWidth(void)const " (\_\_imp\_?getActualWidth@Viewport@Ogre@@QBEHXZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createViewports(void)" (?createViewports@ExampleApplication@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::Viewport::setBackgroundColour(class Ogre::ColourValue const &)" (\_\_imp\_?setBackgroundColour@Viewport@Ogre@@QAEXABVColourValue@2@@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createViewports(void)" (?createViewports@ExampleApplication@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: \_\_thiscall Ogre::ColourValue::ColourValue(float,float,float,float)" (\_\_imp\_??0ColourValue@Ogre@@QAE@MMMM@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::createViewports(void)" (?createViewports@ExampleApplication@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: virtual \_\_thiscall Ogre::ConfigFile::~ConfigFile(void)" (\_\_imp\_??1ConfigFile@Ogre@@UAE@XZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::setupResources(void)" (?setupResources@ExampleApplication@@MAEXXZ)". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""\_\_declspec(dllimport) public: void \_\_thiscall Ogre::ResourceGroupManager::addResourceLocation(class std::basic\_string,class std::allocator > const &,class std::basic\_string,class std::allocator > const &,class std::basic\_string,class std::allocator > const &,bool)" (\_\_imp\_?addResourceLocation@ResourceGroupManager@Ogre@@QAEXABV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@00_N@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::setupResources(void)" (?setupResources@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: static class Ogre::ResourceGroupManager & __cdecl Ogre::ResourceGroupManager::getSingleton(void)" (__imp_?getSingleton@ResourceGroupManager@Ogre@@SAAAV12@XZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::setupResources(void)" (?setupResources@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: class Ogre::MapIterator<class std::map<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::multimap<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > *,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::multimap<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct std::less<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >,class std::allocator<struct std::pair<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const ,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > *> > > > __thiscall Ogre::ConfigFile::getSectionIterator(void)" (__imp_?getSectionIterator@ConfigFile@Ogre@@QAE?AV?MapIterator@V?MapIterator@V?map@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@PAV?allocator@D@2@@std@@PAV?multimap@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@V12@U?allocator@D@2@@std@@V12@U?less@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@@2@V?allocator@D@2@@std@@@2@V?allocator@U?pair@pair@CBV?CBV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@V12@@std@@@2@@2@U?less@V?less@V?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@@2@V?allocator@U?allocator@U?pair@$$CBV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@PAV?allocator@D@2@@std@@PAV?multimap@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@V12@U?allocator@D@2@@std@@V12@U?less@V?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?allocator@D@2@@std@@@2@V?allocator@D@2@@std@@@2@V?allocator@U?pair@pair@CBV?CBV?basic_string@DU?char_traits@D@std@@V?char\_traits@D@std@@V?allocator@D@2@@std@@V12@@std@@@2@@2@@std@@@2@@std@@@2@XZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::setupResources(void)" (?setupResources@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::ConfigFile::load(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (__imp_?load@ConfigFile@Ogre@@QAEXABV?basic_string@DU?basic\_string@DU?char_traits@D@std@@V?$allocator@D@2@@std@@0_N@Z)" in Funktion ""protected: virtual void __thiscall ExampleApplication::setupResources(void)" (?setupResources@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Ogre::ConfigFile::ConfigFile(void)" (__imp_??0ConfigFile@Ogre@@QAE@XZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::setupResources(void)" (?setupResources@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: void __thiscall Ogre::ResourceGroupManager::initialiseAllResourceGroups(void)" (__imp_?initialiseAllResourceGroups@ResourceGroupManager@Ogre@@QAEXXZ)" in Funktion ""protected: virtual void __thiscall ExampleApplication::loadResources(void)" (?loadResources@ExampleApplication@@MAEXXZ)".
    1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall Ogre::Root::~Root(void)" (__imp_??1Root@Ogre@@QAE@XZ)" in Funktion ""public: void * __thiscall Ogre::Root::`scalar deleting destructor'(unsigned int)" (??_GRoot@Ogre@@QAEPAXI@Z)".
    1>C:\Users\Luki\Documents\Visual Studio 2008\Projects\Ogretest\Debug\Ogretest.exe : fatal error LNK1120: 63 nicht aufgelöste externe Verweise.
    1>Das Buildprotokoll wurde unter "file://c:\Users\Luki\Documents\Visual Studio 2008\Projects\Ogretest\Ogretest\Debug\BuildLog.htm" gespeichert.
    1>Ogretest - 64 Fehler, 0 Warnung(en)
    ========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========



  • Dieser Thread wurde von Moderator/in rüdiger aus dem Forum Rund um die Programmierung in das Forum Spiele-/Grafikprogrammierung verschoben.

    Im Zweifelsfall bitte auch folgende Hinweise beachten:
    C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?

    Dieses Posting wurde automatisch erzeugt.



  • Ich hab jetzt mal alle dll's ins Projekt Verzeichniss kopiert und noch n paar andere Tipps ausm Inet probiert.
    Das Kompilieren funktioniert nur beim starten kommt:
    Unbehandelte Ausnahme bei 0x7c812a5b in Ogre.exe: Microsoft C++-Ausnahme: std::bad_alloc an Speicherposition 0x0012f230..
    Das ganze passiert dann in der ExampleApplication.h

    mRoot = new Root(pluginsPath, 
                mResourcePath + "ogre.cfg", mResourcePath + "Ogre.log");
    

    ich hoffe jemand kann mir helfen. Ich habe die gleiche Frage in einem anderen Forum gesehn und da hat leider niemand geantwortet. ich habe das ganze schon auf 2 PC's probiert. Einmal mit Vista 64-Bit und Visual C++ Express 2008 und einmal auf XP.
    Gruss

    Lukas


Anmelden zum Antworten