RuntimeError with Dynamic Library

drivehappy

18-06-2008 19:56:24

First time user, I've successfully compiled and linked the ETM library via the Makefile on Ubuntu 8.04, and Ogre 1.4.9.

I placed the .so file in /usr/local/lib/OGRE and added the .so filename to the plugins.cfg file. When initializing Ogre I receive an error:


RuntimeError: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library /usr/local/lib/OGRE/libEditableTerrain.so. System Error: /usr/local/lib/OGRE/libEditableTerrain.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE in DynLib::load at OgreDynLib.cpp (line 80)


Just curious if this is on my end or the definition is really missing.

CABAListic

18-06-2008 20:14:44

The Editable Terrain Manager is not an Ogre plugin. You cannot load it via plugins.cfg, you just link your program to it (like you link it to OgreMain).

drivehappy

18-06-2008 20:25:28

Ah, I feel stupid. I had just assumed, thanks.