Linux下编译失败
Psi57 opened this issue · 8 comments
Psi57 commented
依赖应该都装好了。
编译错误:
src/client/chunkclient.cpp:21:51: 致命错误:../protocol/gen/s2c/2-Chunk_generated.h:没有那个文件或目录
Miigon commented
对不起,编译指南没有及时更新
编译前先执行src/protocol里的make_fb.py
支持python2.7和3.x
Psi57 commented
谢谢,我去试试:)
Psi57 commented
编译成功了,不过运行不了
2016-10-19 20:11:49[launcher][debug]Load:nwclient
2016-10-19 20:11:49[launcher][fatal]nwclient: cannot open shared object file: No such file or directory
Source : /home/wuxiangdong/extra/Home/WorkSpace/git/NEWorld/./src/shared/library.h
At Line : 131
Function : loadLibrary
2016-10-19 20:11:49[launcher][fatal]Assertion failed!
Source : /home/wuxiangdong/extra/Home/WorkSpace/git/NEWorld/./src/shared/debug.h
At Line : 31
Function : AssertFunc
2016-10-19 20:11:49[launcher][fatal]At line 138 in "/home/wuxiangdong/extra/Home/WorkSpace/git/NEWorld/./src/shared/library.h", function getFunc
Source : /home/wuxiangdong/extra/Home/WorkSpace/git/NEWorld/./src/shared/debug.h
At Line : 32
Function : AssertFunc
terminate called after throwing an instance of 'std::runtime_error'
what(): Assertion failed!
fish: './launcher client' terminated by signal SIGABRT (Abort)
Miigon commented
linux下因为构造目标文件名和windows不同,所以需要创建配置文件
这部分最近经常修改,所以我也说不出方法来
@abc612008 应该会比较明白(丢锅
harrynull commented
实际上我也不知道lys重构的是啥样的了。有没有在linux下编译的人,分享一下设置方法呗OAO
ascchrvalstr commented
同样是编译成功然后运行出错。
FB版(用Wine)在Fedora里面运行的好好的,换到C++就不停出错。。。
DWVoid commented
@abc612008 @ascchrvalstr Linux下面启动需要写settings.json
Miigon commented
Linux 下和osx下相似