Linux, runtime error, "undefined symbol"

Problems building or running the engine, queries about how to use features etc.
User avatar
LordMyth
Gremlin
Posts: 181
Joined: Thu Jan 06, 2005 10:19 pm
Location: Belgium

Linux, runtime error, "undefined symbol"

Post by LordMyth »

Here's the the console output:, first it said plugins.cfg not found, so I took it from /samples/common/bin/release/, and changed the capital letter. I set the plugins path to /usr/local/lib/OGRE/. The DX plugin includes where in the file, so I removed them.
EXECUTING:
/home/LordMyth/Projects/ogretest/src/ogretest
----------------------------------------------
Loading library libOgrePlatform.so
ArchiveFactory for archive type Zip registered.
Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
An exception has occured: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: DynLib::load
Description: Could not load dynamic library /usr/local/lib/OGRE/RenderSystem_GL. so. System Error: /usr/local/lib/OGRE/RenderSystem_GL.so: undefined symbol: _ZT VN4Ogre12RenderWindowE.
File: OgreDynLib.cpp
Line: 83
Stack unwinding: DynLib::load(..) <- <<beginning of stack>>

----------------------------------------------
Program exited successfully with errcode (0)
Press the Enter key to close this terminal ...
What could that be?
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8

Post by haffax »

I have never used Ogre in Linux, but undefined symbol errors usually mean, that library and program that uses this library don't match. Make sure you link your application against the correct Ogre version.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
bal
Greenskin
Posts: 100
Joined: Thu Dec 09, 2004 7:29 pm
Location: Geluwe, Belgium

Post by bal »

I get that error on Windows if the RenderSystem_OpenGL.dll isn't correct (version, correctl location). This could be the same with your .so file.