当前位置:网站首页>Ruixin micro rk1126 platform platform porting libevent cross compiling libevent
Ruixin micro rk1126 platform platform porting libevent cross compiling libevent
2022-06-10 19:04:00 【QMCY_ jason】
The program needs to have a http Service to interact with the master , Just before, the Hisilicon platform used libevent
Now you need to migrate to RK platform . hold libevent After the source code comes down Put a random Directory
And build a build.sh
The contents are as follows : It's not complicated. The main thing is to set up the correct cross compilation tool
./configure \
--host=arm-linux-gnueabihf CC=arm-linux-gnueabihf-gcc\
--prefix=/home/QMCY/libevent-2.1.12-stable/rk1126 \
--disable-openssl
after make make install If you don't make mistakes normally, you will Generate a rk1126 Catalog
It contains include and lib Catalog Enter into lib Catalog Find that all the required libraries have been compiled

then In the program modify CMakeLists.txt Compare the header file path to lib Library paths are added

In the main program code Start a thread http service



Compiler Program down to the board , And then again pc Use postman Send a test message

In the program You can receive the message correctly

after According to the improbable api Just deal with it separately
边栏推荐
- Chapter IV data type (III)
- Adobe Premiere基础-工具使用(选择工具,剃刀工具,等常用工具)(三)
- vim常用快捷键
- Analysis of Muduo source code -- an analysis of the rigor, efficiency and flexibility of Muduo library code design with three slices
- Request header field XXXX is not allowed by access control allow headers in preflight response
- [kuangbin] topic 12 basic DP1
- nodejs-基本架构分析-解析引擎目录-插件安装-核心模块
- Real time business intelligence Bi (II): reasonable ETL architecture design to realize quasi real time Business Intelligence BI
- "Digital transformation, data first", talk about how important data governance is to enterprises
- Linked List
猜你喜欢

元数据管理,数字化时代企业的基础建设

跨域报错:When allowCredentials is true, allowedOrigins cannot contain the special value “*“

数字化时代,企业如何进行数据安全治理,保障数据资产安全

Request header field xxxx is not allowed by Access-Control-Allow-Headers in preflight response问题

关于YUV格式的一些总结

Opencv does not rely on any third-party database for face detection

Wechat applet, get the current page and judge whether the current page is a tabbar page

Common methods of stream flow lambder

VMware ESXi 各版本号对照表

Chapter II data type (I)
随机推荐
[QNX hypervisor 2.2 user manual] 3.2.1 VM configuration syntax
跨域报错:When allowCredentials is true, allowedOrigins cannot contain the special value “*“
数字化时代,企业如何进行数据安全治理,保障数据资产安全
Adobe Premiere foundation - opacity (matte) (11)
3. Golang并发入门
Real time business intelligence Bi (II): reasonable ETL architecture design to realize quasi real time Business Intelligence BI
Anchor type and row data type of DB2 SQL pl
华为云HCDE上云之路第二期:华为云如何助力制造业中小企业数字化转型?
瑞芯微RK1126平台 平台移植libevent 交叉编译libevent
How to correctly understand the real-time nature of Bi?
Beam pattern analysis based on spectral weighting
Adobe Premiere基础-导入导出,合并素材,源文件编译,脱机(二)
In the introductory study of data visualization, we should be alert to pitfalls and misunderstandings and grasp key nodes
Adobe Premiere基础-素材嵌套(制作抖音结尾头像动画)(九)
直播预告 | 解构OLAP!新型多维分析架构范式全公开!Apache Doris 将带来五个重磅议题!
RK1126 新添加一个模块
基于谱加权的波束方向图分析
Cross domain error: when allowcredentials is true, allowedorigins cannot contain the special value "*“
How to transform digital transformation? Which way?
如何设置 SaleSmartly 以进行 Google Analytics(分析)跟踪