Welcome, Guest
Username: Password: Remember me
CodeTyphon Platforms (Win32/64, GTK2/3/4, QT4/5/6, Cocoa, FpGUI etc) Development, discussions and problems
  • Page:
  • 1
  • 2

TOPIC:

arm-linux 13 years 7 months ago #564

  • Gintas
  • Gintas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Graphics Designer/Developer
  • Posts: 32
  • Thank you received: 3
I can't compile FPC cross-compiler for this target. I successfully build the target for arm-wince and linux-i386.
Here is this full output from console

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

Re: arm-linux 13 years 7 months ago #566

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

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

Re: Re: arm-linux 13 years 7 months ago #567

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Hello.

When can we expect to improve the "minor inconvenience" as described by gintasdx? I want to build a test application for Android as soon as possible.

DUDUS

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

Re: Re: arm-linux 13 years 7 months ago #568

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
I don't know yet Sir
we make test for next release
but this is not promise
PilotLogic Architect and Core Programmer

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

Re: Re: arm-linux 13 years 7 months ago #569

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Witam.

Hello.

Thank you for your response and interest in the problem.
There is an urgent need to test the possibility to create applications for Android. Hence my question. Maybe I can get some clues on how to change that went to build arm-linux.

Sorry for my bad English.

DUDUS (Poland)

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

Re: arm-linux 13 years 7 months ago #570

  • Gintas
  • Gintas's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Graphics Designer/Developer
  • Posts: 32
  • Thank you received: 3
Well I temporary found a old CodeTyphon as solution for this.
Version 0.966 works just fine,but still didn't tested SDL on Android with it.

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

Re: arm-linux 13 years 7 months ago #571

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We fix arm-Linux problem
at Lab CodeTyphon ver 1.60

PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Re: arm-linux 13 years 7 months ago #573

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Hello.

This is very good news!
How could I get the testing Lab CodeTyphon ver 1.60 Win32? If so, what location?
If the version 1.60 is not yet available, please link to 0.966. Gintasdx writes that in this version arm-linux working properly.

DUDUS

PS. Is it possible to prepare the environment for WindowsCE and x86 processor?

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

Last edit: by woma1.

Re: arm-linux 13 years 7 months ago #574

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sorry Sir
We can't release Ver 1.60 now
Please wait
PilotLogic Architect and Core Programmer

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

Re: arm-linux 13 years 7 months ago #575

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Hello.

Ok. I understand. So I'll wait. Thus, the last question:

1. When can we expect version 1.60
2. Where can I download the latest working version of arm-linux (for example, 0.966)
3. Whether and how you can prepare the environment i386-linux (x86-based devices and the system WindowsCE)

DUDUS

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

Re: arm-linux 13 years 7 months ago #747

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
HELLO.

Waiting for 1.60 I want to test the arm-linux on the 0.966 version. Can anyone provide a link?

Thanks in advance.

DUDUS

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

Last edit: by woma1.

Re: arm-linux 13 years 7 months ago #977

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Hello.

CodeTyphon 1.60 beta

From inside the Center CodeTyphon ver. 1.60 for Win32, run Lazarus32.
The new application has a window without any objects.
In the project options set:
Target OS: Linux
Target CPU Family: arm
LCL Widget set: LCLWidgetType1 / android

Starting to build and get an error:
lclintfcompile.pas (8,3) Fatal: Can not find unit AllLCLIntfUnits used to LCLIntfCompile

In the directory: c: \ lazarus \ lcl \ interfaces \ android alllclintfunits.pas file is missing.
In other subdirectories c: \ lazarus \ lcl \ interfaces file alllclintfunits.pas exists.

By analogy to other files alllclintfunits.pas I create the content:
AllLCLIntfUnits unit;
interface
uses
interfaces,
androidint;
Implementation
end.

Starting to build and get an error:
"Compiling package LCL 1.0" completed
Options changed, recompiling clean with-B
C: \ pp \ bin \ i386-win32 \ arm-linux-ld.exe: can not find-lc

DUDUS

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

Re: arm-linux 13 years 7 months ago #988

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

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

Re: arm-linux 13 years 7 months ago #991

  • woma1
  • woma1's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
HELLO

I understand it.
What can I do to compile the simplest applications of the android? Each experimental version has some bugs. Here, however, difficult to talk about bugs! It is impossible to compile anything!
Are there any ongoing work on android, or does not have to wait?

DUDUS

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

Re: arm-linux 13 years 1 month ago #1343

  • Philcuk
  • Philcuk's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 1
Hi, I have also had this exact problem with a fresh check out of CodeTyphon, executing the Cross Build for arm-linux, I get that 'specified file not found' ect at the end of the output, was there a solution?

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

Re: arm-linux 13 years 1 month ago #1345

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Cross compiling applications means: compiling + linking.

For sample, if you cross compile a project, you may see something like this:

"cannot find -lX11"

The freepascal compiler try to find X11.so to "link" in you executable some X11.so functions addresses

This means you have to copy the library (X11) of the target system, in your project directory.

My suggestion is to find all missing Libraries for your arm-linux target
PilotLogic Architect and Core Programmer

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

Re: arm-linux 13 years 1 month ago #1346

  • Philcuk
  • Philcuk's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 1
Ok to be perfectly clear.. (Download and install the Center) then....

From the CodeTyphon Center 2.20 for Win32 File Menu Option:

"Free Pascal > FPC32bit Build Compiler" .... worked OK

and then...

Cross-Build > FreePascal 32Bits > FPC32 build cross element arm-linux

ends up with the

"C:/pp/bin/i386-win32/rm.exe -f base.build-stamp.*
The system cannot find the path specified.
The system cannot find the path specified."
Could Not Find c:\pp\utils\*.exe


Note that I don't have a project at all, im trying to get the cross build script from the CodeTyphon Center to build.

Thanks.
The following user(s) said Thank You: Gintas

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

Re: arm-linux 12 years 9 months ago #1568

  • acoliveira
  • acoliveira's Avatar
  • Visitor
  • Visitor
:(

Sorry for my poor English!!
From the CodeTyphon Center 2.40 for Win32 File Menu Option:

"Free Pascal > FPC32bit Build Compiler" .... worked OK

and then...

Cross-Build > FreePascal 32Bits > FPC32 build cross element arm-linux

ends up with the
"[FINAL INFO]: !!!!!!! FPC32 arm-linux Element Build OK !!!!!!!!!

_______________________________________________________________

Terminate Action at 31/1/2012 10:22:45
ExitCode : 0"

but isn´t ok, in file armlinux.txt has Errors below:

(2835,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\system.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2836,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\fpintres.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2837,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\objpas.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2838,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\getopts.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2839,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\sysutils.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2840,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\windows.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2841,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\sysconst.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2842,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\windirs.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2843,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\dos.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2844,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\strings.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2845,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\classes.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2846,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\rtlconsts.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2847,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\types.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2848,1):Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\typinfo.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2012/01/31 10:17:08); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
(2849,39):fpcmdic.pp(71,1) Fatal: There were 14 errors compiling module, stopping
(2851,62):C:\codetyphon\fpc\bin\i386-win32\make.exe: *** [fpcmake.exe] Error 1
(3358,16):system.pp(380) Error: Assembler arm-linux-as.exe not found, switching to external assembling
(3359,36):system.pp(380) Fatal: There were 1 errors compiling module, stopping
(3361,31):make.exe[5]: *** [system.ppu] Error 1
(3363,30):make.exe[4]: *** [linux_all] Error 2
(3365,24):make.exe[3]: *** [rtl] Error 2
(3367,26):make.exe[2]: *** [cycle] Error 2
(3369,35):make.exe[1]: *** [compiler_cycle] Error 2
(3371,72):C:\codetyphon\fpc\bin\i386-win32\make.exe: *** [build-stamp.arm-linux] Error 2
(5274,41):The installer encountered the following error:
(5275,545):Failed to execute ""ppcrossarm.exe" -Tlinux -FUunits\arm-linux -FuC:\codetyphon\fpcsrc\rtl\units\arm-linux -FuC:\codetyphon\fpcsrc\packages\gtk2\units\arm-linux -Fisrc -Tlinux -Parm -XParm-linux- -Xr -Ur -Xs -O2 -n -FuC:/codetyphon/fpcsrc/rtl/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/hash/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/paszlib/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/fcl-process/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/fpmkunit/units/arm-linux -FE. -FUunits/arm-linux -darm -dRELEASE src\rsvg.pas", error code: 2
(5276,24):make.exe[2]: *** [all] Error 1
(5278,32):make.exe[1]: *** [librsvg_all] Error 2
(5280,59):C:\codetyphon\fpc\bin\i386-win32\make.exe: *** [packages] Error 2
(6139,41):The installer encountered the following error:
(6140,545):Failed to execute ""ppcrossarm.exe" -Tlinux -FUunits\arm-linux -FuC:\codetyphon\fpcsrc\rtl\units\arm-linux -FuC:\codetyphon\fpcsrc\packages\gtk2\units\arm-linux -Fisrc -Tlinux -Parm -XParm-linux- -Xr -Ur -Xs -O2 -n -FuC:/codetyphon/fpcsrc/rtl/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/hash/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/paszlib/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/fcl-process/units/arm-linux -FuC:/codetyphon/fpcsrc/packages/fpmkunit/units/arm-linux -FE. -FUunits/arm-linux -darm -dRELEASE src\rsvg.pas", error code: 2
(6141,28):make.exe[2]: *** [install] Error 1
(6143,36):make.exe[1]: *** [librsvg_install] Error 2
(6145,67):C:\codetyphon\fpc\bin\i386-win32\make.exe: *** [packages_install] Error 2


dl.dropbox.com/u/52850885/armlinux.txt
dl.dropbox.com/u/52850885/mpath.bat
mpath.bat

armlinux.txt

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

Re: arm-linux 12 years 9 months ago #1569

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Check your Make.exe file Sir

In your path, you have the old Delphi7 bin folder
PATH=C:\Arquivos de programas\Borland\Delphi7\Bin;

at this folder exists borland make.exe

my suggestion is to rename for test this make.exe (for sample to makex.exe)

and try to build CT and cross build element again
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: acoliveira

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

Re: arm-linux 12 years 9 months ago #1570

  • acoliveira
  • acoliveira's Avatar
  • Visitor
  • Visitor
Yes, it´s work now, but i have another doubt, this version can be cross win32 to linux (i386) too?

best regards.
ac

dl.dropbox.com/u/52850885/lazwin32tolinux.txt
dl.dropbox.com/u/52850885/fpcwin32tolinux.txt

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

Last edit: by acoliveira. Reason: more details
  • Page:
  • 1
  • 2