Skip to content
/ mymuduo Public
forked from xyygudu/mymuduo

c++11实现简易muduo网络库

Notifications You must be signed in to change notification settings

Exai/mymuduo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mymuduo

c++11实现简易muduo网络库

muduo讲解

Muduo讲解

编译动态链接库

根目录的build.sh和example的Makefile中把项目路径修改为自己当前项目的路径,然后执行如下代码生成动态链接库

sudo ./build.sh

测试

cd examle
make
./EchoServer

如果执行./EchoServer报如下错误,表示找不到动态链接库

./EchoServer: error while loading shared libraries: libmymuduo.so: cannot open shared object file: No such file or directory

则需要执行下面代码临时指定动态链接库的目录

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:你项目的目录/lib

About

c++11实现简易muduo网络库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.9%
  • CMake 1.1%
  • Other 1.0%