大话文言文

2017-6-1 写生活

        既然语言以简洁为美,“丝绸之路”为什么不叫“丝绸路”甚至“丝路”,“一带一路”为什么不叫“带路”?我想如果放到古代肯定不会这么起名字吧。         语言之所以能变得简洁,很大程度上是依赖于文言文的,中国古代为什么就会使用文言文呢?         古代人们交谈中当然还是以白话文为主,就如你平常解释一些难以名状的东西,势必手足并用,什...

阅读全文>>

评论(0) 浏览(2148)

[embedded]Port mqtt client to arm platform

2017-5-23 写技术

1.Build openssl. Download openssl-1.0.2.tar.gz tar openssl-1.0.2.tar.gz cd openssl-1.0.2 vi Makefile, let: CC = arm-linux-gcc AR = arm-linux-ar RANLIB = arm-linux-ranlib INSTALLTOP = /home/nicholas/workspace/project/mosquitto/run/for_arm/openssl_install OPE...

阅读全文>>

标签: embedded

评论(0) 浏览(1509)

[C#]Connect to sql server

2017-5-20 写技术

using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; namespace ConsoleApplication1 { class Program { static void test() { SqlConnection con = new SqlConnection(); con.ConnectionString =...

阅读全文>>

标签: C#

评论(0) 浏览(1336)

[embedded]audio: /dev/dsp: No such file or directory​

2017-5-17 写技术

madplay移植成功了之后可以播放第一支曲子了,于是 madplay /home/music/nic.mp3 可是,竟然出现: audio: /dev/dsp: No such file or directory 如果出现上述错误,想必是驱动的问题, 对于Embedded的驱动看了下配置: <*>Device Drivers--->      <*>sound card support ---> &...

阅读全文>>

标签: embedded

评论(0) 浏览(1465)

[embedded]Port madplay to embedded system

2017-5-16 写技术

1.Prepare tar packages: libid3tag-0.15.1b.tar.gz libmad-0.15.1b.tar.gz madplay-0.15.2b.tar.gz zlib-1.2.3.tar.bz2 2.Install zlib cd zlib-1.2.3 ./configure -shared --prefix=/usr/local/madplay/zlib-1.2.3 vi Makefile CC=arm-Linux-gcc LDSHARED=arm-linux-gcc -shared -W1,-soname,libz.so.1 CPP=...

阅读全文>>

标签: embedded

评论(0) 浏览(1375)

[embedded]How to install NFS on ubuntu

2017-5-12 写技术

1.Install. sudo apt-get install nfs-kernel-server 2.Config. vim /etc/exports Add a line to the end of file. /home/nicholas/.../busybox/busybox-1.13.3/_install *(rw,sync,no_root_squash,no_subtree_check) 3.Restart. /etc/init.d/nfs-kernel-server restart

阅读全文>>

标签: embedded

评论(1) 浏览(2151)

[embedded]How to build phonon for arm

2017-5-12 写技术

1.Go to library directory of arm qt first. cd qt-everywhere-opensource-src-4.8.6-arm/src/phonon 2.Here you can find that the true code is not in the directory by phonon.pro 3.But you can build as well. make make install 4.Head and library files will be insta...

阅读全文>>

标签: embedded

评论(0) 浏览(1245)

[embedded]The first program about gstreamer like "Hello world"

2017-5-11 写技术

1.Install gstreamer librarys. But in my system its version is 0.10. gstreamer1-devel gstreamer1-plugins-base-tools gstreamer1-devel-docs gstreamer1-plugins-base-devel gstreamer1-plugins-base-devel-docs gstreamer1-plugins-good gstreamer1-plugins-good-extras gstreamer1-plugins-ugly gstreamer1-plu...

阅读全文>>

标签: embedded

评论(0) 浏览(1301)

[embedded]Unable to locate package

2017-5-11 写技术

If you apt-get install some package but return that error "Unable to locate package ***", That because of your system not support the package you choosed. Search the right package first by typing: apt-cache search *** Or typing: apt-cache serach ***|grep ****** ...

阅读全文>>

标签: embedded

评论(0) 浏览(1286)

[embedded]Port an application by qtcreate to mini2440

2017-5-9 写技术

1. Copy arm-linux-gcc library to root file system. #cp /opt/crosstool/gcc-4.4.3/arm-none-linux-gnueabi/lib/*  busybox/_install/lib -a The "-a" options let soft link to new directory but not truely file. 2.Copy qt-arm library to root file system. #cp /usr...

阅读全文>>

标签: embedded

评论(0) 浏览(1271)

Powered by anycle 湘ICP备15001973号-1