Rick
unread,Jun 12, 2012, 3:18:55 PM6/12/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Windows CE WebKit
I am trying to get a WebKit port working on a Windows Mobile device. I
am able to successfully create a WinCELauncher.exe but when I run it
on my device I am receiving the following error:
'WinCELauncher' is not a valid Pocket PC application.
After looking at the system specs in Athena my device is a PocketPC
running OS 5.02.21840. I downloaded the Windows Mobile 5.0 Pocket PC
SDK and use the following build commands:
C:\WebKitBuild>cmake -G "Visual Studio 9 2008" -
DCMAKE_WINCE_SDK="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" -
DPORT=WinCE -D3RDPARTY_DIR=c:/webkit/webkit-thirdparty c:\webkit
\webkit-wincewebkit\Source
C:\WebKitBuild>cmake --build . --config Release
The WebCore project seems to be the culprit with 66 errors (see
below). Has anyone else run into similar issues porting the Windows CE
Webkit with other SDKs?
Thanks,
Rick
WebCore Errors:
...
Generating Code...
Compiling...
EditorWin.cpp
CursorWin.cpp
ContextMenuWin.cpp
ContextMenuItemWin.cpp
ClipboardWin.cpp
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(247) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(247) : error C2070: ''unknown-type'': illegal sizeof
operand
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(251) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(251) : error C2065: 'fgd' : undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(251) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(251) : error C2059: syntax error : ')'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(252) : error C2065: 'fgd' : undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(252) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(252) : error C2070: ''unknown-type'': illegal sizeof
operand
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(253) : error C2065: 'fgd' : undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(253) : error C2227: left of '->cItems' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(254) : error C2065: 'fgd' : undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(254) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(254) : error C2228: left of '.dwFlags' must have
class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(254) : error C2065: 'FD_FILESIZE' : undeclared
identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(255) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(255) : error C2228: left of '.nFileSizeLow' must
have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(273) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(273) : error C2228: left of '.cFileName' must have
class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(273) : error C2780: 'const _Ty &std::min(const _Ty
&,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include
\xutility(3381) : see declaration of 'std::min'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(274) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(274) : error C2228: left of '.cFileName' must have
class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(708) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(708) : error C2070: ''unknown-type'': illegal sizeof
operand
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(718) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(718) : error C2061: syntax error : identifier
'FILEGROUPDESCRIPTOR'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(719) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(719) : error C2070: ''unknown-type'': illegal sizeof
operand
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(720) : error C2227: left of '->cItems' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(721) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(721) : error C2228: left of '.dwFlags' must have
class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(721) : error C2065: 'FD_FILESIZE' : undeclared
identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(722) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(722) : error C2228: left of '.nFileSizeLow' must
have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(724) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(724) : error C2228: left of '.cFileName' must have
class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(724) : error C2780: 'const _Ty &std::min(const _Ty
&,const _Ty &,_Pr)' : expects 3 arguments - 2 provided
C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include
\xutility(3381) : see declaration of 'std::min'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(725) : error C2227: left of '->fgd' must point to
class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardWin.cpp(725) : error C2228: left of '.cFileName' must have
class/struct/union
ClipboardUtilitiesWin.cpp
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(372) : error C2065:
'CFSTR_FILEDESCRIPTOR' : undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(379) : error C2065: 'CFSTR_FILECONTENTS' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(391) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(391) : error C2065: 'fgd' : undeclared
identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(391) : error C2061: syntax error :
identifier 'FILEGROUPDESCRIPTOR'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(392) : error C2065: 'fgd' : undeclared
identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(392) : error C2227: left of '->fgd' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(392) : error C2228: left of '.nFileSizeLow'
must have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(393) : error C2227: left of '->fgd' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(393) : error C2228: left of '.cFileName'
must have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(418) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(418) : error C2070: ''unknown-type'':
illegal sizeof operand
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(422) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(422) : error C2061: syntax error :
identifier 'FILEGROUPDESCRIPTOR'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(423) : error C2065: 'FILEGROUPDESCRIPTOR' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(423) : error C2070: ''unknown-type'':
illegal sizeof operand
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(424) : error C2227: left of '->cItems' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(425) : error C2227: left of '->fgd' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(425) : error C2228: left of '.dwFlags' must
have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(425) : error C2065: 'FD_FILESIZE' :
undeclared identifier
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(426) : error C2227: left of '->fgd' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(426) : error C2228: left of '.nFileSizeLow'
must have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(428) : error C2227: left of '->fgd' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(428) : error C2228: left of '.cFileName'
must have class/struct/union
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(428) : error C2780: 'const _Ty
&std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2
provided
C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\include
\xutility(3381) : see declaration of 'std::min'
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(429) : error C2227: left of '->fgd' must
point to class/struct/union/generic type
type is ''unknown-type''
..\..\webkit-wincewebkit\Source\WebCore\platform\win
\ClipboardUtilitiesWin.cpp(429) : error C2228: left of '.cFileName'
must have class/struct/union