当前位置: 首页 > wzjs >正文

wordpress安装工信部备案seo基础培训

wordpress安装工信部备案,seo基础培训,湖南金科建设有限公司网站,如何把做的网站变成链接一、参考资料 二、准备工作 1. 编译环境 宿主机:Ubuntu 20.04.6 LTSHost:ARM32位交叉编译器:arm-linux-gnueabihf-gcc-11.1.0 2. 设置交叉编译工具链 在交叉编译之前,需要设置交叉编译工具链的环境变量。 export PATH/path/…

一、参考资料

二、准备工作

1. 编译环境

  • 宿主机:Ubuntu 20.04.6 LTS
  • Host:ARM32位
  • 交叉编译器:arm-linux-gnueabihf-gcc-11.1.0

2. 设置交叉编译工具链

在交叉编译之前,需要设置交叉编译工具链的环境变量。

export PATH=/path/to/toolchains/arm-linux-gnueabihf/bin:$PATH

三、交叉编译cJSON

1. 下载源码

GitHub - DaveGamble/cJSON: Ultralightweight JSON parser in ANSI C

下载并解压源码。

tar -xvzf cJSON-1.7.18.tar.gz

2. 编译安装

cd cJSON-1.7.18
mkdir build && cd buildcmake -DCMAKE_INSTALL_PREFIX=/path/to/cjson/arm_install \-DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc \-DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ \-DBUILD_SHARED_LIBS=ON \-DENABLE_CJSON_TEST=OFF ..  # 关闭测试程序make -j8
make install 

编译安装之后的文件目录:

yoyo@yoyo:~/360Downloads/cJSON-1.7.18$ tree -L 3 arm_install/
arm_install/
├── include
│   └── cjson
│       └── cJSON.h
└── lib├── cmake│   └── cJSON├── libcjson.so -> libcjson.so.1├── libcjson.so.1 -> libcjson.so.1.7.18├── libcjson.so.1.7.18└── pkgconfig└── libcjson.pc

cmake编译:

yoyo@yoyo:~/360Downloads/cJSON-1.7.18/build$ cmake -DCMAKE_INSTALL_PREFIX=/path/to/cJSON-1.7.18/arm_install \
>   -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc \
>       -DCMAKE_CXX_COMPILER=arm-linux-gnueabihf-g++ \
>       -DBUILD_SHARED_LIBS=ON \
>       -DENABLE_CJSON_TEST=OFF ..
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):Compatibility with CMake < 3.10 will be removed from a future version ofCMake.Update the VERSION argument <min> value.  Or, use the <min>...<max> syntaxto tell CMake that the project requires at least <min> but has been updatedto work with policies introduced by <max> or earlier.-- The C compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /path/to/toolchains/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test FLAG_SUPPORTED_stdc89
-- Performing Test FLAG_SUPPORTED_stdc89 - Success
-- Performing Test FLAG_SUPPORTED_pedantic
-- Performing Test FLAG_SUPPORTED_pedantic - Success
-- Performing Test FLAG_SUPPORTED_Wall
-- Performing Test FLAG_SUPPORTED_Wall - Success
-- Performing Test FLAG_SUPPORTED_Wextra
-- Performing Test FLAG_SUPPORTED_Wextra - Success
-- Performing Test FLAG_SUPPORTED_Werror
-- Performing Test FLAG_SUPPORTED_Werror - Success
-- Performing Test FLAG_SUPPORTED_Wstrictprototypes
-- Performing Test FLAG_SUPPORTED_Wstrictprototypes - Success
-- Performing Test FLAG_SUPPORTED_Wwritestrings
-- Performing Test FLAG_SUPPORTED_Wwritestrings - Success
-- Performing Test FLAG_SUPPORTED_Wshadow
-- Performing Test FLAG_SUPPORTED_Wshadow - Success
-- Performing Test FLAG_SUPPORTED_Winitself
-- Performing Test FLAG_SUPPORTED_Winitself - Success
-- Performing Test FLAG_SUPPORTED_Wcastalign
-- Performing Test FLAG_SUPPORTED_Wcastalign - Success
-- Performing Test FLAG_SUPPORTED_Wformat2
-- Performing Test FLAG_SUPPORTED_Wformat2 - Success
-- Performing Test FLAG_SUPPORTED_Wmissingprototypes
-- Performing Test FLAG_SUPPORTED_Wmissingprototypes - Success
-- Performing Test FLAG_SUPPORTED_Wstrictoverflow2
-- Performing Test FLAG_SUPPORTED_Wstrictoverflow2 - Success
-- Performing Test FLAG_SUPPORTED_Wcastqual
-- Performing Test FLAG_SUPPORTED_Wcastqual - Success
-- Performing Test FLAG_SUPPORTED_Wundef
-- Performing Test FLAG_SUPPORTED_Wundef - Success
-- Performing Test FLAG_SUPPORTED_Wswitchdefault
-- Performing Test FLAG_SUPPORTED_Wswitchdefault - Success
-- Performing Test FLAG_SUPPORTED_Wconversion
-- Performing Test FLAG_SUPPORTED_Wconversion - Success
-- Performing Test FLAG_SUPPORTED_Wccompat
-- Performing Test FLAG_SUPPORTED_Wccompat - Success
-- Performing Test FLAG_SUPPORTED_fstackprotectorstrong
-- Performing Test FLAG_SUPPORTED_fstackprotectorstrong - Success
-- Performing Test FLAG_SUPPORTED_Wcomma
-- Performing Test FLAG_SUPPORTED_Wcomma - Failed
-- Performing Test FLAG_SUPPORTED_Wdoublepromotion
-- Performing Test FLAG_SUPPORTED_Wdoublepromotion - Success
-- Performing Test FLAG_SUPPORTED_Wparentheses
-- Performing Test FLAG_SUPPORTED_Wparentheses - Success
-- Performing Test FLAG_SUPPORTED_Wformatoverflow
-- Performing Test FLAG_SUPPORTED_Wformatoverflow - Success
-- Performing Test FLAG_SUPPORTED_Wunusedmacros
-- Performing Test FLAG_SUPPORTED_Wunusedmacros - Success
-- Performing Test FLAG_SUPPORTED_Wmissingvariabledeclarations
-- Performing Test FLAG_SUPPORTED_Wmissingvariabledeclarations - Failed
-- Performing Test FLAG_SUPPORTED_Wusedbutmarkedunused
-- Performing Test FLAG_SUPPORTED_Wusedbutmarkedunused - Failed
-- Performing Test FLAG_SUPPORTED_Wswitchenum
-- Performing Test FLAG_SUPPORTED_Wswitchenum - Success
-- Performing Test FLAG_SUPPORTED_fvisibilityhidden
-- Performing Test FLAG_SUPPORTED_fvisibilityhidden - Success
-- Configuring done (1.5s)
-- Generating done (0.0s)
CMake Warning:Manually-specified variables were not used by the project:CMAKE_CXX_COMPILER-- Build files have been written to: /path/to/cJSON-1.7.18/build

make编译:

yoyo@yoyo:~/360Downloads/cJSON-1.7.18/build$ make -j8
[ 50%] Building C object CMakeFiles/cjson.dir/cJSON.c.o
[100%] Linking C shared library libcjson.so
[100%] Built target cjson

make install 安装:

yoyo@yoyo:~/360Downloads/cJSON-1.7.18/build$ make install 
[100%] Built target cjson
Install the project...
-- Install configuration: ""
-- Installing: /path/to/cJSON-1.7.18/arm_install/include/cjson/cJSON.h
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/pkgconfig/libcjson.pc
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/libcjson.so.1.7.18
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/libcjson.so.1
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/libcjson.so
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/cmake/cJSON/cjson.cmake
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/cmake/cJSON/cjson-noconfig.cmake
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/cmake/cJSON/cJSONConfig.cmake
-- Installing: /path/to/cJSON-1.7.18/arm_install/lib/cmake/cJSON/cJSONConfigVersion.cmake

3. 移植到开发板

cp -arf /path/to/cJSON/arm_install/lib/ /usr/cJSON/
http://www.dtcms.com/wzjs/77039.html

相关文章:

  • html5模板网站发布任务注册app推广的平台
  • 王磊网站建设怎么在网络上推广
  • 企业网站的意义软文发稿平台有哪些
  • 怎么做查询网站吗国家认可的教育培训机构
  • 编程网站scratch在线使用免费公司网站建站
  • 哈尔滨模版建站公司推荐东莞今天新增加的情况
  • 自己做的网站怎么被搜索出来百度服务热线电话
  • 太月星网站建设程序开发网页设计廊坊seo整站优化
  • 如何为网站做优化公司关键词seo
  • 道路建设网站沈阳seo整站优化
  • 个人网站设计成品百度网盘登录
  • 博兴建设局网站福州seo
  • 标准型网站---北京网站建设怎么做竞价托管
  • 有关网站建设有那些功能活动策划方案
  • 个人网站开发的背景百度sem推广具体做什么
  • 建个网站我在万网购买了一个域名接下来要怎么做竞价网络推广外包
  • 我做的网站有时打开很慢什么原因呢郑州百度推广公司电话
  • 营销型平台网站建设爱站查询
  • 西安手机网站开发企业网站制作流程
  • 加强酒店网站建设的建议今日新闻头条新闻摘抄
  • 如何自己建设网站seo优化常识
  • 网站打模块市场调研报告范文3000字
  • 商城网站建设设计介绍seo教程培训
  • 做网站用什么软件最好世界十大网站排名
  • 网站建设 广州佛山网站建设工作
  • 网站如何做excel预览网络营销公司有哪些
  • 卖渔具的亲戚做网站找关键词
  • 平台网站建设设计东莞市网络营销公司
  • 河南自己怎么做网站长沙百度网站推广优化
  • 建设网站需要公司吗专业seo网络推广