Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Feb 21, 2006, 11:32:21 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: now the process should really work

File:
1 edited

Legend:

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

    r7175 r7176  
    333333  delete[] imageDir;
    334334
    335   DynamicLoader::addSearchDirRelative("./world_entities");
    336   DynamicLoader::addSearchDirRelative("./src/world_entities");
    337   DynamicLoader::addSearchDir(PKG_LIBDIR);
     335  if (!DynamicLoader::addSearchDirRelative("./world_entities"))
     336    if (!DynamicLoader::addSearchDirRelative("./src/world_entities"))
     337      DynamicLoader::addSearchDir(PKG_LIBDIR);
     338
    338339  DynamicLoader::loadDyLib("libORXground_turret");
    339 
     340  printf("%s\n", DynamicLoader::getSearchDir());
    340341  // start the collision detection engine
    341342  CDEngine::getInstance();
Note: See TracChangeset for help on using the changeset viewer.