1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2007 Christian Schoenebeck * |
* Copyright (C) 2007, 2008 Christian Schoenebeck * |
4 |
* * |
* * |
5 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
6 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
210 |
void* pDLL = dlopen(sPath.c_str(), RTLD_NOW); |
void* pDLL = dlopen(sPath.c_str(), RTLD_NOW); |
211 |
if (pDLL) LoadedDLLs.push_back(pDLL); |
if (pDLL) LoadedDLLs.push_back(pDLL); |
212 |
else { |
else { |
213 |
std::cerr << "Failed to load instrument editor plugin: " |
std::cerr << "Failed to load instrument editor plugin: '" |
214 |
<< sPath << std::endl; |
<< sPath << "', cause: " << dlerror() << std::endl; |
215 |
} |
} |
216 |
} |
} |
217 |
closedir(hDir); |
closedir(hDir); |