Stratos: Punto de Encuentro de Desarrolladores

¡Bienvenido a Stratos!

Acceder

Foros





Problemas con Ogre

Iniciado por Shavo, 12 de Febrero de 2008, 07:50:34 PM

« anterior - próximo »

Shavo

Estoy tratando de compilar el ejemplo del Tutorial 1 de la Wiki de ogre (http://www.ogre3d.org/wiki/index.php/Basic_Tutorial_1) y me sale el siguiente error:

/tmp/ccXGX9yW.o: In function `Ogre::Math::DegreesToRadians(float)':
main.cpp:(.text._ZN4Ogre4Math16DegreesToRadiansEf[Ogre::Math::DegreesToRadians(float)]+0x5): undefined reference to `Ogre::Math::fDeg2Rad'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::frameRenderingQueued(Ogre::FrameEvent const&)':
main.cpp:(.text._ZN20ExampleFrameListener20frameRenderingQueuedERKN4Ogre10FrameEventE[ExampleFrameListener::frameRenderingQueued(Ogre::FrameEvent const&)]+0x20e): undefined reference to `Ogre::Vector3::ZERO'
/tmp/ccXGX9yW.o:(.gcc_except_table+0x760): undefined reference to `typeinfo for Ogre::Exception'
/tmp/ccXGX9yW.o: In function `ExampleApplication::loadResources()':
main.cpp:(.text._ZN18ExampleApplication13loadResourcesEv[ExampleApplication::loadResources()]+0x7): undefined reference to `Ogre::ResourceGroupManager::getSingleton()'
main.cpp:(.text._ZN18ExampleApplication13loadResourcesEv[ExampleApplication::loadResources()]+0xf): undefined reference to `Ogre::ResourceGroupManager::initialiseAllResourceGroups()'
/tmp/ccXGX9yW.o: In function `ExampleApplication::setupResources()':
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0x11): undefined reference to `Ogre::ConfigFile::ConfigFile()'
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0x77): undefined reference to `Ogre::ConfigFile::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0xda): undefined reference to `Ogre::ConfigFile::getSectionIterator()'
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0x1f5): undefined reference to `Ogre::ResourceGroupManager::getSingleton()'
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0x21c): undefined reference to `Ogre::ResourceGroupManager::addResourceLocation(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0x2e3): undefined reference to `Ogre::ConfigFile::~ConfigFile()'
main.cpp:(.text._ZN18ExampleApplication14setupResourcesEv[ExampleApplication::setupResources()]+0x2f6): undefined reference to `Ogre::ConfigFile::~ConfigFile()'
/tmp/ccXGX9yW.o: In function `ExampleApplication::createViewports()':
main.cpp:(.text._ZN18ExampleApplication15createViewportsEv[ExampleApplication::createViewports()]+0x97): undefined reference to `Ogre::Viewport::setBackgroundColour(Ogre::ColourValue const&)'
main.cpp:(.text._ZN18ExampleApplication15createViewportsEv[ExampleApplication::createViewports()]+0xb1): undefined reference to `Ogre::Viewport::getActualWidth() const'
main.cpp:(.text._ZN18ExampleApplication15createViewportsEv[ExampleApplication::createViewports()]+0xc7): undefined reference to `Ogre::Viewport::getActualHeight() const'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::moveCamera()':
main.cpp:(.text._ZN20ExampleFrameListener10moveCameraEv[ExampleFrameListener::moveCamera()]+0x1a): undefined reference to `Ogre::Camera::yaw(Ogre::Radian const&)'
main.cpp:(.text._ZN20ExampleFrameListener10moveCameraEv[ExampleFrameListener::moveCamera()]+0x32): undefined reference to `Ogre::Camera::pitch(Ogre::Radian const&)'
main.cpp:(.text._ZN20ExampleFrameListener10moveCameraEv[ExampleFrameListener::moveCamera()]+0x4a): undefined reference to `Ogre::Camera::moveRelative(Ogre::Vector3 const&)'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)':
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x219): undefined reference to `Ogre::Camera::yaw(Ogre::Radian const&)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x267): undefined reference to `Ogre::Camera::yaw(Ogre::Radian const&)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x43e): undefined reference to `Ogre::MaterialManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x463): undefined reference to `Ogre::MaterialManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x46f): undefined reference to `Ogre::MaterialManager::setDefaultAnisotropy(unsigned int)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x591): undefined reference to `Ogre::RenderTarget::writeContentsToFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x7ab): undefined reference to `Ogre::Camera::setPolygonMode(Ogre::PolygonMode)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x7c3): undefined reference to `Ogre::Camera::setPolygonMode(Ogre::PolygonMode)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x7db): undefined reference to `Ogre::Camera::setPolygonMode(Ogre::PolygonMode)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x89c): undefined reference to `Ogre::Camera::getDerivedOrientation() const'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x8ab): undefined reference to `Ogre::StringConverter::toString(Ogre::Quaternion const&)'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x8bc): undefined reference to `Ogre::Camera::getDerivedPosition() const'
main.cpp:(.text._ZN20ExampleFrameListener25processUnbufferedKeyInputERKN4Ogre10FrameEventE[ExampleFrameListener::processUnbufferedKeyInput(Ogre::FrameEvent const&)]+0x8cb): undefined reference to `Ogre::StringConverter::toString(Ogre::Vector3 const&)'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::windowClosed(Ogre::RenderWindow*)':
main.cpp:(.text._ZN20ExampleFrameListener12windowClosedEPN4Ogre12RenderWindowE[ExampleFrameListener::windowClosed(Ogre::RenderWindow*)]+0xa1): undefined reference to `OIS::InputManager::destroyInputSystem(OIS::InputManager*)'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::updateStats()':
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x5a3): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x5bf): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x650): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x66c): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x6fd): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x719): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x7aa): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x7c6): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x899): undefined reference to `Ogre::StringConverter::toString(float, unsigned short, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x9cd): undefined reference to `Ogre::StringConverter::toString(float, unsigned short, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0xaf7): undefined reference to `Ogre::StringConverter::toString(unsigned long, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0xb2f): undefined reference to `Ogre::StringConverter::toString(float, unsigned short, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0xd4a): undefined reference to `Ogre::StringConverter::toString(unsigned long, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0xd82): undefined reference to `Ogre::StringConverter::toString(float, unsigned short, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0xf8a): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0xfa3): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x101a): undefined reference to `Ogre::StringConverter::toString(unsigned int, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x1140): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x1159): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x11d0): undefined reference to `Ogre::StringConverter::toString(unsigned int, unsigned short, char, std::_Ios_Fmtflags)'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x12f6): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListener11updateStatsEv[ExampleFrameListener::updateStats()]+0x130f): undefined reference to `Ogre::OverlayManager::getOverlayElement(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::~ExampleFrameListener()':
main.cpp:(.text._ZN20ExampleFrameListenerD0Ev[ExampleFrameListener::~ExampleFrameListener()]+0x38): undefined reference to `Ogre::WindowEventUtilities::removeWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::~ExampleFrameListener()':
main.cpp:(.text._ZN20ExampleFrameListenerD1Ev[ExampleFrameListener::~ExampleFrameListener()]+0x38): undefined reference to `Ogre::WindowEventUtilities::removeWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::showDebugOverlay(bool)':
main.cpp:(.text._ZN20ExampleFrameListener16showDebugOverlayEb[ExampleFrameListener::showDebugOverlay(bool)]+0x26): undefined reference to `Ogre::Overlay::show()'
main.cpp:(.text._ZN20ExampleFrameListener16showDebugOverlayEb[ExampleFrameListener::showDebugOverlay(bool)]+0x36): undefined reference to `Ogre::Overlay::hide()'
/tmp/ccXGX9yW.o: In function `ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)':
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x60): undefined reference to `Ogre::Vector3::ZERO'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x68): undefined reference to `Ogre::Vector3::ZERO'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x70): undefined reference to `Ogre::Vector3::ZERO'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x192): undefined reference to `Ogre::OverlayManager::getSingleton()'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x1a3): undefined reference to `Ogre::OverlayManager::getByName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x22e): undefined reference to `Ogre::LogManager::getSingletonPtr()'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x24f): undefined reference to `Ogre::LogManager::logMessage(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Ogre::LogMessageLevel, bool)'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x4fb): undefined reference to `OIS::InputManager::createInputSystem(std::multimap<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&)'
main.cpp:(.text._ZN20ExampleFrameListenerC1EPN4Ogre12RenderWindowEPNS0_6CameraEbbb[ExampleFrameListener::ExampleFrameListener(Ogre::RenderWindow*, Ogre::Camera*, bool, bool, bool)]+0x601): undefined reference to `Ogre::WindowEventUtilities::addWindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
/tmp/ccXGX9yW.o: In function `ExampleApplication::createFrameListener()':
main.cpp:(.text._ZN18ExampleApplication19createFrameListenerEv[ExampleApplication::createFrameListener()]+0x8c): undefined reference to `Ogre::Root::addFrameListener(Ogre::FrameListener*)'
/tmp/ccXGX9yW.o: In function `ExampleApplication::createCamera()':
main.cpp:(.text._ZN18ExampleApplication12createCameraEv[ExampleApplication::createCamera()]+0xbf): undefined reference to `Ogre::Camera::setPosition(Ogre::Vector3 const&)'
main.cpp:(.text._ZN18ExampleApplication12createCameraEv[ExampleApplication::createCamera()]+0xfa): undefined reference to `Ogre::Camera::lookAt(Ogre::Vector3 const&)'
/tmp/ccXGX9yW.o: In function `ExampleApplication::chooseSceneManager()':
main.cpp:(.text._ZN18ExampleApplication18chooseSceneManagerEv[ExampleApplication::chooseSceneManager()]+0x45): undefined reference to `Ogre::Root::createSceneManager(unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/ccXGX9yW.o: In function `ExampleApplication::configure()':
main.cpp:(.text._ZN18ExampleApplication9configureEv[ExampleApplication::configure()]+0x11): undefined reference to `Ogre::Root::showConfigDialog()'
main.cpp:(.text._ZN18ExampleApplication9configureEv[ExampleApplication::configure()]+0x4c): undefined reference to `Ogre::StringUtil::BLANK'
main.cpp:(.text._ZN18ExampleApplication9configureEv[ExampleApplication::configure()]+0x63): undefined reference to `Ogre::Root::initialise(bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/tmp/ccXGX9yW.o: In function `ExampleApplication::setup()':
main.cpp:(.text._ZN18ExampleApplication5setupEv[ExampleApplication::setup()]+0xe1): undefined reference to `Ogre::Root::Root(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main.cpp:(.text._ZN18ExampleApplication5setupEv[ExampleApplication::setup()]+0x1c2): undefined reference to `Ogre::TextureManager::getSingleton()'
/tmp/ccXGX9yW.o: In function `ExampleApplication::~ExampleApplication()':
main.cpp:(.text._ZN18ExampleApplicationD2Ev[ExampleApplication::~ExampleApplication()]+0x5d): undefined reference to `Ogre::Root::~Root()'
/tmp/ccXGX9yW.o: In function `ExampleApplication::~ExampleApplication()':
main.cpp:(.text._ZN18ExampleApplicationD0Ev[ExampleApplication::~ExampleApplication()]+0x5d): undefined reference to `Ogre::Root::~Root()'
/tmp/ccXGX9yW.o: In function `ExampleApplication::~ExampleApplication()':
main.cpp:(.text._ZN18ExampleApplicationD1Ev[ExampleApplication::~ExampleApplication()]+0x5d): undefined reference to `Ogre::Root::~Root()'
/tmp/ccXGX9yW.o: In function `ExampleApplication::go()':
main.cpp:(.text._ZN18ExampleApplication2goEv[ExampleApplication::go()]+0x29): undefined reference to `Ogre::Root::startRendering()'
collect2: ld devolvió el estado de salida 1


Alguien tiene idea de que es lo que pasa?
Estoy compilando bajo Ubuntu 7.10 con Ogre 1.4.6.

Tei

Cita de: "Shavo"Estoy tratando de compilar el ejemplo del Tutorial 1 de la Wiki de ogre (http://www.ogre3d.org/wiki/index.php/Basic_Tutorial_1) y me sale el siguiente error:

/tmp/ccXGX9yW.o: In function `Ogre::Math::DegreesToRadians(float)':
main.cpp:(.text._ZN4Ogre4Math16DegreesToRadiansEf[Ogre::Math::DegreesToRadians(float)]+0x5): undefined reference to `Ogre::Math::fDeg2Rad'
...
/tmp/ccXGX9yW.o: In function `ExampleApplication::go()':
main.cpp:(.text._ZN18ExampleApplication2goEv[ExampleApplication::go()]+0x29): undefined reference to `Ogre::Root::startRendering()'
collect2: ld devolvió el estado de salida 1


Alguien tiene idea de que es lo que pasa?
Estoy compilando bajo Ubuntu 7.10 con Ogre 1.4.6.

Parece un error de enlazado.

Aqui (donde enlazas):
http://www.ogre3d.org/wiki/index.php/SettingUpAnApplication
Comentan esto:
Citar
# If you downloaded the source distribution, you should register a new environment variable OGRE_SRC pointing at the 'ogrenew' folder from the OGRE source

Yo daria un paso mas lejos. Asegurate que tienes la variable bien definida, y problablemente definida con EXPORT para que los bash hijos tambien la tengan en su entorno. Me supongo.

Luego yo probaria a recompilar ogre, seguramente con un ./configure;make;make install  por la cosa de que en dodne sea adecuado, esten flotando todos los ficheros de biblitoeca .a

Espero que sea algo de esto.






Stratos es un servicio gratuito, cuyos costes se cubren en parte con la publicidad.
Por favor, desactiva el bloqueador de anuncios en esta web para ayudar a que siga adelante.
Muchísimas gracias.