Comments (6)
protobuf编译失败 对这个单独编译看看
from talkbox.
echo " >>---------- 处理protocbuf ----------"
mv ./3rd/pbc/Makefile ./3rd/pbc/Makefile.bak
mv ./3rd/pbc/binding/lua/Makefile ./3rd/pbc/binding/lua/Makefile.bak
cp ./3rd/pbcMakefile ./3rd/pbc/Makefile
cp ./3rd/pbcluaMakefile ./3rd/pbc/binding/lua/Makefile
cd ./3rd/pbc/ && make && cd ./binding/lua/ && make && cd ../../../../
# 生成协议
我自己编译了protobuf2.5 生成的protoc软甩到了user/bin 然后把上面的部分注释掉 直接执行下面那句 然后还是有问题
protoc -o ./res/talkbox.pb ./res/talkbox.proto
=============================================
phynero@mac:/project/skytest/talkbox > bash clean.sh/project/skytest/talkbox > bash start.sh
Would remove 3rd/log/
Would remove 3rd/tmp/
Would remove res/talkbox.pb
phynero@mac:
---------- 开始 ----------
---------- 处理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目录 ----------
===================================================
不知道怎么搞 求大神赐教
from talkbox.
把lua-p.c和lua文件夹单拿到vps上去编译通过了
from talkbox.
完全不是那么回事 不过已经在centos上跑通了 暂时在centos上学习了 mac不考虑了
from talkbox.
哥,我想知道client和server之间消息包的格式
from talkbox.
你的这个不支持枚举 lua loader error : ./lualib/proto_lua/ProtocType_pb.lua:6: attempt to call field 'EnumDescriptor' (a nil value)
from talkbox.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from talkbox.