首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
Install and Run CutyCapt at Unbuntu 14.04 Server
Type(Type) 2013/2/21 12:12

Install and Run CutyCapt at Unbuntu 14.04 Server



CutyCapt Official Site: http://cutycapt.sourceforge.net/


HOWTO :: Step-by-Step Include installing Chinese/Japanese/Korean Fonts


1. Install QT/QT4+

代碼:

   sudo apt-get install subversion libqt4-webkit libqt4-dev g++
   



2. Install xvfb-run (A lite-weight X Server / X virtual framebuffer )

代碼:

   sudo apt-get install xvfb-run
   or
   sudo apt-get install xvfb
   



3. Install Make & qMake if necessary

代碼:

   sudo apt-get install make
   



4. Install Libicu48 for "Internationalization"

代碼:

   sudo apt-get install libicu48
   or
   sudo apt-get install libicu52
   or
   sudo apt-get install libicuXX
   



5. Get CuteCapt source code form SVN

代碼:

   svn co https://cutycapt.svn.sourceforge.net/svnroot/cutycapt
   



6. Enter project Folder

代碼:

   cd cutycapt/CutyCapt
   



7. Generate CutyCapt Makefile

代碼:

   qmake
   



8. Compile the CutyCapt (Making shall be very quick)

代碼:

   make

   /bin/cp CutyCapt /usr/sbin/CutyCapt
   



9. Install CJK fonts (Chinese-Font, Japanese-Font, Korean-Font) for CutyCapt

代碼:

sudo apt-get install xfonts-wqy




10. Run the CutyCap thru XVFB-run

代碼:

   xvfb-run --server-args="-screen 0, 800x800x16" /usr/sbin/CutyCapt --url=http://xor.tw/ --out=test.jpg --max-wait=10000
   




Note:
If you didn't install libicu48, you are likely to see this warning or something like this...
代碼:

Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48:     cannot open shared object file: No such file or directory)"







_
Type(Type) 2014/5/11 23:40


Check this
=> https://github.com/hoehrmann/CutyCapt/issues/3



if you found the following errors
代碼:

invalid use of incomplete type class QNetworkReply cutycapt

(7,902 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

"Install and Run CutyCapt at Unbuntu 14.04 Server" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2024