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

花都移动网站建设wordpress自适应自媒体主题

花都移动网站建设,wordpress自适应自媒体主题,我想做个网站怎么做 找谁做好,python抓取更新wordpress目录 一、下载 二、移植数据库 三、测试sqlite3 一、下载 SQLite Download Page 暂时先下载最新版的试试#xff0c;我们以前其实在ubuntu上直接使用过 嵌入式数据库sqlite3_常见的嵌入式数据库-CSDN博客 当时我把常用的操作和怎么使用记录下来了 现在把他移植到开发板…目录 一、下载 二、移植数据库 三、测试sqlite3 一、下载 SQLite Download Page 暂时先下载最新版的试试我们以前其实在ubuntu上直接使用过 嵌入式数据库sqlite3_常见的嵌入式数据库-CSDN博客 当时我把常用的操作和怎么使用记录下来了 现在把他移植到开发板上看看行不行 二、移植数据库 喵的这下载是真的慢呀下了一天挂个梯子好了。不对与其自我反思不如批判别人。中国14亿人为啥不给搞个服务器哇。手动狗头 先解压看看 最上层的这些貌似是配置咋编译的我研究一下 下面这介个makefile应该是根据不同的平台来指定的。 我觉得第一步应该是执行这个config脚本来配置makefile一般来说都是这个套路 服了文档也没说给个使用说明。 抱歉我错怪他了原来有readme This package contains:* the SQLite library amalgamation source code file: sqlite3.c* the sqlite3.h and sqlite3ext.h header files that define the C-languageinterface to the sqlite3.c library file* the shell.c file used to build the sqlite3 command-line shell program* autoconf/automake installation infrastucture for building on POSIXcompliant systems* a Makefile.msc, sqlite3.rc, and Replace.cs for building with MicrosoftVisual C on WindowsSUMMARY OF HOW TO BUILD Unix: ./configure; makeWindows: nmake /f Makefile.mscBUILDING ON POSIX The generic installation instructions for autoconf/automake are found in the INSTALL file.The following SQLite specific boolean options are supported:--enable-readline use readline in shell tool [defaultyes]--enable-threadsafe build a thread-safe library [defaultyes]--enable-dynamic-extensions support loadable extensions [defaultyes]The default value for the CFLAGS variable (options passed to the C compiler) includes debugging symbols in the build, resulting in larger binaries than are necessary. Override it on the configure command line like this:$ CFLAGS-Os ./configureto produce a smaller installation footprint.Other SQLite compilation parameters can also be set using CFLAGS. For example:$ CFLAGS-Os -DSQLITE_THREADSAFE0 ./configureBUILDING WITH MICROSOFT VISUAL C To compile for Windows using Microsoft Visual C:$ nmake /f Makefile.mscUsing Microsoft Visual C 2005 (or later) is recommended. Several Windows platform variants may be built by adding additional macros to the NMAKE command line.Building for WinRT 8.0 ----------------------FOR_WINRT1Using Microsoft Visual C 2012 (or later) is required. When using the above, something like the following macro will need to be added to the NMAKE command line as well:NSDKLIBPATH%WindowsSdkDir%\..\8.0\lib\win8\um\x86Building for WinRT 8.1 ----------------------FOR_WINRT1Using Microsoft Visual C 2013 (or later) is required. When using the above, something like the following macro will need to be added to the NMAKE command line as well:NSDKLIBPATH%WindowsSdkDir%\..\8.1\lib\winv6.3\um\x86Building for UWP 10.0 ---------------------FOR_WINRT1 FOR_UWP1Using Microsoft Visual C 2015 (or later) is required. When using the above, something like the following macros will need to be added to the NMAKE command line as well:NSDKLIBPATH%WindowsSdkDir%\..\10\lib\10.0.10586.0\um\x86PSDKLIBPATH%WindowsSdkDir%\..\10\lib\10.0.10586.0\um\x86NUCRTLIBPATH%UniversalCRTSdkDir%\..\10\lib\10.0.10586.0\ucrt\x86Building for the Windows 10 SDK -------------------------------FOR_WIN101Using Microsoft Visual C 2015 (or later) is required. When using the above, no other macros should be needed on the NMAKE command line.Other preprocessor defines --------------------------Additionally, preprocessor defines may be specified by using the OPTS macro on the NMAKE command line. However, not all possible preprocessor defines may be specified in this manner as some require the amalgamation to be built with them enabled (see http://www.sqlite.org/compile.html). For example, the following will work:OPTS-DSQLITE_ENABLE_STAT41 -DSQLITE_OMIT_JSON1However, the following will not compile unless the amalgamation was built with it enabled:OPTS-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT1上来就说了先config在make好好好 我估计还得有指定编译器和目标目录的选项之前移植boa和jpeg的时候就是这种步骤。 ./configure CCarm-buildroot-linux-gnueabihf-gcc --hostarm-buildroot-linux-gnueabihf --prefix../不出意外的报错了 看样子不能写相对路径 哦吼果然是这个样子 makefile也出来了现在我们make试试 卡在这了不知道是编译的太慢了还是出错了 看样子是编译的太慢了。问题不大 然后make install就可以把库文件移动到刚刚指定的目录了 有点大哇就不放到我的项目里了 这个可执行文件应该是可以配合其它的描述文件进行sql的shell操作 把东西放到板子上看看 可执行文件放到bin下其他的lib下的动态库放lib 然后忘了这个了刚刚查了一下这个是帮助链接的文件 pkg-config 是一个在 Unix-like 系统如 Linux中用于帮助编译器和链接器找到并使用已安装的库的工具。pkg-config 通过读取特定的 .pcPackage Config文件来提供库的各种必要信息如版本信息、编译和连接需要的参数等。 以下是 pkg-config 的一些主要功能和作用 检查库的版本号pkg-config 可以检查所需库的版本是否满足要求如果版本不满足它会打印出错误信息避免连接到错误版本的库文件。获得编译预处理参数例如宏定义和头文件的路径。这对于编译器在编译时找到正确的头文件非常重要。获得编译参数如库及其依赖的其他库的位置、文件名以及其他一些连接参数。这对于链接器在链接时找到正确的库文件非常重要。自动加入所依赖的其他库的设置当一个库依赖于其他库时pkg-config 可以自动将这些依赖项添加到编译和链接命令中。解决编译连接界面不统一问题由于库文件可能安装在不同的目录下使用 -I 和 -L 参数手动指定头文件和库文件的路径可能会导致编译命令界面的不统一。pkg-config 通过预定义的 .pc 文件来提供这些信息从而解决了这个问题。简化编译和链接通过自动提供正确的编译和链接选项pkg-config 减少了手动管理这些选项的复杂性。便于自动化在构建系统和脚本中pkg-config 可以自动化地解决依赖问题无需人工干预。 在使用 pkg-config 时通常会通过命令行参数如 --cflags 和 --libs来指定需要提取的信息类型。例如pkg-config --cflags --libs libname 命令会输出与 libname 库相关的编译和链接选项。 虽然我们交叉编译但是在板子上也放一个好了 还有一个是share下面有个man文件看样子是用来更新man手册的 齐活了 三、测试sqlite3 ok呀shell模式可以用了太久没用忘了咋用了哈哈 嵌入式数据库sqlite3-CSDN博客 还好以前记录的笔记还算全 下面写个测试程序看看能不能用api 先修改编译框架 不认识这些api呢 明明有哇 没链接库 没毛病 /* * File name : sql.c* Function : sql handle* Date : 2024-05-12 * Version : 0.1.0 */ /************************************************************************************ ***************************************INCLUDE*************************************** *************************************************************************************/ #include sql.h /************************************************************************************ ***************************************EXTERN**************************************** *************************************************************************************/int callback(void *arg, int f_num, char ** f_value, char ** f_name) {int i 0;for(i 0; i f_num; i){// printf(%-8s %s, f_value[i], f_name[i]);printf(%-8s, f_value[i]);}printf();putchar(10);return 0; }int sql_test() {sqlite3 *db;char *errmsg;//errmsg是一个二级指针定义一个一级指针取地址。char sql[128];if(sqlite3_open(DATABASE, db) ! SQLITE_OK){printf(%s\n, sqlite3_errmsg(db));return -1;}else{printf(open DATABASE success.\n);}if(sqlite3_exec(db, create table if not exists xty(id int, device char , data char);,NULL, NULL, errmsg) ! SQLITE_OK)//分号可加可不加{printf(%s\n, errmsg);}else{printf(Create or open table success.\n);}sprintf(sql, insert into xty values(%d, %s, %s), 1, gps, 001);if(sqlite3_exec(db, sql, NULL, NULL, errmsg) ! SQLITE_OK){printf(%s\n, errmsg);}else{printf(Insert done.\n);}sprintf(sql, select count(*) from xty where namegps;);if(sqlite3_exec(db, sql, callback,NULL , errmsg) ! SQLITE_OK){printf(%s, errmsg);}else{printf(select done.\n);}return 0; }
http://www.zqtcl.cn/news/858952/

相关文章:

  • 网站开发的安全性原则潍坊 logo设计公司
  • 宜春市城乡规划建设局网站网站设计师联盟
  • 重庆施工员证查询网站广告设计专业认知报告
  • 网站建设费用要多少黑糖不苦还做网站么
  • 公司网站改版 目的好知网做网站
  • 华强北手机网站建设哈尔滨网站建设oeminc
  • 公司简介网站模板新浪云存储 wordpress
  • 阿里云个人网站建设威海建设集团网站
  • 湖南城乡住房建设厅网站中石化网站群建设
  • 网站关键词怎么做排名大连网站建设方案案例
  • 西安做网站上海建设资质审批网站
  • 平阳高端网站建设广州凡科公司是外包吗
  • 购物网站项目经验公司的八个主要部门
  • 绿色大气网站模板株洲58同城网站建设电话
  • 网站建设 总体思路福州建设高端网站
  • 做网站需要什么配置北京工信部网站备案查询
  • 奇信建设集团官方网站专题网站建站
  • 站点推广策略包括黄山旅游必去十大景点
  • 佛山龙江做网站的信宜做网站
  • 推广自己的网站需要怎么做wordpress 正计时
  • 做网站工资怎么样织梦的官方网站
  • python制作视频网站开发互动网站建设公司
  • 网站软文代写广西网站设计公司排行榜
  • c2c网站代表和网址mirages WordPress
  • 网站建设开发案例教程wordpress中国区官方论坛
  • 王晴儿网站建设做啊录音网站
  • 网站开发版本号正规的企业网站建设公司
  • 中国做网站正邦温州网站建设方案服务
  • 南通网站关键词优化wordpress做小程序
  • 上海企业网站seo多少钱做网站图片链接到天猫