love-ws icon indicating copy to clipboard operation
love-ws copied to clipboard

make failure

Open taxilly opened this issue 5 years ago • 3 comments

                        ~~~~~ ^
In file included from /Users/cass/Code/Projects/Games/game/libs/love-ws/src/lua_ws_client.cpp:1:
/Users/cass/Code/Projects/Games/game/libs/love-ws/include/lua_ws_client.hpp:9:10: fatal error: 'client_ws.hpp' file
      not found
#include "client_ws.hpp"
         ^~~~~~~~~~~~~~~
7 warnings and 1 error generated.
make[2]: *** [CMakeFiles/ws.dir/src/lua_ws_client.cpp.o] Error 1
make[1]: *** [CMakeFiles/ws.dir/all] Error 2
make: *** [all] Error 2

taxilly avatar Mar 28 '19 00:03 taxilly

Did you cloned it as recursive ? (git clone --recursive this-repo-url ?) It requires The simple-websockets library inside vendor as a submodule

holywyvern avatar Mar 28 '19 13:03 holywyvern

That fixed it - but I'm still getting errors: https://pastebin.com/raw/iav9Qmi0 I'm using Lua 5.3.5, sorry about causing you trouble...

taxilly avatar Mar 28 '19 14:03 taxilly

No problem, this was tested in Lua 5.1, because it's meant to be used with love2D which uses luaGIT. I may be able to fix those errors in lua 5.2 and up, probably, I'll check it when I have some free time.

holywyvern avatar Mar 28 '19 14:03 holywyvern