linux
ggknight
这个作者很懒,什么都没留下…
展开
-
required file `build/ltmain.sh' not found
出处:http://blog.163.com/panda_sha/blog/static/478281962011326103056349/在linux下编译c/c++程序出错:$ automake --add-missing....configure.in:18: required file `build/ltmain.sh' not found....解决方案(转载 2012-10-11 16:13:43 · 629 阅读 · 0 评论 -
glib中的陷阱
1. 在glib程序中,最好不要使用printf,而应该使用g_print,一旦调用过一次g_print, printf就不会再打印了2. 如果使用了glib loop,只能使用ITIMER_REAL,另外两种timer ITIMER_VIRTUAL, ITIMER_PROF无效原创 2013-06-13 16:32:01 · 482 阅读 · 0 评论 -
gst-launch usuage
under ubuntu-x86record : gst-launch-0.10 alsasrc ! lamemp3enc ! filesink location=output.mp3or use autoaudiosrcplayback : gst-launch-0.10 filesrc location=output.mp3 ! mad ! alsasinkor u原创 2013-05-30 22:13:04 · 1075 阅读 · 0 评论 -
vim常用命令
多行注释:.,+50 s/^/#/g. 代表当前光标所在行+50 和往后的499行s/^/#/g 在行首加上#:10,50 s/^/#/g10 第十行开始50 到第50行#注释是针对python语言的,那么C/C++呢, 注释符是//,不能直接替换,需要将#换成 \/\/取消注释多行:.,+10 s/^\/\///g:10,原创 2012-10-16 17:47:58 · 376 阅读 · 0 评论