Coder Social home page Coder Social logo

Comments (9)

awayfang avatar awayfang commented on May 18, 2024

doc目录下就有文档的 document/Teaf(isgw)框架设计和使用说明书.doc

from teaf.

awayfang avatar awayfang commented on May 18, 2024

Teaf/trunk/teaf(isgw)/readme.txt 目录下也有简单的说明

from teaf.

githublaohu avatar githublaohu commented on May 18, 2024

L/learning/work/wuC/lua-5.3.3/ -L/usr/include/mysql -static -lACE -lnsl -lm -lz -lc -ldl -lpthread -lrt -llua -lmysqlclient_r -lhiredis
/usr/bin/ld: 找不到 -lACE
/usr/bin/ld: 找不到 -llua
/usr/bin/ld: 找不到 -lmysqlclient_r
/usr/bin/ld: 找不到 -lhiredis

不知道这个怎么处理。
可以用源码直接安装吗?

下面是我修改的makefile文件。麻烦下。
CXX=g++ -g
CFLAGS= -DPDB -DADMIN_OPER #-DISGW_USE_LUA #-DISGW_USE_ASY #-DISGW_USE_IBC -DISGW_USE_DLL -DVIP_OPER -DWEBGAME_OPER
INCLUDE= -I//ACE_wrappers -I/lua-5.3.3 -I/hiredis -I./ -I/usr/local/include/ace -I../easyace/ -I/usr/include/mysql -I../comm/ -I../frm -I../../comm/

#ISGW_USE_DLL = 1
ifdef ISGW_USE_DLL
LIBS= -L./ -L/usr/local/lib/ -L../../comm/
/usr/local/lib/libACE.a -lnsl -lm -lz -lc -ldl -lpthread -lrt #-llua /usr/local/lib/libmysqlclient_r.a -lhiredis
else
LIBS= -L./ -L/usr/local/lib/ -L../../comm/
-L/ACE_wrappers/
-L/lua-5.3.3/
-L/usr/include/mysql
-static -lACE -lnsl -lm -lz -lc -ldl -lpthread -lrt -llua -lmysqlclient_r -lhiredis
endif

from teaf.

githublaohu avatar githublaohu commented on May 18, 2024

注释掉 ACE lua hiredis.
ACE 编译 不通过。
/ACE_wrappers/ace/Acceptor.cpp:168:对‘ACE_INET_Addr::~ACE_INET_Addr()’未定义的引用
/ACE_wrappers/ace/Acceptor.cpp:168:对‘ACE_INET_Addr::~ACE_INET_Addr()’未定义的引用
collect2: error: ld returned 1 exit status
makefile:23: recipe for target 'isgw_svrd' failed

from teaf.

awayfang avatar awayfang commented on May 18, 2024

指导文档中有的 需要先编译ACE的库,这个框架是依赖ACE的
其他的像lua mysql hiredis不用都可以注释掉

from teaf.

githublaohu avatar githublaohu commented on May 18, 2024

mysql 与 hiredis,这要用啊。
有直接引来的方式吗?
不编译 这些库。
编译之后文件。到处放,好烦的。。。

from teaf.

awayfang avatar awayfang commented on May 18, 2024

我们只是一个网络框架 不可能把需要的第三方库都包含进来的,请使用自己安装的mysql和redis的库就好

from teaf.

githublaohu avatar githublaohu commented on May 18, 2024

抱歉,可能我观点表达错误了。
我的意思是,在makefile有什么办法。直接引用源文件,而不是引用/usr/lib (其他系统目录)文件 和 编译过的o或者a文件。

from teaf.

awayfang avatar awayfang commented on May 18, 2024

不行的 编译使用到第三方库的时候 就需要引用库的头文件 和 库文件.a或者so的
暂时不支持直接通过第三方的源码进行编译 为了方便交流 可以加 QQ群 379103538

from teaf.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.