Opened 11 years ago

Closed 11 years ago

Last modified 11 months ago

#4018 closed defect (fixed)

WINCE: SVN trunk backend compilation broken

Reported by: SF/lostech Owned by: SF/knakos
Priority: normal Component: Port: WinCE
Keywords: build Cc:
Game:

Description

The SVN trunk WinCE port can not be compiled due to compiling errors (see attached log for details).
This has been tested with SVN revision 35231 and cegcc/Cygwin.

Ticket imported from: #2387217. Ticket imported from: bugs/4018.

Attachments (1)

error.log (1.6 KB ) - added by SF/lostech 11 years ago.

Download all attachments as: .zip

Change History (15)

by SF/lostech, 11 years ago

Attachment: error.log added

comment:1 by bluegr, 11 years ago

I've done a couple of (obvious) changes to fix these errors. Please test that everything is compiling and working correctly, as I don't have a WinCE device to test the code.

comment:2 by SF/lostech, 11 years ago

I tried revision 35232. Now I get the following error messages:

CELauncherDialog.cpp: In constructor 'CEAboutDialog::CEAboutDialog()':
CELauncherDialog.cpp:51: error: 'kButtonWidth' was not declared in this scope
CELauncherDialog.cpp:51: error: 'addButton' was not declared in this scope
CELauncherDialog.cpp:56: error: 'kTextAlignCenter' was not declared in this scop
e
make: *** [CELauncherDialog.o] Error 1
Error: scummvm.exe not build

comment:3 by bluegr, 11 years ago

Those errors are a bit more severe, it seems that the WinCE port is trying to use the old (pre-GSoc) GUI code :(

comment:4 by fingolfin, 11 years ago

Owner: set to SF/knakos
Summary: WINCE: SVN trunk compilation brokenWINCE: SVN trunk incompatible with new GUI code

comment:5 by fingolfin, 11 years ago

Kostas, can you please take a look at this? And finally remove that pesky FIXME and my meta-FIXME for it while you are at it :)

comment:6 by lordhoto, 11 years ago

I just made a commit to fix the GUI related compile problems. I didn't remove the FIXME though, it really looks like we could actually even use a GUI::MessageDialog for what CEAboutDialog does.

comment:7 by SF/lostech, 11 years ago

I just tried to compile with the last fixes. Now I´m getting this:

arm-wince-mingw32ce-g++ -Wp,-MMD,"./.deps/CELauncherDialog.d2" -O3 -march=armv4
-mtune=xscale -D_WIN32_WCE=300 -D__ARM__ -D_ARM_ -DUNICODE -DSCUMM_NEED_ALIGNME
NT -DFPM_DEFAULT -DNONSTANDARD_PORT -DWIN32 -Dcdecl= -D__cdecl__= -Wno-multichar
-DUSE_ZLIB -DUSE_MAD -DUSE_MPEG2 -DUSE_TREMOR -DUSE_VORBIS -DUSE_TREMOLO -DUSE_
FLAC -DUSE_ARM_SMUSH_ASM -DUSE_ARM_GFX_ASM -DUSE_ARM_COSTUME_ASM -DENABLE_SCUMM=
STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE
_AGOS=STATIC_PLUGIN -DENABLE_CINE=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN
-DENABLE_GOB=STATIC_PLUGIN -DENABLE_IGOR=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUG
IN -DENABLE_LURE=STATIC_PLUGIN -DENABLE_M4=STATIC_PLUGIN -DENABLE_MADE=STATIC_PL
UGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_S
AGA=STATIC_PLUGIN -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENA
BLE_SWORD2=STATIC_PLUGIN -DENABLE_TINSEL=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PL
UGIN -I../../.. -I. -I../../../engines -Imissing/gcc -Ilibs/include -Ilibs/inclu
de/sdl -ICEgui -ICEkeys -Ilibs/include/tremolo -c CELauncherDialog.cpp -o CELaun
cherDialog.o
CELauncherDialog.cpp: In constructor 'CEAboutDialog::CEAboutDialog()':
CELauncherDialog.cpp:51: error: invalid use of undefined type 'struct GUI::Theme
Eval'
../../../gui/ThemeEngine.h:49: error: forward declaration of 'struct GUI::ThemeE
val'
CELauncherDialog.cpp:52: error: invalid use of undefined type 'struct GUI::Theme
Eval'
../../../gui/ThemeEngine.h:49: error: forward declaration of 'struct GUI::ThemeE
val'
make: *** [CELauncherDialog.o] Error 1
Error: scummvm.exe not build

comment:8 by SF/knakos, 11 years ago

I *promise* I will de-rot the wince port's trunk of this and all other problems very soon guys.

comment:9 by lordhoto, 11 years ago

Ok added the missing include, I really hope that *now* the code should at least compile again :-).

comment:10 by SF/lostech, 11 years ago

THX for the help but it brings up some more errors...

wince-sdl.cpp: In member function 'void OSystem_WINCE3::swap_panel_visibility()'
:
wince-sdl.cpp:495: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp: In member function 'void OSystem_WINCE3::swap_panel()':
wince-sdl.cpp:517: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp: In member function 'void OSystem_WINCE3::swap_smartphone_keyboard
()':
wince-sdl.cpp:535: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp: In member function 'void OSystem_WINCE3::move_cursor_down()':
wince-sdl.cpp:701: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp: In member function 'void OSystem_WINCE3::move_cursor_right()':
wince-sdl.cpp:737: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp: In member function 'void OSystem_WINCE3::update_game_settings()':

wince-sdl.cpp:1053: error: '_mode' was not declared in this scope
wince-sdl.cpp: In member function 'virtual void OSystem_WINCE3::initSize(uint, u
int)':
wince-sdl.cpp:1082: error: 'struct OSystem_SDL::TransactionDetails' has no membe
r named 'w'
wince-sdl.cpp:1083: error: 'struct OSystem_SDL::TransactionDetails' has no membe
r named 'h'
wince-sdl.cpp:1085: error: 'struct OSystem_SDL::TransactionDetails' has no membe
r named 'needUnload'
wince-sdl.cpp:1087: error: 'kTransactionCommit' was not declared in this scope
wince-sdl.cpp:1110: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1110: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1113: error: '_overlayWidth' was not declared in this scope
wince-sdl.cpp:1114: error: '_overlayHeight' was not declared in this scope
wince-sdl.cpp: In member function 'bool OSystem_WINCE3::update_scalers()':
wince-sdl.cpp:1133: error: '_mode' was not declared in this scope
wince-sdl.cpp:1136: error: '_adjustAspectRatio' was not declared in this scope
wince-sdl.cpp:1139: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1194: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp: In member function 'virtual bool OSystem_WINCE3::setGraphicsMode(
int)':
wince-sdl.cpp:1213: error: 'struct OSystem_SDL::TransactionDetails' has no membe
r named 'mode'
wince-sdl.cpp:1214: error: 'struct OSystem_SDL::TransactionDetails' has no membe
r named 'modeChanged'
wince-sdl.cpp:1216: error: 'kTransactionCommit' was not declared in this scope
wince-sdl.cpp:1251: error: '_mode' was not declared in this scope
wince-sdl.cpp:1253: error: '_mode' was not declared in this scope
wince-sdl.cpp:1257: error: '_mode' was not declared in this scope
wince-sdl.cpp:1259: error: '_scaleFactor' was not declared in this scope
wince-sdl.cpp:1315: error: '_scaleFactor' was not declared in this scope
wince-sdl.cpp:1315: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1316: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1323: error: '_scaleFactor' was not declared in this scope
wince-sdl.cpp: In member function 'virtual bool OSystem_WINCE3::loadGFXMode()':
wince-sdl.cpp:1350: error: '_fullscreen' was not declared in this scope
wince-sdl.cpp:1359: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1359: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1365: error: '_adjustAspectRatio' was not declared in this scope
wince-sdl.cpp:1416: error: '_overlayWidth' was not declared in this scope
wince-sdl.cpp:1416: error: '_overlayHeight' was not declared in this scope
wince-sdl.cpp:1423: error: '_overlayWidth' was not declared in this scope
wince-sdl.cpp:1423: error: '_overlayHeight' was not declared in this scope
wince-sdl.cpp: In member function 'virtual void OSystem_WINCE3::internUpdateScre
en()':
wince-sdl.cpp:1550: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1551: error: '_adjustAspectRatio' was not declared in this scope
wince-sdl.cpp:1590: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1591: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1593: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1595: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1695: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp: In member function 'virtual void OSystem_WINCE3::copyRectToOverla
y(const OverlayColor*, int, int, int, int, int)':
wince-sdl.cpp:1780: error: '_overlayWidth' was not declared in this scope
wince-sdl.cpp:1784: error: '_overlayHeight' was not declared in this scope
wince-sdl.cpp: In member function 'virtual void OSystem_WINCE3::copyRectToScreen
(const byte*, int, int, int, int, int)':
wince-sdl.cpp:1819: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1820: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1860: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp: In member function 'void OSystem_WINCE3::internDrawMouse()':
wince-sdl.cpp:1941: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:1943: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:1961: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp: In member function 'virtual void OSystem_WINCE3::undrawMouse()':
wince-sdl.cpp:2007: error: 'kTransactionCommit' was not declared in this scope
wince-sdl.cpp:2028: error: '_screenWidth' was not declared in this scope
wince-sdl.cpp:2030: error: '_screenHeight' was not declared in this scope
wince-sdl.cpp:2046: error: '_screenWidth' was not declared in this scope
make: *** [wince-sdl.o] Error 1
Error: scummvm.exe not build

Seems that still something is missing

comment:11 by lordhoto, 11 years ago

Summary: WINCE: SVN trunk incompatible with new GUI codeWINCE: SVN trunk backend compilation broken

comment:12 by SF/knakos, 11 years ago

Resolution: fixed
Status: newclosed

comment:13 by SF/knakos, 11 years ago

Compilation has been fixed but regressions remain. Closing.

comment:14 by digitall, 11 months ago

Component: Port: WinCE
Summary: WINCE: SVN trunk backend compilation broken WINCE: SVN trunk backend compilation broken
Note: See TracTickets for help on using tickets.