[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) 浏览(217)

[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) 浏览(242)

[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) 浏览(222)

[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) 浏览(384)

[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) 浏览(207)

[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) 浏览(250)

[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) 浏览(218)

[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) 浏览(257)

[ubuntu]批量ln

2017-5-4 写技术

for file in `ls arm-*` do #ln -s $file ${$file/arm-unknown-linux-gnueabi/arm-linux}; ln -s $file ${file/arm-unknown-linux-gnueabi/arm-linux} done

阅读全文>>

标签: ubuntu

评论(0) 浏览(223)

[embedded]usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:24: error: call to

2017-5-4 写技术

There is an error while building tslib. usr/include/x86_64-linux-gnu/bits/fcntl2.h:51:24: error: call to That because of new version gcc: vim tests/ts_calibrate.c : if ((calfile = getenv("TSLIB_CALIBFILE")) != NULL) { cal_...

阅读全文>>

标签: embedded

评论(0) 浏览(231)

Powered by anycle 湘ICP备15001973号