Quantcast
Channel: Adam's Workspace
Browsing all 13 articles
Browse latest View live

Qt 5.1.0 on Ubuntu Linux, MySQL database connection problem, driver not...

Qt 5.1.0 on Ubuntu Linux, MySQL database connection problem, driver not loaded problem Problem description QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE QMYSQL...

View Article


ROS Package Update Problem

I was facing a problem when I updated ROS groovy package on Oct.2, 2013. When sourcing the workspace's setup.zsh, I'm getting this problem:   Problem Description:...

View Article


MySQL 5.5 亂碼問題的解決

亂碼問題大家衆所周知皆由編碼引起,所要解決之道就是使用一致的、可顯示的編碼方式。   創建數據庫時: CREATE DATABASE [Database Name] CHARACTER SET 'utf8' COLLATE 'utf8_general_ci';   創建表格時: CREATE TABLE OpenCourses (     semester CHAR(255) NOT NULL,...

View Article

Let OMNet++(OMNetpp) support c++11 or c++0x standard

There're a lot of people asking how to customly define c++ compile flags (CXX_FLAGS) under OMNet++ 4 (OMNetpp 4), but don't really get an answer. Here is the answer now. First follow my instruction...

View Article

博客遷移啦~

新地址如下: http://blog.modest-destiny.net/

View Article


日语输入法快捷键

操作系统自带快捷键 多语言切换 Alt+Shift 例如:搜狗中文输入法 和 Google日文输入法 之间切换 同一语言下输入法切换 Ctrl+Shift 例如:搜狗中文输入法 和 百度中文输入法 之间切换 同一语言下输入法切换热键还原 Ctrl+space 例如:搜狗中文输入法 和 无输入法状态 之间切换 Google日语输入法...

View Article

Using CMake and C++11 With Eclipse

Eclipse is a Good IDE for C++. And, CMake is a useful Makefile generation tool. We hope that we might integrate them together. 1 Quick Start with Old Projects mkdir buildeclipse cd buildeclipse/ cmake...

View Article

Emacs (line break/buffer coding system) Conversion From DOS to UNIX and Vice...

If in emacs you need a different file coding system (line terminator/line break), for example you are on a windows system and need to type a unix like text file (or vice versa), you can easily convert...

View Article


chkconfig on Ubuntu 12.04 causing '/sbin/insserv: No such file or directory'...

chkconfig on Ubuntu 12.04 causing ‘/sbin/insserv: No such file or directory’ Problem Problem Description: I tried to start sshd at boot using chkconfig on Ubuntu 12.04. As a result, I used `chkconfig...

View Article


Add Apache2 Perl Support in Ubuntu 12.04

Add Apache2 Perl Support in Ubuntu 12.04 sudo apt-get install libapache2-mod-perl2 (if Ubuntu Server use aptitude install) ( if the perl-mod is not enabled, you may use: sudo a2enmod perl ) mkdir...

View Article

GCC Build With Strange Errors

link: http://modest-destiny.net/wp/?p=77 GCC Build With Strange Errors I have been fighting with these strange errors for some days, and finally I got it. Problem The core problem is that my...

View Article

Image may be NSFW.
Clik here to view.

“Undefined reference to …” How can I find the library to link to?

“Undefined reference to …” How can I find the library to link to? The most panicking error among all the make errors is the undefined reference error, which is mostly cause by an unlinked library. For...

View Article

Linux Device Tree Pinctrl Tutorial

Better Styled: http://blog.modest-destiny.com/posts/linux-device-tree-pinctrl-tutorial/ When porting drivers on a specific board for a comparatively new linux kernel, it is common to edit the linux...

View Article

Browsing all 13 articles
Browse latest View live