티스토리 뷰
728x90
출처
"sudo" 루트 권한 부여
$ sudo vi /etc/sudoers
orangepi ALL=(ALL) NOPASSWD: ALL
CodeTyphon 압축 해제
orangepi@orangepi4:~$ cd Downloads/ orangepi@orangepi4:~/Downloads$ unzip CodeTyphonIns.zip
Qt 버전 확인
orangepi@orangepi4:~$ qtchooser -print-env QT_SELECT="default" QTTOOLDIR="/usr/lib/aarch64-linux-gnu/qt4/bin" QTLIBDIR="/usr/lib/aarch64-linux-gnu" orangepi@orangepi4:~$ qmake --version QMake version 2.01a Using Qt version 4.8.7 in /usr/lib/aarch64-linux-gnu
Qt4pas 라이브러리 설치 (Option : CodeTyphon 설치시 11) -- Platform (widget) Setup 에서 실행)
qt4-qmake 설치
orangepi@orangepi4:~$ sudo apt install qt4-qmake qt4-dev-tools libqtwebkit-dev
ln_Typhon1_QT4pas_Build.sh 수정
orangepi@orangepi4:~/Downloads/CodeTyphonIns/installbin/ScriptsLin$ vi ln_Typhon1_QT4pas_Build.sh
x86_64-linux를 aarch64-linux로 수정
# ---- these settings are for Ubuntu Linux ------- if [ $vBits = 32 ] ; then vQMake=/usr/lib/i386-linux-gnu/qt4/bin/qmake else vQMake=/usr/lib/aarch64-linux-gnu/qt4/bin/qmake fi
qt4pas.7z 압축을 풀어서 x86_64-linux 폴더를 aarch64-linux 복사하고 다시 압축
수동 컴파일 및 설치
orangepi@orangepi4:~/Downloads/CodeTyphonIns/installbin/ScriptsLin$ ./ln_Typhon1_QT4pas_Build.sh ... 생략 ... ln -s libQt4Pas.so.5.2.8 libQt4Pas.so ln -s libQt4Pas.so.5.2.8 libQt4Pas.so.5 ln -s libQt4Pas.so.5.2.8 libQt4Pas.so.5.2 install -m 755 -p "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5.2.8" strip --strip-unneeded "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5.2.8" ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so" ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5" ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5.2" --------------------------------------- [INFO]: QT4pas Libraries finish Build OK for aarch64-linux --------------------------------------------------------- Make QT4Pas Libraries Links --------------------------------------------------------- [INFO] Make QT4pas links to /usr/lib/aarch64-linux-gnu/ for aarch64-linux finish OK
CodeTyphon 설치 스크립트 실행
0번 선택 ( 0) Install System Libraries )
orangepi@orangepi4:~/Downloads$ cd CodeTyphonIns/ orangepi@orangepi4:~/Downloads/CodeTyphonIns$ ./install.sh ==================================================== CodeTyphon Studio Version 7.20 (GEN 7) Installation for Linux-Solaris-Openindiana-MacOS FreeBSD-NetBSD-OpenBSD-DragonFly ==================================================== 0) Install CodeTyphon Studio 9) Exit >>> Select an action (press 0..9 key): 0
11번 선택
==================================================== CodeTyphon Studio 7.20 Setup for Linux64 Settings: Platform=gtk2 Multiarch Mode=0 ==================================================== 0) Install System Libraries 1) Run CodeTyphon Center (CTC) 11) -- Platform (widget) Setup 12) -- Multi-Architecture Setup 3) Remove FreePascal 4) Remove and Build FreePascal 5) Remove Typhon IDE 6) Remove and Build Typhon IDE 7) Remove ALL 8) Remove and Build ALL 9) EXIT >>> Select an action (press 0..9 key): 11
2번 QT4 선택
==================================================== CodeTyphon Studio Unix Platform (widget) Setup Current Platform: gtk2 ==================================================== Warning: Install System Libraries after every Platform change 1) GTK2 (Default) 2) QT4 3) QT5 4) GTK3 (Experimental) 5) FpGUI (Experimental) 6) CustomDrawn (Experimental) 9) Back to Main Setup >>> Select a platform (press 0..9 key): 2
12번 선택
==================================================== CodeTyphon Studio 7.20 Setup for Linux64 Settings: Platform=qt4 Multiarch Mode=0 ==================================================== 0) Install System Libraries 1) Run CodeTyphon Center (CTC) 11) -- Platform (widget) Setup 12) -- Multi-Architecture Setup 3) Remove FreePascal 4) Remove and Build FreePascal 5) Remove Typhon IDE 6) Remove and Build Typhon IDE 7) Remove ALL 8) Remove and Build ALL 9) EXIT >>> Select an action (press 0..9 key): 12
1번 선택
==================================================== CodeTyphon Studio Multi-Architecture Setup Current Multiarch Mode: 0 ==================================================== 0) NO Multi-Architecture Mode (Multiarch=0) 1) Use Multi-Architecture Mode (Multiarch=1) 9) Back to Main Setup >>> Select Mode (press 0..9 key): 1
8번 선택 ( 8) Remove and Build ALL )
==================================================== CodeTyphon Studio 7.20 Setup for Linux64 Settings: Platform=qt4 Multiarch Mode=1 ==================================================== 0) Install System Libraries 1) Run CodeTyphon Center (CTC) 11) -- Platform (widget) Setup 12) -- Multi-Architecture Setup 3) Remove FreePascal 4) Remove and Build FreePascal 5) Remove Typhon IDE 6) Remove and Build Typhon IDE 7) Remove ALL 8) Remove and Build ALL 9) EXIT >>> Select an action (press 0..9 key): 8
9번 선택 ( 9) EXIT )
==================================================== CodeTyphon Studio 6.70 Setup for Linux64 Settings: Platform=gtk2 Multiarch Mode=0 ==================================================== 0) Install System Libraries 1) Run CodeTyphon Center (CTC) 11) -- Platform (widget) Setup 12) -- Multi-Architecture Setup 3) Remove FreePascal 4) Remove and Build FreePascal 5) Remove Typhon IDE 6) Remove and Build Typhon IDE 7) Remove ALL 8) Remove and Build ALL 9) EXIT >>> Select an action (press 0..9 key): 9
실행
런타임라이브러리 설치 (개발환경이 없는 곳에서 실행)
pi@NanoPi-M4v2:~/Downloads$ ./project1 ./project1: error while loading shared libraries: libQt4Pas.so.5: cannot open shared object file: No such file or directory pi@NanoPi-M4v2:~/Downloads$ sudo install -m 755 -p "libQt4Pas.so" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5" pi@NanoPi-M4v2:~/Downloads$ ./project1 ./project1: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory pi@NanoPi-M4v2:~$ sudo apt install libqtwebkit4
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 일본여행
- ble
- android
- ffmpeg
- 레이싱모델 익스트림 포토 페스티벌
- BPI-M4
- ubuntu
- Spring
- 동경
- flex
- 전예희
- sas2009
- 서울오토살롱
- Delphi
- Mac
- oracle
- KOBA
- Java
- MySQL
- Spring MVC
- koba2010
- 튜닝쇼 2008
- 지스타2007
- SAS
- 송주경
- NDK
- Delphi Tip
- JavaScript
- Xcode
- Linux
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함