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

TOPIC:

CT 5.4 WinCE Compile Error 9 years 3 months ago #8078

  • Fehmi
  • Fehmi's Avatar Topic Author
  • Visitor
  • Visitor
Hello,

I have completeted wince installation by tutorial page but when I try to compile an empty project with mentioned settings the error mesage below arises.
I reinstall Codetyphon and Toolchain but nothing changed.

Hint: (11030) Start of reading config file C:\codetyphon\fpc\fpc32\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file C:\codetyphon\fpc\fpc32\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.1.1 [2015/09/12] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: WinCE for ARM
(3104) Compiling lcl.pas
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\alllclintfunits.pas
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\interfaces.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\winceint.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\winceproc.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\winceextra.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\winceproc.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\winceint.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\wincewsfactory.pas
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\wincewsforms.pp
(3104) Compiling C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(133,14) Hint: (5057) Local variable "mi" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(185,18) Hint: (5057) Local variable "tb" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(193,57) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(208,51) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(354,24) Hint: (5057) Local variable "BR" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(517,72) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(535,72) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(577,32) Hint: (5057) Local variable "R" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(330,7) Hint: (5028) Local const "STR_MENUBAR" is not used
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(661,38) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(682,20) Hint: (5057) Local variable "MenuInfo" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(727,20) Hint: (5057) Local variable "MenuInfo" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(767,5) Warning: (2005) Comment level 2 found
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(769,5) Warning: (2005) Comment level 2 found
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(815,130) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(826,135) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(932,35) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(976,59) Hint: (5057) Local variable "lForm" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(976,52) Hint: (5057) Local variable "lMenuBarHandle" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(984,16) Hint: (5057) Local variable "bi" does not seem to be initialized
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(995,65) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(1089,22) Hint: (4055) Conversion between ordinals and pointers is not portable
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(116,3) Hint: (5028) Local const "SpaceBetweenIcons" is not used
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(120,22) Hint: (5028) Local type "TCaptionFlagsSet" is not used
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(24,24) Hint: (5023) Unit "ImgList" not used in WinCEWSMenus
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(31,24) Hint: (5023) Unit "wincewsimglist" not used in WinCEWSMenus
(9022) Compiling resource C:\codetyphon\typhon\lcl\interfaces\wince\wincemenures.rc
cpp.exe: error: CreateProcess: No such file or directory
c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-wince-windres.exe: preprocessing failed.
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(1138,1) Error: (9029) Error while compiling resources
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp(1138,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\codetyphon\fpc\fpc32\bin\i386-win32\ppcrossarm.exe returned an error exitcode

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

Last edit: by Fehmi.

CT 5.4 WinCE Compile Error 9 years 3 months ago #8080

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
Sir we fix this in Lab CT 5.5
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Fehmi

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

CT 5.4 WinCE Compile Error 9 years 3 months ago #8082

  • Fehmi
  • Fehmi's Avatar Topic Author
  • Visitor
  • Visitor
Thank you for the answer.

Is there any easy way to solve this problem until CT 5.5 annouced ?

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

CT 5.4 WinCE Compile Error 9 years 3 months ago #8083

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
Sir, the only way is
update your CT installation to LAB CT 5.5 info or
wait for CT final release ( I think soon)
PilotLogic Architect and Core Programmer

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

CT 5.4 WinCE Compile Error 9 years 3 months ago #8087

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4538
  • Thank you received: 1116
Sir
we solve the problem
at
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp
replace line 111
{$R wincemenures.rc} with
{$R wincemenures.res}
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: HIWAKU SAN, Fehmi

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

CT 5.4 WinCE Compile Error 9 years 3 months ago #8090

  • Fehmi
  • Fehmi's Avatar Topic Author
  • Visitor
  • Visitor
Thank you very much.
It works.

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

CT 5.4 WinCE Compile Error 4 years 2 weeks ago #15331

  • Rafał
  • Rafał's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 0
Same problem is in CT v7.2.

replace line 111
{$R wincemenures.rc} with
{$R wincemenures.res}

solved the problem.

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

CT 5.4 WinCE Compile Error 4 years 2 weeks ago #15332

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1130
  • Thank you received: 170
We fix it in LAB CT 7.3
PilotLogic Core Programmer

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

  • Page:
  • 1