35 void *SotRobotControllerLibrary =
36 dlopen(dynamicLibraryName.c_str(), RTLD_GLOBAL | RTLD_NOW);
37 if (!SotRobotControllerLibrary) {
38 std::cerr <<
"Cannot load library: " << dlerror() <<
'\n';
48 "createSotExternalInterface");
49 const char *dlsym_error = dlerror();
51 std::cerr <<
"Cannot load symbol create: " << dlsym_error <<
'\n';
60 dlsym_error = dlerror();
62 std::cerr <<
"Cannot load symbol create: " << dlsym_error <<
'\n';
67 sotController_ = createRobotController();
68 cout <<
"Went out from Initialization." << endl;