23 const std::string& library_path) :
30 module_version_func get_version =
31 lib->resolve<module_version_func>(
"module_version");
33 const u32bit mod_version = get_version();
35 if(mod_version != 20101003)
36 throw std::runtime_error(
"Incompatible version in " +
37 library_path +
" of " +
40 creator_func creator =
41 lib->resolve<creator_func>(
"create_engine");
46 throw std::runtime_error(
"Creator function in " +
47 library_path +
" failed");