Open rdtor opened 5 years ago
@rdtor Hi, Thank you for reporting the problem.
I just updated the README and added the setup guide for building the external. Could you please follow the guide and try to build the external again?
hey thx, i tried to run make file in linux64External i am getting this error i think its related to Lua,
home/shank/of-workspace/addons/ofxLua/src/bindings/desktop/ofxLuaBindings.cpp:45765:43: error: ‘ofBaseFileSerializer’ was not declared in this scope
return (void )((ofBaseSerializer ) (ofBaseFileSerializer ) ((ofXml ) x));
^~~~~~~~
/home/shank/of-workspace/addons/ofxLua/src/bindings/desktop/ofxLuaBindings.cpp:45765:43: note: suggested alternative: ‘ofBaseVideoGrabber’
return (void )((ofBaseSerializer ) (ofBaseFileSerializer ) ((ofXml ) x));
^~~~~~~~
ofBaseVideoGrabber
/home/shank/of-workspace/addons/ofxLua/src/bindings/desktop/ofxLuaBindings.cpp:45765:65: error: expected primary-expression before ‘)’ token
return (void )((ofBaseSerializer ) (ofBaseFileSerializer ) ((ofXml ) x));
^
/home/shank/of-workspace/addons/ofxLua/src/bindings/desktop/ofxLuaBindings.cpp: At global scope:
/home/shank/of-workspace/addons/ofxLua/src/bindings/desktop/ofxLuaBindings.cpp:12806:12: warning: ‘int _wrap_3dPrimitive_draw(lua_State)’ defined but not used [-Wunused-function]
static int _wrap_3dPrimitive_draw(lua_State L) { int SWIG_arg = 0; of3dPrimitive arg1 = (of3dPrimitive ) 0 ;
^~~~~~
make[1]: [/home/shank/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:354: /home/shank/of-workspace/addons/obj/linux64/Release/ofxLua/src/bindings/desktop/ofxLuaBindings.o] Error 1
make[1]: Leaving directory '/home/shank/of-workspace/addons/ofxOfelia/Linux64External'
make: [/home/shank/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2
i used the ofxLua from the libs folder and it compiled instead from the repository of danomatika
However i could run the shapes, sounds, pd, text, shader video example so far
here is a Edit i fixed the example issue, all the non running examples folder should be moved up a directory
home/s/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:45679:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (arg1) (arg1)->timeoutSeconds = arg2; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } ^
~/home/s/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp: In function ‘int _wrap_HttpResponse_status_set(lua_State*)’: /home/s/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:45842:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (arg1) (arg1)->status = arg2; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } ^~ /home/s/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:45842:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (arg1) (arg1)->status = arg2; return SWIG_arg; if(0) SWIG_fail; fail: lua_error(L); return SWIG_arg; } ^~/home/s/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp: At global scope: /home/s/of-workspace/addons/ofxLua/src/bindings/desktop/ofBindings.cpp:15364:12: warning: ‘int _wrap_3dPrimitive_draw(lua_State)’ defined but not used [-Wunused-function] static int _wrap_3dPrimitive_draw(lua_State L) { int SWIG_arg = 0; of3dPrimitive arg1 = (of3dPrimitive ) 0 ; ^~~~~~ make[1]: [/home/s/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:354: /home/s/of-workspace/addons/obj/linux64/Release/ofxLua/src/bindings/desktop/ofBindings.o] Error 1 make[1]: Leaving directory '/home/shank/of-workspace/addons/ofxOfelia/Linux64External' make: [/home/s***/of-workspace/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2