Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-01

ARM-WinCE does not complie from the IDE (+ a few question)

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Hello List,

This is the error I am getting with v0.9.27 r18124 i386-win32-win32/win64 when trying to cross compile Lazarus for ARM-WinCE using the "Configure Build Lazarus" menu item.

Q:\Lazarus\lcl\interfaces\wince\wincewscalendar.pp(65,29) Error: Call by var for arg no. 1 has to match exactly: Got "Pointer" expected "tagINITCOMMONCONTROLSEX"

I have been away from Lazarus for a while so maybe I should ask the basics again:

1. Am I supposed to build the ARM-WinCE units from the IDE? (This did not work before)

2. If yes, I guess not everything needs to compiled or WinCE. Which options should be included?

3. Currently I am using FPC 2.2.2. Is this the currently recommended FPC version for WinCE. If not, I would a appreciate a link to the proper SVN FPC repository.

4. Are the suggestions for preparing Lazarus for WinCE manually still valid on the Lazarus website? I remember there was some confusion between two senior developers of Lazarus (or maybe FPC ) about where the compiled units should be placed. Has this been settled by now?

Thanks for reading,

Leslie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090105/9d45b4f3/attachment.html

Reply by email

Felipe Monteiro de Carvalho
to Unknown author
1. Am I supposed to build the ARM-WinCE units from the IDE? (This did not work before)

This always worked.

2. If yes, I guess not everything needs to compiled or WinCE. Which options should be included?

It's documented in the wiki:
http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_snapshot_add-on_installer

If you want to rebuild LCL yourself then you need to add the operating system wince and architecture arm in the Build Lazarus dialog. You need to use the advanced tab for that.

3. Currently I am using FPC 2.2.2. Is this the currently recommended FPC version for WinCE. If not, I would a appreciate a link to the proper SVN FPC repository.

Yes, 2.2.2 is the recommend version.

4. Are the suggestions for preparing Lazarus for WinCE manually still valid on the Lazarus website? I remember there was some confusion between two senior developers of Lazarus (or maybe FPC ) about where the compiled units should be placed. Has this been settled by now?

That was only for manually setting up the interface. Use should use the add-on installer, unless there is a very good reasion to avoid it.

Felipe Monteiro de Carvalho

Reply by email

Unknown author
to Felipe Monteiro de Carvalho

Felipe,

Thank you for your help!:)

> 1. Am I supposed to build the ARM-WinCE units from the IDE? (This did not > work before) This always worked.

I am certain I was adviced by someone here not to use the add-on installer and wait for v0.926. Anyhow, I am glad it is working now. :)

Show quoted text 10 lines
> 2. If yes, I guess not everything needs to compiled or WinCE. Which > options > should be included? It's documented in the wiki: http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_snapshot_add-on_installer If you want to rebuild LCL yourself then you need to add the operating system wince and architecture arm in the Build Lazarus dialog. You need to use the advanced tab.

I have used Lazarus to compile simple tesp projects before. What I meant is this: there is a group of combos with 7 choices on the Advanced Build Options tab (LCL, SynEdit ...). I wanted to know if there was anything above LCL which needs to be rebuilt after an SVN update in order to crosscompile for arm-wince?

Show quoted text 6 lines
> 3. Currently I am using FPC 2.2.2. Is this the currently recommended FPC > version for WinCE. If not, I would a appreciate a link to the proper SVN > FPC > repository. Yes, 2.2.2 is the recommend version.

Probably was not precise enough again. :) As far as I understand there are 3 active branches of FPC:
- 2.2.2
- 2.2.3 (fixes)
- 2.3.x

Out of these three?

Use should use the add-on installer, unless there is a very good reasion to avoid it.

Thank you, will do. :)

Regards,
Leslie

Reply by email