-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Helllo, I tried to install imgraph using luarocks following the tutorial from https://github.com/torch/torch7/wiki/Cheatsheet#installing-and-running-torch however, I received the following errors. I was wondering what is the best way to fix this?
In file included from /tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/init.cpp:31:
/tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/mergetree.h:28:19: error: use of undeclared identifier 'luaL_typerror'; did you mean 'luaT_typerror'?
if (mt == NULL) luaL_typerror(L, index, MT);
^~~~~~~~~~~~~
luaT_typerror
/usr/local/include/luaT.h:63:14: note: 'luaT_typerror' declared here
LUAT_API int luaT_typerror(lua_State *L, int ud, const char *tname);
^
In file included from /tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/init.cpp:31:
/tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/mergetree.h:37:19: error: use of undeclared identifier 'luaL_typerror'; did you mean 'luaT_typerror'?
if (mt == NULL) luaL_typerror(L, index, MT);
^~~~~~~~~~~~~
luaT_typerror
/usr/local/include/luaT.h:63:14: note: 'luaT_typerror' declared here
LUAT_API int luaT_typerror(lua_State *L, int ud, const char *tname);
^
In file included from /tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/init.cpp:31:
/tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/mergetree.h:102:14: error: unknown type name 'luaL_reg'; did you mean 'luaL_Reg'?
static const luaL_reg MergeTree_meta[] = {
^~~~~~~~
luaL_Reg
/opt/local/include/lauxlib.h:26:3: note: 'luaL_Reg' declared here
} luaL_Reg;
^
In file included from /tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/init.cpp:31:
/tmp/luarocks_imgraph-1.0-0-4149/lua---imgraph/mergetree.h:112:3: error: use of undeclared identifier 'luaL_openlib'
luaL_openlib(L, 0, MergeTree_meta, 0); /* fill metatable */
Metadata
Metadata
Assignees
Labels
No labels