×
CodeTyphon Cross-Build Development, discussions and problems
Question CT 5.4 WinCE Compile Error
- Fehmi
- Topic Author
- Visitor
-
6 years 9 months ago - 6 years 9 months ago #8078
by Fehmi
CT 5.4 WinCE Compile Error was created by Fehmi
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
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
Last edit: 6 years 9 months ago by Fehmi.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
Less
More
6 years 9 months ago #8080
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic CT 5.4 WinCE Compile Error
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.
- Fehmi
- Topic Author
- Visitor
-
6 years 9 months ago #8082
by Fehmi
Replied by Fehmi on topic CT 5.4 WinCE Compile Error
Thank you for the answer.
Is there any easy way to solve this problem until CT 5.5 annouced ?
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
6 years 9 months ago #8083
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic CT 5.4 WinCE Compile Error
Sir, the only way is
update your CT installation to LAB CT 5.5 info or
wait for CT final release ( I think soon)
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.
- Sternas Stefanos
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
6 years 9 months ago #8087
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic CT 5.4 WinCE Compile Error
Sir
we solve the problem
at
C:\codetyphon\typhon\lcl\interfaces\wince\wincewsmenus.pp
replace line 111
{$R wincemenures.rc} with
{$R wincemenures.res}
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.
- Fehmi
- Topic Author
- Visitor
-
6 years 9 months ago #8090
by Fehmi
Replied by Fehmi on topic CT 5.4 WinCE Compile Error
Thank you very much.
It works.
It works.
Please Log in or Create an account to join the conversation.
- Rafał
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
1 year 6 months ago #15331
by Rafał
Replied by Rafał on topic CT 5.4 WinCE Compile Error
Same problem is in CT v7.2.
replace line 111
{$R wincemenures.rc} with
{$R wincemenures.res}
solved the problem.
replace line 111
{$R wincemenures.rc} with
{$R wincemenures.res}
solved the problem.
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Away
- Moderator
-
1 year 6 months ago #15332
by Matis A.
PilotLogic Core Programmer
Replied by Matis A. on topic CT 5.4 WinCE Compile Error
We fix it in LAB CT 7.3
PilotLogic Core Programmer
Please Log in or Create an account to join the conversation.