Open phynero opened 7 years ago
protobuf编译失败 对这个单独编译看看
echo " >>---------- 处理protocbuf ----------"
我自己编译了protobuf2.5 生成的protoc软甩到了user/bin 然后把上面的部分注释掉 直接执行下面那句 然后还是有问题 protoc -o ./res/talkbox.pb ./res/talkbox.proto
============================================= phynero@mac:~/project/skytest/talkbox > bash clean.sh Would remove 3rd/log/ Would remove 3rd/tmp/ Would remove res/talkbox.pb phynero@mac:~/project/skytest/talkbox > bash start.sh
---------- 开始 ---------- ---------- 处理protocbuf ---------- ---------- 处理协议 ---------- Undefined symbols for architecture x86_64: "_luaL_checkinteger", referenced from: pack in lua-p-59cfc6.o "_luaL_checklstring", referenced from: pack in lua-p-59cfc6.o unpack in lua-p-59cfc6.o "_luaL_error", referenced from: pack in lua-p-59cfc6.o "_luaL_setfuncs", referenced from: _luaopen_p_core in lua-p-59cfc6.o "_lua_createtable", referenced from: _luaopen_p_core in lua-p-59cfc6.o add in lua-p-59cfc6.o unpack in lua-p-59cfc6.o "_lua_pushinteger", referenced from: unpack in lua-p-59cfc6.o "_lua_pushlstring", referenced from: pack in lua-p-59cfc6.o "_lua_pushnumber", referenced from: add in lua-p-59cfc6.o "_lua_pushstring", referenced from: add in lua-p-59cfc6.o unpack in lua-p-59cfc6.o "_lua_rawseti", referenced from: add in lua-p-59cfc6.o "_lua_settable", referenced from: add in lua-p-59cfc6.o unpack in lua-p-59cfc6.o "_lua_tonumberx", referenced from: __add in lua-p-59cfc6.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) ---------- 进入skynet目录 ----------
不知道怎么搞 求大神赐教
把lua-p.c和lua文件夹单拿到vps上去编译通过了
完全不是那么回事 不过已经在centos上跑通了 暂时在centos上学习了 mac不考虑了
哥,我想知道client和server之间消息包的格式
你的这个不支持枚举 lua loader error : ./lualib/proto_lua/ProtocType_pb.lua:6: attempt to call field 'EnumDescriptor' (a nil value)
phynero@mac:~/project/skytest/talkbox > bash start.sh
start.sh: line 74: cd: ./skynet/: No such file or directory
make: *** No rule to make target `linux'. Stop.
你妹啊,启动程序没有,./skynet