Ubuntu 11.10, I/O control via LPT port, GUI design compile done


preparation :
Ubuntu 11.10, I/O control via LPT port, try GUI design
https://xiaolaba.wordpress.com/2012/03/17/ubuntu-11-10-io-control-via-lpt-port-try-gui-design/

It is a bit tricky to compile this code, will there is some error message displayed, but it does not alter to our purpose. I have repeated two times and confirmed the following is working for myself,

1) download the source code here http://opentechlab.blogspot.com/2009/12/gui-front-end-for-parallel-port.html

2) extract to local storage, mine is, /HOME/LPT_IO_Qt/parport

3) invoke “qmake" (once qt-sdk installed, this command will be effective), “makefile" will be generated in same folder. (“qmak -project", did not works; “make" did not works)

4) invoke “make" (“qmake" did not works), executable “parport" will be compiled & generated, as I have modified ui.parport.h to show my own windows title, in order to prove if my compilation is successful. The other file highlight in green (parport2, it was bundled with source code, not by local compilation)

cooking & done, the next is to revisit those code or re-coding

steps for my memory –

“qmake", before & after, “makefile" is generated, error message ?!

“makefile" is ready, invoke “make" to build these source code

“make" is done, source code is building ok, “parport" (in green), it is executable generated

try to run our build as root, invoke “sudo ./parport"

it is done, my compilation is working

廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s