在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):wypx/mobile开源软件地址(OpenSource Url):https://github.com/wypx/mobile开源编程语言(OpenSource Language):C 62.7%开源软件介绍(OpenSource Introduction):Linux平台开源拨号应用程序-mobile1. 主要特性
2. 快速开始2.1 环境准备Linux发行版本 : 支持Debian, Ubuntu,Centos等发行版本
Linux架构版本 : 目前仅测试支持armv7, aarch64架构的嵌入式设备
测试Linux设备 : Linux raspberrypi 4.14.52-v7+
测试GCC版本 : gcc version 6.4.1 20171012 (Linaro GCC 6.4-2017.11)
测试Linux设备 : Linux jetson 4.9.140-tegra aarch64 aarch64 aarch64 GNU/Linux
测试GCC版本 : gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)
2.2 下载依赖库 git clone https://github.com/wypx/libmsf/ 下载到mobile目录的app子目录
git clone https://github.com/wypx/mobile/ Please see this Wiki Download Page for more repository infos. 2.3 编译开源库root@a3efcdb0894d:/home/share/tomato/mod/libmsf# python build.py
Welcome to join me http://luotang.me
Welcome to join me https://github.com/wypx/libmsf
******************* Micro Service Framework Build Starting **************************
-- Dir 'build/lib' has already exist now.
-- Dir 'build/app' has already exist now.
-- INFO: Numa library is found.
-- Current project compile in debug mode.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/share/tomato/mod/libmsf/build/lib
[ 3%] Built target msf
[ 10%] Built target msf_encrypt
[ 18%] Built target msf_agent
[ 36%] Built target msf_event
[ 43%] Built target msf_sock
[100%] Built target msf_base
-- Configuring done
-- Generating done
-- Build files have been written to: /home/share/tomato/mod/libmsf/build/app
******************* Micro Service Framework Build Ending **************************** root@a3efcdb0894d:/home/share/tomato/mod/libmsf/build/app# ls -l
total 28
-rw-r--r-- 1 root root 13581 Jan 27 12:39 CMakeCache.txt
drwxr-xr-x 12 root root 384 Jan 29 03:29 CMakeFiles
-rw-r--r-- 1 root root 5528 Jan 29 03:29 Makefile
-rw-r--r-- 1 root root 2234 Jan 27 12:39 cmake_install.cmake
drwxr-xr-x 6 root root 192 Jan 29 03:29 mobile
drwxr-xr-x 6 root root 192 Jan 29 03:29 msf_agent_server 各个服务进程之间的通信代理服务端程序
drwxr-xr-x 6 root root 192 Jan 29 03:29 msf_guard 用于守护监控代理进程msf_guard
drwxr-xr-x 6 root root 192 Jan 29 03:29 msf_shell 壳子程序,用于记载配置文件中的插件
root@a3efcdb0894d:/home/share/tomato/mod/libmsf/build/app# ls mobile/ -l
total 7952
drwxr-xr-x 5 root root 160 Jan 29 03:29 CMakeFiles
-rw-r--r-- 1 root root 12734 Jan 27 12:39 Makefile
-rwxr-xr-x 1 root root 7159504 Jan 29 03:29 Mobile 独立编译的mobile拨号程序
-rw-r--r-- 1 root root 1130 Jan 27 12:39 cmake_install.cmake
root@a3efcdb0894d:/home/share/tomato/mod/libmsf/build/app# 2.4 运行应用1. 执行样例程序
$ ./Mobile
2. 查看运行日志
运行结果 2.5 硬件平台适配根据开发者目标平台以的不同,需要进行相应的适配 3. 参考文章
4. 版权LicenseLibmsf is released under the Gnu 2.0 license.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论