wtf!?! alls i wanna do is run an example app!

Problems building or running the engine, queries about how to use features etc.
floater eater
Gnoblar
Posts: 19
Joined: Mon Aug 29, 2005 7:03 pm

wtf!?! alls i wanna do is run an example app!

Post by floater eater »

ok. heres my shpiel.

i am using microsoft visual basic 6.0

heres what i'm trying to run (i know its right its from the tut!)

Code: Select all

#include "C:\OgreSDK\include\ExampleApplication.h"

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#endif


class MyListener : public ExampleFrameListener
{
public:
	MyListener(RenderWindow* win, Camera* cam)
		: ExampleFrameListener(win, cam)
	{
	}

	bool frameStarted(const FrameEvent& evt)
	{
		return ExampleFrameListener::frameStarted(evt);        
	}

	bool frameEnded(const FrameEvent& evt)
	{
		return ExampleFrameListener::frameEnded(evt);        
	}

};

class MyApplication : public ExampleApplication
{
public:
    MyApplication() {}
	
protected:

    void createScene(void)
    {
        // put your scene creation in here
    }

    // Create new frame listener
    void createFrameListener(void)
    {
        mFrameListener = new MyListener(mWindow, mCamera);
        mRoot->addFrameListener(mFrameListener);
    }
};

#ifdef __cplusplus
extern "C" {
#endif

#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main(int argc, char **argv)
#endif
{
    // Create application object
    MyApplication app;

    try {
        app.go();
    } catch( Exception& e ) {
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
        MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occured!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
#else
        std::cerr << "An exception has occured: " << e.getFullDescription();
#endif
    }

    return 0;
}

#ifdef __cplusplus
}
#endif
problem? Ha! beat this!

Code: Select all

--------------------Configuration: main - Win32 Debug--------------------
Compiling...
main.cpp
Linking...
LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __thiscall Ogre::Exception::getFullDescription(void)const " (__imp_?getFull
Description@Exception@Ogre@@QBE?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Root::addFrameListener(class Ogre::FrameListener *)" (__imp_?addFrameListener@Root@Ogre@@QAEXPAVFrameListener@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::MemoryManager Ogre::MemoryManager::sMemManager" (__imp_?sMemManager@MemoryManager@Ogre@@2V12@A)
main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Ogre::KeyListener::keyFocusOut(class Ogre::KeyEvent *)" (?keyFocusOut@KeyListener@Ogre@@UAEXPAVKeyEvent@2@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Ogre::KeyListener::keyFocusIn(class Ogre::KeyEvent *)" (?keyFocusIn@KeyListener@Ogre@@UAEXPAVKeyEvent@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall Ogre::EventProcessor::isKeyEnabled(void)const " (?isKeyEnabled@EventProcessor@Ogre@@UBE_NXZ)
main.obj : error LNK2001: unresolved external symbol "public: virtual class Ogre::PositionTarget * __thiscall Ogre::EventProcessor::getPositionTargetParent(void)const " (?getPositionTargetParent@EventProcessor@Ogre@@UBEPAVPositionTarget@2@XZ)
main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall Ogre::EventProcessor::getTop(void)const " (?getTop@EventProcessor@Ogre@@UBEMXZ)
main.obj : error LNK2001: unresolved external symbol "public: virtual float __thiscall Ogre::EventProcessor::getLeft(void)const " (?getLeft@EventProcessor@Ogre@@UBEMXZ)
main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Ogre::EventProcessor::processEvent(class Ogre::InputEvent *)" (?processEvent@EventProcessor@Ogre@@UAEXPAVInputEvent@2@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall Ogre::FrameListener::frameEnded(struct Ogre::FrameEvent const &)" (?frameEnded@FrameListener@Ogre@@UAE_NABUFrameEvent@2@@Z)
main.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall Ogre::EventProcessor::frameStarted(struct Ogre::FrameEvent const &)" (?frameStarted@EventProcessor@Ogre@@UAE_NABUFrameEvent@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Ogre::FrameListener::~FrameListener(void)" (__imp_??1FrameListener@Ogre@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Vector3 & __thiscall Ogre::Vector3::operator=(class Ogre::Vector3 const &)" (__imp_??4Vector3@Ogre@@QAEAAV01@ABV01@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::Vector3 const Ogre::Vector3::ZERO" (__imp_?ZERO@Vector3@Ogre@@2V12@B)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::InputReader * __thiscall Ogre::PlatformManager::createInputReader(void)" (__imp_?createInputReader@PlatformManager@Ogre@@QAEPAVInputReader@2@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::PlatformManager & __cdecl Ogre::PlatformManager::getSingleton(void)" (__imp_?getSingleton@PlatformManager@Ogre@@SAAAV12@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::InputReader * __thiscall Ogre::EventProcessor::getInputReader(void)" (__imp_?getInputReader@EventProcessor@Ogre@@QAEPAVInputReader@2@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::KeyTarget::addKeyListener(class Ogre::KeyListener *)" (__imp_?addKeyListener@KeyTarget@Ogre@@QAEXPAVKeyListener@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::EventProcessor::startProcessingEvents(bool)" (__imp_?startProcessingEvents@EventProcessor@Ogre@@QAEX_N@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::EventProcessor::initialise(class Ogre::RenderWindow *)" (__imp_?initialise@EventProcessor@Ogre@@QAEXPAVRenderWindow@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::EventProcessor::EventProcessor(void)" (__imp_??0EventProcessor@Ogre@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Overlay * __thiscall Ogre::OverlayManager::getByName(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &)" 
(__imp_?getByName@OverlayManager@Ogre@@QAEPAVOverlay@2@ABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::OverlayManager & __cdecl Ogre::OverlayManager::getSingleton(void)" (__imp_?getSingleton@OverlayManager@Ogre@@SAAAV12@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(void)" (__imp_??0Vector3@Ogre@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::KeyListener::KeyListener(void)" (__imp_??0KeyListener@Ogre@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::FrameListener::FrameListener(void)" (__imp_??0FrameListener@Ogre@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::PlatformManager::destroyInputReader(class Ogre::InputReader *)" (__imp_?destroyInputReader@PlatformManager@Ogre@@QAEXPAVInputReader@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl Ogre::StringConverter::toString(class Ogre::Vector3 const &)
" (__imp_?toString@StringConverter@Ogre@@SA?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@ABVVector3@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Vector3 const & __thiscall Ogre::Camera::getDerivedPosition(void)const " (__imp_?getDerivedPosition@Camera@Ogre@@QBEABVVector3@2@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl Ogre::StringConverter::toString(class Ogre::Quaternion const
 &)" (__imp_?toString@StringConverter@Ogre@@SA?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@ABVQuaternion@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::Quaternion const & __thiscall Ogre::Camera::getDerivedOrientation(void)const " (__imp_?getDerivedOrientation@Camera@Ogre@@QBEABVQuaternion@2@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Camera::setDetailLevel(enum Ogre::SceneDetailLevel)" (__imp_?setDetailLevel@Camera@Ogre@@QAEXW4SceneDetailLevel@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MaterialManager::setDefaultAnisotropy(unsigned int)" (__imp_?setDefaultAnisotropy@MaterialManager@Ogre@@QAEXI@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::MaterialManager & __cdecl Ogre::MaterialManager::getSingleton(void)" (__imp_?getSingleton@MaterialManager@Ogre@@SAAAV12@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Camera::yaw(class Ogre::Radian const &)" (__imp_?yaw@Camera@Ogre@@QAEXABVRadian@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static float __cdecl Ogre::Math::DegreesToRadians(float)" (__imp_?DegreesToRadians@Math@Ogre@@SAMM@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Overlay::hide(void)" (__imp_?hide@Overlay@Ogre@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Overlay::show(void)" (__imp_?show@Overlay@Ogre@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Camera::moveRelative(class Ogre::Vector3 const &)" (__imp_?moveRelative@Camera@Ogre@@QAEXABVVector3@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Camera::pitch(class Ogre::Radian const &)" (__imp_?pitch@Camera@Ogre@@QAEXABVRadian@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const & __thiscall Ogre::RenderTarget::getDebugText(void)const " (__imp_?ge
tDebugText@RenderTarget@Ogre@@QBEABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl Ogre::StringConverter::toString(unsigned int,unsigned short,
char,int)" (__imp_?toString@StringConverter@Ogre@@SA?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@IGDH@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl Ogre::StringConverter::toString(unsigned long,unsigned short
,char,int)" (__imp_?toString@StringConverter@Ogre@@SA?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@KGDH@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > __cdecl Ogre::StringConverter::toString(float,unsigned short,unsigne
d short,char,int)" (__imp_?toString@StringConverter@Ogre@@SA?AV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@MGGDH@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::OverlayElement * __thiscall Ogre::OverlayManager::getOverlayElement(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<cha
r> > const &,bool)" (__imp_?getOverlayElement@OverlayManager@Ogre@@QAEPAVOverlayElement@2@ABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@_N@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char __thiscall Ogre::KeyEvent::getKeyChar(void)" (__imp_?getKeyChar@KeyEvent@Ogre@@QAEDXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Ogre::EventProcessor::~EventProcessor(void)" (__imp_??1EventProcessor@Ogre@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Root::startRendering(void)" (__imp_?startRendering@Root@Ogre@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::TextureManager & __cdecl Ogre::TextureManager::getSingleton(void)" (__imp_?getSingleton@TextureManager@Ogre@@SAAAV12@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Root::Root(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,class _STL::basic_string<char,class _ST
L::char_traits<char>,class _STL::allocator<char> > const &,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &)" (__imp_??0Root@Ogre@@QAE@ABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@
@00@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::RenderWindow * __thiscall Ogre::Root::initialise(bool,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &)"
 (__imp_?initialise@Root@Ogre@@QAEPAVRenderWindow@2@_NABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall Ogre::Root::showConfigDialog(void)" (__imp_?showConfigDialog@Root@Ogre@@QAE_NXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::SceneManager * __thiscall Ogre::Root::getSceneManager(enum Ogre::SceneType)" (__imp_?getSceneManager@Root@Ogre@@QAEPAVSceneManager@2@W4SceneType@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Camera::lookAt(class Ogre::Vector3 const &)" (__imp_?lookAt@Camera@Ogre@@QAEXABVVector3@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Camera::setPosition(class Ogre::Vector3 const &)" (__imp_?setPosition@Camera@Ogre@@QAEXABVVector3@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Vector3::Vector3(float,float,float)" (__imp_??0Vector3@Ogre@@QAE@MMM@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall Ogre::Viewport::getActualHeight(void)const " (__imp_?getActualHeight@Viewport@Ogre@@QBEHXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall Ogre::Viewport::getActualWidth(void)const " (__imp_?getActualWidth@Viewport@Ogre@@QBEHXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::Viewport::setBackgroundColour(class Ogre::ColourValue const &)" (__imp_?setBackgroundColour@Viewport@Ogre@@QAEXABVColourValue@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ColourValue::ColourValue(float,float,float,float)" (__imp_??0ColourValue@Ogre@@QAE@MMMM@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Ogre::ConfigFile::~ConfigFile(void)" (__imp_??1ConfigFile@Ogre@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::ResourceGroupManager::addResourceLocation(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,cla
ss _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,bool)" (__imp_?addResourceLocation@ResourceGroupManager@
Ogre@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@00_N@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Ogre::ResourceGroupManager & __cdecl Ogre::ResourceGroupManager::getSingleton(void)" (__imp_?getSingleton@ResourceGroupManager@Ogre@@SAAAV12@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class Ogre::MapIterator<class _STL::map<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,class _STL::multimap<class _STL::ba
sic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,struct _STL::less<class _STL::basic_string<char,class _STL::char_traits<char>,class
 _STL::allocator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<cha
r> > > > > *,struct _STL::less<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char
> > const ,class _STL::multimap<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> >,struct _STL::less<class _STL::basic_s
tring<char,class _STL::char_traits<char>,class _STL::allocator<char> > >,class _STL::allocator<struct _STL::pair<class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const ,class _STL::basic_string<char,class _ST
L::char_traits<char>,class _STL::allocator<char> > > > > *> > > > __thiscall Ogre::ConfigFile::getSectionIterator(void)" (__imp_?getSectionIterator@ConfigFile@Ogre@@QAE?AV?$MapIterator@V?$map@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@
@_STL@@PAV?$multimap@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@V12@U?$less@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_S
TL@@V12@@_STL@@@2@@2@U?$less@V?$basic_string@DV?$char_tr
aits@D@_STL@@V?$allocator@D@2@@_STL@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@PAV?$multimap@V?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@V12@U?$less@V?$basic_string@DV?$char_trait
s@D@_STL@@V?$allocator@D@2@@_STL@@@2@V?$allocator@U?$pair@$$CBV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@V12@@_STL@@@2@@2@@_STL@@@2@@_STL@@@2@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::ConfigFile::load(class _STL::basic_string<char,class _STL::char_traits<char>,class _STL::allocator<char> > const &,class _STL::basic_string<cha
r,class _STL::char_traits<char>,class _STL::allocator<char> > const &,bool)" (__imp_?load@ConfigFile@Ogre@@QAEXABV?$basic_string@DV?$char_traits@D@_STL@@V?$allocator@D@2@@_STL@@0_N@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::ConfigFile::ConfigFile(void)" (__imp_??0ConfigFile@Ogre@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::ResourceGroupManager::initialiseAllResourceGroups(void)" (__imp_?initialiseAllResourceGroups@ResourceGroupManager@Ogre@@QAEXXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall Ogre::Root::~Root(void)" (__imp_??1Root@Ogre@@QAE@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall Ogre::EventProcessor::processEvent(class Ogre::InputEvent *)" (__imp_?processEvent@EventProcessor@Ogre@@UAEXPAVInputEvent@2@@Z)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual float __thiscall Ogre::EventProcessor::getLeft(void)const " (__imp_?getLeft@EventProcessor@Ogre@@UBEMXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual float __thiscall Ogre::EventProcessor::getTop(void)const " (__imp_?getTop@EventProcessor@Ogre@@UBEMXZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual class Ogre::PositionTarget * __thiscall Ogre::EventProcessor::getPositionTargetParent(void)const " (__imp_?getPositionTargetParent@EventProcessor@Ogre@@UBEPA
VPositionTarget@2@XZ)
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual bool __thiscall Ogre::EventProcessor::isKeyEnabled(void)const " (__imp_?isKeyEnabled@EventProcessor@Ogre@@UBE_NXZ)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/main.exe : fatal error LNK1120: 79 unresolved externals
Error executing link.exe.

main.exe - 86 error(s), 1 warning(s)
so wtf? its giving me errors for things that are inside binary files. i hate microsoft.

so what do i do?
(sig removed -- find something smaller)

"let me say this: i'm glad the forums aren't u" - what kind of egomaniac quotes himself?
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Post by jacmoe »

/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark

Re: wtf!?! alls i wanna do is run an example app!

Post by DWORD »

floater eater wrote:so wtf? its giving me errors for things that are inside binary files. i hate microsoft.
Yeah, Microsoft are pretty stupid, aren't they?

What about you linking against the correct libraries, and reading The absolute newbies guide to OGRE on the way? ;)
Last edited by DWORD on Mon Aug 29, 2005 7:21 pm, edited 1 time in total.
Tyn
Gremlin
Posts: 195
Joined: Mon Jul 19, 2004 11:40 pm
Location: England

Post by Tyn »

i am using microsoft visual basic 6.0
Since you actually got as far as compiling this, I'm guessing that you mean MS VC++ 6.0.

Now, as many problems as MS has with some of it's software, this isn't one of them. Those are linker errors and tell you that a dependancy library isn't being loaded properly. Check that you are linking to Ogre correctly, I'd guess that you haven't set up your project correctly.

I'd suggest you visit here:

http://www.ogre3d.org/wiki/index.php/Th ... de_to_OGRE

Edit: I see 3 others managed to post pretty much the same thing at the same time, nice :)
Last edited by Tyn on Mon Aug 29, 2005 7:21 pm, edited 1 time in total.
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams

http://www.spacecolonization.net
2080: Space Colonization
User avatar
regress
Halfling
Posts: 78
Joined: Sat Mar 26, 2005 8:39 pm

Re: wtf!?! alls i wanna do is run an example app!

Post by regress »

floater eater wrote:ok. heres my shpiel.

i am using microsoft visual basic 6.0
...uh yeah, good luck with that... VB6 and all....
regards
stodge
Goblin
Posts: 217
Joined: Thu Oct 24, 2002 4:12 am
x 1

Post by stodge »

Most likely pirated.
What does the debugger tell you? You *are* using a debugger, right??
User avatar
BenO
Goblin
Posts: 241
Joined: Mon Apr 18, 2005 5:03 pm

Post by BenO »

whatever :P good luck .!.
Benjamin RIGAUD
Software Engineer
User avatar
Olex
Hobgoblin
Posts: 593
Joined: Fri Apr 08, 2005 6:08 pm
Location: WA, USA

Post by Olex »

Someone needs some real-time... ahh... I mean reality checks(VBasic vs VC). :twisted:
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

Be nice people.

You need to set your Runtime Library settings to 'Multithreaded Debug DLL' (for Debug) and 'Multithreaded DLL' for release mode. This wasn't in the Build FAQ in the Wiki so I've added it.
floater eater
Gnoblar
Posts: 19
Joined: Mon Aug 29, 2005 7:03 pm

Post by floater eater »

trying that now.

yes ive read the whole newbies guide. built it all just like i was told.

i'll let you guys know what happens.
(sig removed -- find something smaller)

"let me say this: i'm glad the forums aren't u" - what kind of egomaniac quotes himself?
stodge
Goblin
Posts: 217
Joined: Thu Oct 24, 2002 4:12 am
x 1

Post by stodge »

How am I to take anyone seriously whose forum name is "floater eater"?!?!?! :shock:
What does the debugger tell you? You *are* using a debugger, right??
User avatar
Olex
Hobgoblin
Posts: 593
Joined: Fri Apr 08, 2005 6:08 pm
Location: WA, USA

Post by Olex »

<moderated by the athor />
Last edited by Olex on Tue Aug 30, 2005 6:27 pm, edited 1 time in total.
zander76
Halfling
Posts: 89
Joined: Sun Oct 06, 2002 11:19 pm

Post by zander76 »

Calm down, its all good ( say that to yourself a few times ).. People get frustrated.. VC6 is really, really old. Its hard to support when nobody uses it anymore. So if it doesn't work exactly, they are doing there best to make sure it does.. To be honest your best bet is to move to vc.net or one of the free ones that is supported.

Ben
Dating a women is like driving in a foreign country. You don't know what side of the road your on, you can't understand the signs and you certainly don't want to ask for directions but it usually worth the ride. :)
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66

Post by sinbad »

If you don't like something, just don't reply. Baiting isn't condusive to a happy forum.
User avatar
:wumpus:
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3067
Joined: Tue Feb 10, 2004 12:53 pm
Location: The Netherlands
x 1

Post by :wumpus: »

Just don't reply if you don't take someone seriously; I generally skip topics with 'wtf' in the title in the first place.
stodge
Goblin
Posts: 217
Joined: Thu Oct 24, 2002 4:12 am
x 1

Post by stodge »

My question was intended with a hint of humour, but I didn't use enough smilies to show this. :P
What does the debugger tell you? You *are* using a debugger, right??