Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7213

  • Glider
  • Glider's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi all,

very first message in CodeTyphon forum.
I'm a beginner about Typhon, I Installed CT 5.30 on Win 7 64 few days ago.

After few tests with the sample project, compiled successfully with both 32 and 64 bit IDE, I tried to setup CodeTyphon to crossbuild for Rasperry Pi.
I followed the instructions found on this Wiki page: www.pilotlogic.com/sitejoom/index.php/wi...uild-for-rasberry-pi
I tried to install both the FPC32 ad FPC64 toolchains and libraries for Rasperry Pi but I got the same error message at the end of step 3 'Build FPC Cross arm-linux--RapberryPi element', obviously with the respective reference to 32 and 64 FPC/Win versions:
----------------------------------------------------------------
       Stage 5: Copy Files and Units
----------------------------------------------------------------

A subdirectory or file ..\..\fpc\fpc64 already exists.
File not found - *.*
0 File(s) copied

???????????????????????????????????????????????????????????
 [ERROR]: win64 Cross Element for arm-linux Param:RapberryPi NOT Exists 
        sorry, build STOP
???????????????????????????????????????????????????????????

_______________________________________________________________
 
Terminate Action at 04/05/2015 16:55:17
Total time: 00:04:22.081
ExitCode : 0

I tried a couple of times for both 32 and 64 toolchains just to be sure that I didn't skip a step, but the instructions are quite simple and after four tries I'm pretty sure I made the right steps.
Maybe I'm missing something obvious: any suggestions to solve the problem?

Thank you in advance for your help.

Please Log in or Create an account to join the conversation.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7214

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
for Arm (as in Tutorials) you must use Typhon32 IDE / FPC32 and win32-xxx-xxx toolchains
FreePascal 64 bits has some problems with arm crossbuild
Please, try and report
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7215

  • Glider
  • Glider's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Thank you Sternas for very quick reply.

Are you referring to Typhon 32 IDE or CodeTyphon Center?
After downloading and installing CT 5.30, I found both the 32 and 64 bit Typhon IDEs but only 64 bit CodeTyphon.
In the tutorial also your first schreenshot shows 'CodeTyphon Center for Win64'.
I can complete the first two steps downloading the Raspberry Pi toolchains for 32 and 64 bit and, as I wrote in previous message, I tried with both Win32 and Win64 bit toolchains, but the procedure stops in the same way before completing step 3.

I just tried for the third time to install the 32 bit toolchain but I got the same error message:
----------------------------------------------------------------
       Stage 5: Copy Files and Units
----------------------------------------------------------------

A subdirectory or file ..\..\fpc\fpc32 already exists.
File not found - *.*
0 File(s) copied

???????????????????????????????????????????????????????????
 [ERROR]: win32 Cross Element for arm-linux Param:RapberryPi NOT Exists 
        sorry, build STOP
???????????????????????????????????????????????????????????

_______________________________________________________________
 
Terminate Action at 04/05/2015 18:10:19
Total time: 00:04:33.819
ExitCode : 0

Please Log in or Create an account to join the conversation.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7216

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
please check your PC for other programs
do you have other FPC copy installed in your PC?
do you have other make.exe installed in your PC, out of CT?

Can you save => zip and => attach here the building log info
(The CTCenter record all scripts output for this reason)

we test before 10 min, the build of Raspberry Pi toolchain win7-64 FPC32
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7217

  • Glider
  • Glider's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0

sternas wrote: Sir
please check your PC for other programs
do you have other FPC copy installed in your PC?
do you have other make.exe installed in your PC, out of CT?

Can you save => zip and => attach here the building log info
(The CTCenter record all scripts output for this reason)

we test before 10 min, the build of Raspberry Pi toolchain win7-64 FPC32


I have Lazarus 1.4.0 installed.
I searched for other 'make.exe' files and I found four of them:
Typhon 64 - C:\codetyphon\fpc\fpc64\bin\x86_64-win64\make.exe
Typhon 32 - C:\codetyphon\fpc\fpc32\bin\i386-win32\make.exe
Delphi 2010 - C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\bin\make.exe
Arduino IDE - C:\Program Files (x86)\Arduino\arduino-1.0.5-r2\hardware\tools\avr\utils\bin\make.exe

I could unistall Arduino IDE, but not Delphi 2010.
Maybe I could try to rename temporarly the other make.exe files to avoid any conflict.

I attached the zipped log file.
ASAP I'll try to unistall Lazarus, rename Delphi and Arduino make.exe files, reinstall CT 5.30 and Raspberry Pi toolchain to avoid any interefrence between the two IDEs and run again the procedure.

Thank you again for you help.
Attachments:

Please Log in or Create an account to join the conversation.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7218

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir in line 6167
make (e=740): The requested operation requires elevation.
make[1]: *** [fpc_install] Error 740

the make.exe can't copy files

The installation user has administrator privileges ? info
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7223

  • Glider
  • Glider's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Thenk you very much Sternas,

you are right, the problem was the user privileges.
Running Codetyphon as administrator solved the problem.

It was an obvious and simple detail I didn't consider, sorry :blush:
Now I can proceed and try to make other stupid mistakes :)
----------------------------------------------------------------
       Stage 5: Copy Files and Units
----------------------------------------------------------------

A subdirectory or file ..\..\fpc\fpc32 already exists.
1694 File(s) copied

[INFO]: Remove FPC temporary build folder...

[FINAL INFO]: -- !!! win32 arm-linux Param:RapberryPi Cross Build Element Build OK !!! --

_______________________________________________________________
 
Terminate Action at 05/05/2015 10:09:01
Total time: 00:05:45.579
ExitCode : 0

Please Log in or Create an account to join the conversation.

Error during cross-Build setup for Rasperry pi 9 years 6 months ago #7224

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Thanks Sir
have fun
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1