Installing the JDK (Ubuntu 10.04)

Leave a Comment
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu hardy multiverse"
sudo apt-get update
sudo apt-get install sun-java6-jdk


ps: 原先的 http://archive.canonical.com/ 已經抓不到了


====================================

更新到1.6_45

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer


'UINT64_C' was not declared in this scope 的解決方法

Leave a Comment
遇到

 'UINT64_C' was not declared in this scope

解決方法:

在 include/libavutil/common.h 中加入

 
 #ifndef INT64_C
 #define INT64_C(c) (c ## LL)
 #endif 

 #ifndef UINT64_C
 #define UINT64_C(c) (c ## ULL)
 #endif 



技術提供:Blogger.