We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd2625e commit 5057789Copy full SHA for 5057789
src/nnWrapper.jinja2.cpp
@@ -35,11 +35,11 @@ lua_State *luaInit() {
35
// cout << "luaInit" << endl;
36
void *hdl = dlopen("libPyTorchLua.so", RTLD_NOW | RTLD_GLOBAL);
37
if(hdl == 0) {
38
- cout << "Failed to load libPyTorchLua.so, trying dylib..." << endl;
+ //cout << "Failed to load libPyTorchLua.so, trying dylib..." << endl;
39
hdl = dlopen("libPyTorchLua.dylib", RTLD_NOW | RTLD_GLOBAL);
40
}
41
42
- cout << "Failed to load libPyTorchLua.dylib, fatal" << endl;
+ cout << "Failed to load both libPyTorchLua.so and libPyTorchLua.dylib, fatal" << endl;
43
cout << dlerror() << endl;
44
throw runtime_error(string("Couldnt load liblua5.1.so or liblua.dylib") + dlerror());
45
} else {
0 commit comments