- 博客(28)
- 资源 (1)
- 收藏
- 关注
原创 PPAPI nacl_sdk安装
编写chmore浏览器插件,使用PPAPI,翻了墙,下载了nacl_sdk,在安装了py2.7后,按照说明发现行不通。遇到问题:1、third_party.fancy_urllib.InvalidCertificateException:...网上找解决办法,说是cacerts.txt文件有些老了。更新download.py文件里面的函数“UrlOpen”,def UrlOpen(url): request = fancy_urllib.FancyRequest(url.replace("htt.
2020-07-23 10:42:46 568
原创 ubuntu下鼓捣arm64的ffmpeg+x264
1、首先下载 ffmepg,x264,和编译器这里编译器用的是:aarch64-linux-gnu,可以用ubuntu直接下载安装(apt-get install),目前我是这么做的,这里的版本是5.4,安装完后用命令aarch64-linux-gnu-gcc -v,或者aarch64-linux-gnu-g++ -v查看版本,检查是否安装成功x264下载路径:git clone http...
2018-10-23 10:09:33 1488
原创 ubuntu16.04 armv8 aarch64_linux_gun 编译qt5.6
又开始折腾ubuntu,这次要跑嵌入式,armv8,搭建虚拟环境:开始漫长的摸索1、下载并安装qt-everywhere-opensource-src-5.6.3sudo apt-get install automake autoconf libtool m4sudo apt-get install aarch64-linux-gnu2、进入qt-everywhere-o...
2018-10-22 16:32:41 1770
原创 vlc 2.0.8编译 ubuntu 12.04
前提是安装了qt4creator等相关环境。sudo apt-get install git libtool build-essential pkg-config autoconfwget ftp://ftp.videolan.org/pub/videolan/vlc/2.0.8/vlc-2.0.8a.tar.xztar xvJf vlc-2.0.8a.tar.xzcd vlc
2013-08-23 17:21:25 903
转载 ubuntu qt4 终端更改
9 down vote acceptedUnder Tools-Options-Environment-General, change the terminal value from x-terminal-emulator -e to /usr/bin/xterm -e. This did the trick for me.
2013-08-22 17:41:11 605
转载 LD_LIBRARY_PATH
Linux环境变量名,该环境变量主要用于指定查找共享库(动态链接库)时除了默认路径之外的其他路径。(该路径在默认路径之前查找) 移植程序时的经常碰到需要使用一些特定的动态库,而这些编译好的动态库放在我们自己建立的目录里,这时可以将这些目录设置到LD_LIBRARY_PATH中。当执行函数动态链接.so时,如果此文件不在缺省目录下‘/usr/local/lib’ and ‘/usr/lib’
2013-08-13 15:50:52 703
转载 SDL2.0 ubuntu complie
hg clone http://hg.libsdl.org/SDLcd SDL./autogen.shwget http://jbeekman.nl/pub/sdl2_video_rpi.tbztar xvjf sdl2_video_rpi.tbzmkdir buildcd buildexport CFLAGS="-I/opt/vc/include/ -I/opt/vc
2013-08-08 17:17:07 1784
转载 ubuntu 工具包命令
把本机所有软件升级到最新版:# apt-get upgrade [包名]最后是最强力的--把整个发行版都升到新版本:# apt-get dist-upgrade升级时注意那些影响系统起动的东西,比如升级了内核,升级了grub或lilo等,这之后你应当重新运行grub或是lilo,让它们指向正确的位置,否则升级之后会工作不正常的。用apt-get安装软件时,它会从网上(在so
2013-06-20 14:08:25 761
转载 error while loading shared libraries: xxx.so.x"错误的原因和解决办法
一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如:tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory原因一般有两个, 一个是操作系统里确实没有包含该共
2013-06-19 09:12:45 627
翻译 Permissions problems after running Qt Creator with priviliges on Linux(ubuntu)
单单使用chmod是不成的,至少我这里没成功。使用chmod,chown和chgrp组合成功了。1.cd ~/.config/2.sudo -s3.chmod -hR ugo+rwx Nokia (it will add read, write and execute premission to everyone)4.chown-hR root:[your user
2013-06-15 11:26:03 756
原创 ubuntu ffmpeg
sudo apt-get install libavcodec-devsudo apt-get install libavdevice-devsudo apt-get install libavfilter-devsudo apt-get install libavutil-devsudo apt-get install libavformat-devsudo
2013-05-30 16:17:01 766
转载 ubuntu qt mysql
第一步:安装qt开发环境xhy@xhy-desktop:~$sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig qt4-demos qt4-designer第二步:安装mysql开发环境xhy@xhy-desktop:~$sudo apt-get install mysql-server mysql-client
2013-05-30 10:46:57 866
原创 ubuntu qt 多媒体开发环境配置
1、直接使用软件中心安装qtcreator2、安装ubutnu的基本开发配置:build-essential vim libc6-dev3、安装dev-vlc,liblivemedia-dev4、git vlc-qt5、更新cmake到2.8.9后的版本,编译vlc-qt。其中必须有vlc的plugins路径
2013-05-28 15:02:40 941
转载 Vmware 9安装Ubuntu 12.10 完毕后,并不出现图形界面
【现象描述】: 我用Vmware 9安装Ubuntu 12.10 的时候,安装完毕后,并不出现图形界面,而是出现一段文字,如下: ****************************************************************** ****************************************************************
2013-05-27 22:10:59 1093
转载 ubuntu 12.04 live555开发包
Install HowtoUpdate the package index:# sudo apt-get updateInstall liblivemedia-dev deb package:# sudo apt-get install liblivemedia-dev
2013-05-08 16:29:58 694
转载 安装最新版本的CMake
Ubuntu自带的apt-get install方式安装的CMake版本有点老。项目中需要最新版本的CMake 2.8.9, 这个版本还是采用CPack打包的,为了体验一把CPack的发布的便利性,就试用一下。首先卸载已经安装的旧版的CMakeapt-get autoremove cmake然后下载:cd /usrwget http://www.cmake.org/files/
2013-04-26 12:08:33 852
转载 linux 常用命令分为四类:
文件管理命令文件操作增——touch filename 创建新文件删——rm 文件名查——find 文件名 直接在硬盘里寻找 locate 文件名 文件名的部分匹配 whereis 文件名 从linux文件数据库(/var/lib/slocate/slocate.db)寻找比较——diff file1 file2
2013-04-17 11:09:21 1153
转载 ubuntu12.10 开发环境配置
sudo apt-get install mysql-serversudo apt-get install mysql-clientsudo apt-get install libmysqlclient-dev安装MySQLsudo apt-get install mysql-server这个应该很简单了,而且我觉得大家在安装方面也没什么太大问题,所以也
2013-04-17 10:36:32 585
转载 Ubuntu repository
Ubuntu repositoryYou can use this Ubuntu repository for installing Tano and VLC-Qt:For current Ubuntu releases:$ add-apt-repository ppa:ntadej/tanoFor LTS releases:$ add-apt-repository
2013-04-16 16:59:14 1392
转载 build-dep is not working properly and giving erro
E: You must put some 'source' URIs in your sources.listsudo apt-get install software-properties-gtkgksu software-properties-gtkCheck the box for 'Source Code' and close the window.sudo a
2013-04-15 16:10:53 1332
转载 gpg error apt-get update
The important part of your error message is the following in bold:W: GPG error: http://download.virtualbox.org lucid Release: The following signatures were invalid: BADSIG 54422A4B98AB5139 Ora
2013-04-15 15:43:02 845
转载 Permission denied
don’t mix sudo and pipes, that will not work. Become root first and the write the value to ptrac_scope:$ sudo su -$ echo 0 > /proc/sys/kernel/yama/ptrace_scope
2013-04-07 18:00:51 724
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人