[linux]cmake:Could NOT find ZLIB
$cmake .. -- CMAKE_TOOLCHAIN_FILE='' fatal: Not a git repository (or any of the parent directories): .git Git commit hash: nicholas@ubuntu- CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found ver...标签: linux
[embedded]An application of qtopia in mini2440
main.cpp #include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]){ QApplication app(argc, argv); QLabel *label = new QLabel("Hehe", 0); label->show(); return app.exec(); } hello.pro CONFIG += qtopiaapp CONF...标签: embedded
[embedded]纯净版qtopia-2.2.0编译PC上运行版
1.下载qtopia-free-src-2.2.0.tar.gz 2.解压 3.patch 4. echo yes | ./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -gif' -qpe '-edition pda -displaysize 240x320 -fontfamilies "helvetica fixed micro smallsmooth smoothtimes"' -qt2 '-no-openg1 -no-xft' -dqt '-no-xft -thread' m...标签: embedded
[php] How to create multi websites in XAMPP
1.Edit C:\Windows\System32\Drivers\etc\hosts Expand with: 127.0.0.1 www.test.com 127.0.0.1 www.test2.com 2.Edit xampp\apache\conf\extra\httpd-vhosts.conf Add contents like: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /xampp/htdocs/test Serv...[embedded]tslib移植到mini2440上面
1.解压 tar zxvf tslib-1.4.tar.gz 2../autoget.sh 3../configure --prefix=/home/nicholas/tslib_install/ --host=arm-linux ac_cv_func_malloc_0_nonnull=yes 4.make 5.make install 这会将四个文件生成到prefix设定的目录下,将四个文件复制到根文件系统的 /usr/local/tslib 下就可以了。 6.修改文件系统中/etc/profile: export TSLIB_ROOT=/usr/lo...标签: embedded
[embeded]qtopia:libqtopia.so: undefined reference to `uuid_generate'
libqtopia.so: undefined reference to `uuid_generate' 这么一个错误,困扰了我好几天,网上的解决方案如下: #tar -zxvf e2fsprogs-1.39.tar.gz #cd e2fsprogs-1.39 #./configure --enable-elf-shlibs #make #cp -rf lib/libuuid.so* /usr/lib #sudo vim tmake/lib/linux-g++/tmake.conf TMAKE_LIBS_X11 = -lXext -lX11...[c]构造合法身份证
#include <stdio.h> #define LEN 18 void main(){ char id[LEN] = {0}; int weight[] = {7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2}; int validate[] = {1,0,'x'-'0',9,8,7,6,5,4,3,2,1}; int i=0; int sum = 0; printf("Input your id\n"); ...标签: C
[linux]阿里云数据库启动不了
阿里云的数据库跑了快一年了,今天登上终端打算看下数据的,结果mysql -u *** 弹回一个错误。ps aux|grep mysql结果如下 root 988 0.0 0.0 4400 740 ? S Jan04 0:00 /bin/sh /alidata/server/mysql/bin/mysqld_safe --datadir=/alidata/server/mysql/data --pid-f...标签: linux
[embeded]64bit Ubuntu编译软件可能会需要某些32bit库
以前在富士康做BSP的时候第一步就是安装系统,装完之后会同时安装以下一堆库,不完全清楚这些库有什么作用,不过至少现在我知道很多软件是32bit的,所以需要安装一些32bit的库用以代替系统自带的64bit库文件。 $ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32z-dev libgl1-mesa-dev g++-mul...[embeded]粗略的yaffs文件系统制作步骤
粗略的文件系统制作步骤,至此已经完成了bootload,kernel,rootfs的全部流程,嵌入式学习之路也算是入门了。 1.yaffs中带有mkyaffs2image,需要编译安装 2.下载busybox 配置make menuconfig 编译make 会产生"./_install"目录,并且下面有busybox文件和目录产生 3.在_install目录下创建剩余的目录和文件: mkdir root dev etc boot tmp var sys proc lib mnt home mkdir etc/init.d etc/rc.d etc/sysconfig m...标签: embedded
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...