Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7174 in orxonox.OLD for branches/shared_lib/src/orxonox.cc


Ignore:
Timestamp:
Feb 21, 2006, 10:48:52 PM (18 years ago)
Author:
bensch
Message:

orxonox/dylib: now the dylibLoader should work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/shared_lib/src/orxonox.cc

    r7171 r7174  
    333333  delete[] imageDir;
    334334
    335 //   void* handle;
    336 //   handle = dlopen("./src/world_entities/.libs/libORXground_turret.so", RTLD_NOW);
    337 //   if(handle == NULL)
    338 //   {
    339 //     PRINTF(1)("unable to load %s\n", dlerror());
    340 //
    341 //     return false;
    342 //   }
    343   DynamicLoader::loadDyLib("src/world_entities/.libs/libORXground_turret.so");
     335  DynamicLoader::addSearchDirRelative("./world_entities");
     336  DynamicLoader::addSearchDirRelative("./src/world_entities");
     337
     338  DynamicLoader::loadDyLib("libORXground_turret");
    344339
    345340  // start the collision detection engine
Note: See TracChangeset for help on using the changeset viewer.