How to build app for Raspberry Pi from Windows 7 - Index (pilotlogic.com)
Thanks for your reply. I understand that it's best to build the application on the platform itself. But, I wanted to crossbuild for testing or whatever else I don't know clearly, may be on the Raspberry pi it will compile slower than Windows 7, however.... Anyway, I was successful to achieve this. I shall describe bellow what I did (probably this may help someone.), although I don't know whether all the steps are correct/necessary or not. But it worked. And the post here helped - www.pilotlogic.com/sitejoom/index.php/fo...ian-app?limitstart=0 , I have downloaded the libraries from the link mentioned in the 1st post - docs.google.com/folder/d/0B-v0GC8WoWuad0...FtZG43T1U/edit?pli=1 .
Steps:
======
Download CodeTyphon Studio Version 4.5, Revision 004500 (for win7 32bit)
Run install.bat
Select "Install CodeTyphon"
Select "Remove and Build ALL"
This will install CodeTyphon Studio.
Run "C:\codetyphon\binCenter\i386-win32-win32\CodeTyphon.exe" which has a shortcut icon on desktop named CodeTyphon64
Click menu "CrossBuild"->"Toolchains Builder". For "FPC Target CPU-OS", select "arm-linux". Click "Build" button. See Image-1 bellow:
After the above building process finishes, click menu "CrossBuild"->"FreePascal32bits"->"FPC32 build cross element arm-linux". See Image-2 bellow:
Click menu "Typhon"->"Run Typhon32"
After the IDE opens, click menu "Project"->"Project Options".
Select "Compiler Options"->"Paths". For "Libraries" box select the folder that contains Raspberry Pi libraries (which can be downloaded from the link given above... 1st post of the another topic). See Image-3 bellow:
Select "Config and Target". For "Target OS" - select "Linux", for "Target CPU family" - select "arm". See Image-4 bellow:
Select "Debugging", Uncheck "Generate debugging info...". See Image-5 bellow:
Click OK, and write then build your project
. Thank you all.
Best regards.
'언어 > 라즈베리파이' 카테고리의 다른 글
[리눅스]우분투 apt-get 패키지 설치 및 제거, 업그레이드 방법 (0) | 2021.02.20 |
---|---|
라즈베리파이 SD card 이미지 복제하고 재설치하기 (0) | 2021.02.18 |
Backing up an OS Image and convert to Berryboot. Ubuntu Mate download Links. Raspberry Pi 4 (0) | 2021.02.10 |
RealVNC Server on UBUNTU 20.10 (ARM64) on Raspberry Pi 4 (8GB) by jorgemtds (0) | 2021.02.10 |
라즈베리파이4 B+에 Ubuntu 20.04 설치하기 [USB] (0) | 2021.02.10 |