Move senseApi libs into their own outer subdir

This commit is contained in:
2025-01-08 17:16:49 -04:00
parent 988e84a545
commit d14cef5328
16 changed files with 9193 additions and 82 deletions
+3 -3
View File
@@ -77,13 +77,13 @@ SenseApiLib& SenseApiManager::loadSenseApiLib(const std::string& libraryPath)
}
// Initialize getSenseApiDescriptor
auto func = reinterpret_cast<SenseApiLib::SenseApiDescGetterFn*>(
dlsym(lib->handle.get(), HK_SENSE_API_DESC_GETTER_FN_NAME));
auto func = reinterpret_cast<getSenseApiDescFn *>(
dlsym(lib->handle.get(), HK_GET_SENSE_API_DESC_FN_NAME_STR));
if (!func)
{
throw std::runtime_error(
std::string(__func__) + ": dlsym('"
HK_SENSE_API_DESC_GETTER_FN_NAME "') failed for library '"
HK_GET_SENSE_API_DESC_FN_NAME_STR "') failed for library '"
+ lib->libraryPath + "'");
}
lib->getSenseApiDescriptor = func;