Recent

Author Topic: Win CE beginner question  (Read 5255 times)

halim1973

  • Newbie
  • Posts: 5
Win CE beginner question
« on: October 31, 2014, 10:44:41 pm »
Hello all,
I just installed the latest build of Lazarus 1.2.6 r46529 FPC 2.6.4 i386-win32-win32/win64.
I'm new to Lazarus and I would like to create my first wince app. After installing the build, I went to file new project and created the project.
I did a simple hello world app with Target device WinCe see attached screenshot.
this is what I get when I compile:

WARNING: unit search path does not exist: C:\lazarus\lcl\units\i386-wince\wince
WARNING: unit search path does not exist: C:\lazarus\lcl\units\i386-wince
WARNING: unit search path does not exist: C:\lazarus\components\lazutils\lib\i386-wince
HINT: using config file C:\lazarus\fpc\2.6.4\bin\i386-win32\fpc.cfg
ERROR: compiled FPC unit not found: system.ppu
ERROR: compiled FPC unit not found: sysutils.ppu
ERROR: compiled FPC unit not found: classes.ppu
ERROR: compiled FPC unit not found: avl_tree.ppu
ERROR: compiled FPC unit not found: zstream.ppu

Laksen

  • Hero Member
  • *****
  • Posts: 724
    • J-Software
Re: Win CE beginner question
« Reply #1 on: November 01, 2014, 12:06:00 am »
You need to install support for the wince target. It's not supplied by the normal installation.

Also you've set it to i386-wince. Is that intended or did you mean to select ARM?

halim1973

  • Newbie
  • Posts: 5
Re: Win CE beginner question
« Reply #2 on: November 01, 2014, 12:26:09 am »
Thank you for the reply.
I tried to look for what they called WinCE Addons but I had no luck.
Where do I go to get it support for WinCE target?
as far as selecting i-386 instead of ARM, I thought I did it when  I set my target platform to WinCE as shown in the screenshot.
Thank you,
-Halim

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Win CE beginner question
« Reply #3 on: November 01, 2014, 04:24:29 pm »
Afaik the addons are only for ARM.  i386-wince is too rare to be prepared as release
I guess.

halim1973

  • Newbie
  • Posts: 5
Re: Win CE beginner question
« Reply #4 on: November 03, 2014, 03:18:43 pm »
is there any up to date documentation on how to install winCE addons?
Thank you,

Laksen

  • Hero Member
  • *****
  • Posts: 724
    • J-Software
Re: Win CE beginner question
« Reply #5 on: November 03, 2014, 03:26:29 pm »
You just download and install the arm wince file from here: http://sourceforge.net/projects/freepascal/files/Win32/2.6.4/

You install it in the same folder as your current fpc install is put in. In your case that would be C:\lazarus\fpc\2.6.4

Then you select ARM in the processor target and WinCE in OS target for your project, and it should recompile the LCL(takes a little while) and your project for WinCE once you build your project.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Win CE beginner question
« Reply #6 on: November 03, 2014, 04:51:30 pm »
You install it in the same folder as your current fpc install is put in. In your case that would be C:\lazarus\fpc\2.6.4

I always install it to the lazarus folder: C:\lazarus for example, and it automatically puts the file in the correct subdir.

halim1973

  • Newbie
  • Posts: 5
Re: Win CE beginner question
« Reply #7 on: November 03, 2014, 05:13:31 pm »
Thank you.
It worked.
-Halim

 

TinyPortal © 2005-2018