Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

help compiling quakeGX Wii Goto page 1, 2 Next

| Inside3d Forums Forum Index -> Engine Programming

View previous topic :: View next topic
Author | Message
--- | ---
Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Mon Jul 19, 2010 6:14 am Post subject: help compiling quakeGX Wii |

does anyone know how to properly compile the quakeGX wii port source code? I have been trying to use devkitppc but im always getting a bunch of errors. If anyone knows how to do this right it would be much appreciated if you told me. heres a link to the source code:
http://code.google.com/p/quake-gamecube/source/checkout
and heres my build log if it helps:

Quote:
> "make" "make" -f Makefile.wii make[1]: Entering directory `/e/quakesource/quake_wii' input.c In file included from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:190:20: warning: ogcsys.h: No such file or directory
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:192:2: error: invalid preprocessing directive #extern
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:194,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/common.h:34:22: warning: gctypes.h: No such file or directory
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:194,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/common.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/common.h:42: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/common.h:94: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bigendien'
e:/quakesource/quake_wii/src/wii/../generic/common.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'msg_badread'
e:/quakesource/quake_wii/src/wii/../generic/common.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'com_eof'
e:/quakesource/quake_wii/src/wii/../generic/common.h:189: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'standard_quake'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:215,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/cvar.h:60: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/cvar.h:86: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Cvar_Command'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:216,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/screen.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scr_disabled_for_loading'
e:/quakesource/quake_wii/src/wii/../generic/screen.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scr_skipupdate'
e:/quakesource/quake_wii/src/wii/../generic/screen.h:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'block_drawing'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:217,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/net.h:126: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/net.h:158: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/net.h:187: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/net.h:264: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NET_CanSendMessage'
e:/quakesource/quake_wii/src/wii/../generic/net.h:308: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tcpipAvailable'
e:/quakesource/quake_wii/src/wii/../generic/net.h:311: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'slistInProgress'
e:/quakesource/quake_wii/src/wii/../generic/net.h:312: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'slistSilent'
e:/quakesource/quake_wii/src/wii/../generic/net.h:313: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'slistLocal'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:219,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/cmd.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Cmd_Exists'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:221,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/sound.h:54: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/sound.h:98: error: expected ')' before 'clear'
e:/quakesource/quake_wii/src/wii/../generic/sound.h:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SNDDMA_Init'
e:/quakesource/quake_wii/src/wii/../generic/sound.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fakedma'
e:/quakesource/quake_wii/src/wii/../generic/sound.h:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'snd_initialized'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:222,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/render.h:41: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/render.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r_cache_thrash'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:223,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/client.h:125: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/client.h:182: error: expected specifier-qualifier-list before 'qboolean'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:224,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/progs.h:37: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/progs.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pr_trace'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:225,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/server.h:28: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/server.h:37: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/server.h:80: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/server.h:224: error: expected ')' before 'crash'
e:/quakesource/quake_wii/src/wii/../generic/server.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SV_CheckBottom'
e:/quakesource/quake_wii/src/wii/../generic/server.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SV_movestep'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:227,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gx_model.h:151: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gx_model.h:345: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gx_model.h:423: error: expected declaration specifiers or '...' before 'qboolean'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:228,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:22:20: warning: ogc/gx.h: No such file or directory
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:228,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'r_cache_thrash'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'envmap'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mirror'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:190: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'perspective'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'view'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:203: error: expected specifier-qualifier-list before 'GXTexObj'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:222: error: expected ')' before 'state'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:223: error: expected ')' before 'state'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:224: error: expected ')' before 'state'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:226: error: expected declaration specifiers or '...' before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:226: error: expected declaration specifiers or '...' before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:226: error: expected declaration specifiers or '...' before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:228: error: expected declaration specifiers or '...' before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/../wii/gx/gxquake.h:228: error: expected declaration specifiers or '...' before 'qboolean'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:231,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/world.h:30: error: expected specifier-qualifier-list before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/world.h:53: error: expected declaration specifiers or '...' before 'qboolean'
e:/quakesource/quake_wii/src/wii/../generic/world.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SV_RecursiveHullCheck'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:232,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/keys.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keydown'
e:/quakesource/quake_wii/src/wii/../generic/keys.h:136: error: expected declaration specifiers or '...' before 'qboolean'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:233,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/console.h:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'con_forcedup'
e:/quakesource/quake_wii/src/wii/../generic/console.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'con_initialized'
e:/quakesource/quake_wii/src/wii/../generic/console.h:35: error: expected declaration specifiers or '...' before 'qboolean'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:234,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/view.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'V_CheckGamma'
In file included from e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:237,
from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/cdaudio.h:22: error: expected declaration specifiers or '...' before 'qboolean'
In file included from e:/quakesource/quake_wii/src/wii/input.c:26:
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:260: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'noclip_anglehack'
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:272: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'host_initialized'
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:290: error: expected ')' before 'crash'
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'msg_suppress_1'
e:/quakesource/quake_wii/src/wii/../generic/quakedef.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'isDedicated'
e:/quakesource/quake_wii/src/wii/input.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keyboard_shifted'
e:/quakesource/quake_wii/src/wii/input.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kb_last_selected'
e:/quakesource/quake_wii/src/wii/input.c:95:21: warning: ogc/pad.h: No such file or directory
e:/quakesource/quake_wii/src/wii/input.c:96:25: warning: wiiuse/wpad.h: No such file or directory
e:/quakesource/quake_wii/src/wii/input.c:97:34: warning: wiikeyboard/keyboard.h: No such file or directory
In file included from e:/quakesource/quake_wii/src/wii/input.c:98:
e:/quakesource/quake_wii/src/wii/input_wiimote.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wiimote_ir_res_x'
e:/quakesource/quake_wii/src/wii/input_wiimote.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wiimote_ir_res_y'
e:/quakesource/quake_wii/src/wii/input.c:102: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wiimote_ir_res_x'
e:/quakesource/quake_wii/src/wii/input.c:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wiimote_ir_res_y'
e:/quakesource/quake_wii/src/wii/input.c:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wpad_previous_keys'
e:/quakesource/quake_wii/src/wii/input.c:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wpad_keys'
e:/quakesource/quake_wii/src/wii/input.c:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pointer'
e:/quakesource/quake_wii/src/wii/input.c:110: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'orientation'
e:/quakesource/quake_wii/src/wii/input.c:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'expansion'
e:/quakesource/quake_wii/src/wii/input.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wiimote_connected'
e:/quakesource/quake_wii/src/wii/input.c:114: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nunchuk_connected'
e:/quakesource/quake_wii/src/wii/input.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'classic_connected'
e:/quakesource/quake_wii/src/wii/input.c:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'keyboard_connected'
e:/quakesource/quake_wii/src/wii/input.c:118: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pad_previous_keys'
e:/quakesource/quake_wii/src/wii/input.c:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pad_keys'
e:/quakesource/quake_wii/src/wii/input.c:154: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WPAD_StickX'
e:/quakesource/quake_wii/src/wii/input.c:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WPAD_StickY'
e:/quakesource/quake_wii/src/wii/input.c: In function 'IN_Init':
e:/quakesource/quake_wii/src/wii/input.c:255: error: 'WPAD_CHAN_ALL' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:255: error: (Each undeclared identifier is reported only once
e:/quakesource/quake_wii/src/wii/input.c:255: error: for each function it appears in.)
e:/quakesource/quake_wii/src/wii/input.c:255: error: 'WPAD_FMT_BTNS_ACC_IR' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:256: error: 'wiimote_ir_res_x' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:256: error: 'wiimote_ir_res_y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c: In function 'IN_Commands':
e:/quakesource/quake_wii/src/wii/input.c:278: error: 'keyboard_event' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:278: error: expected ';' before 'KB_event'
e:/quakesource/quake_wii/src/wii/input.c:280: error: 'KB_event' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:284: error: 'KEYBOARD_CONNECTED' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:285: error: 'keyboard_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:285: error: 'TRUE' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:288: error: 'KEYBOARD_DISCONNECTED' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:289: error: 'FALSE' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:292: error: 'KEYBOARD_PRESSED' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:293: error: 'keyboard_shifted' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:294: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:297: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:304: error: 'KEYBOARD_RELEASED' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:306: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:309: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:318: error: 'u32' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:318: error: expected ';' before 'exp_type'
e:/quakesource/quake_wii/src/wii/input.c:319: error: 'WPAD_CHAN_0' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:319: error: 'exp_type' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:320: error: 'WPAD_EXP_NONE' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:322: error: 'WPAD_EXP_NUNCHUK' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:324: error: 'nunchuk_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:325: error: 'wpad_previous_keys' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:328: error: 'classic_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:329: error: 'wpad_keys' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:330: error: 'pad_keys' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:331: error: 'pad_previous_keys' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:334: error: 'WPAD_EXP_CLASSIC' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:353: error: 'PAD_CHAN0' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:357: error: 'pointer' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:358: error: 'orientation' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:359: error: 'expansion' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:361: error: 'wiimote_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:361: error: 'WPAD_BUTTON_MINUS' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:374: error: 'WPAD_NUNCHUK_BUTTON_Z' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:381: error: 'WPAD_BUTTON_B' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:381: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:383: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:384: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:395: error: 'WPAD_CLASSIC_BUTTON_LEFT' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:398: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:401: error: 'WPAD_CLASSIC_BUTTON_RIGHT' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:404: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:407: error: 'WPAD_CLASSIC_BUTTON_DOWN' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:410: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:413: error: 'WPAD_CLASSIC_BUTTON_UP' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:416: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:419: error: 'WPAD_CLASSIC_BUTTON_PLUS' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:422: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:425: error: 'WPAD_CLASSIC_BUTTON_A' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:428: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:431: error: 'WPAD_CLASSIC_BUTTON_B' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:434: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:437: error: 'WPAD_CLASSIC_BUTTON_MINUS' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:440: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:443: error: 'WPAD_CLASSIC_BUTTON_X' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:446: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:449: error: 'WPAD_CLASSIC_BUTTON_Y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:452: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:458: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:464: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:467: error: 'WPAD_CLASSIC_BUTTON_ZL' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:470: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:473: error: 'WPAD_CLASSIC_BUTTON_ZR' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:476: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:482: error: 'WPAD_BUTTON_LEFT' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:485: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:488: error: 'WPAD_BUTTON_RIGHT' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:491: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:494: error: 'WPAD_BUTTON_DOWN' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:497: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:500: error: 'WPAD_BUTTON_UP' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:503: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:506: error: 'WPAD_BUTTON_PLUS' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:509: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:512: error: 'WPAD_BUTTON_A' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:515: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:521: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:527: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:530: error: 'WPAD_BUTTON_1' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:533: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:536: error: 'WPAD_BUTTON_2' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:539: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:544: error: 'WPAD_NUNCHUK_BUTTON_C' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:547: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:553: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:560: error: 'PAD_BUTTON_LEFT' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:563: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:566: error: 'PAD_BUTTON_RIGHT' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:569: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:572: error: 'PAD_BUTTON_DOWN' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:575: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:577: error: 'PAD_BUTTON_UP' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:580: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:583: error: 'PAD_BUTTON_A' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:586: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:589: error: 'PAD_BUTTON_B' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:592: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:595: error: 'PAD_BUTTON_X' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:598: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:601: error: 'PAD_BUTTON_Y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:604: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:607: error: 'PAD_TRIGGER_R' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:610: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:613: error: 'PAD_TRIGGER_L' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:616: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:619: error: 'PAD_TRIGGER_Z' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:622: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c:625: error: 'PAD_BUTTON_START' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:628: error: too many arguments to function 'Key_Event'
e:/quakesource/quake_wii/src/wii/input.c: In function 'IN_Move':
e:/quakesource/quake_wii/src/wii/input.c:649: error: 'pointer' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:673: error: 'nunchuk_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:675: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nunchuk_stick_x'
e:/quakesource/quake_wii/src/wii/input.c:675: error: 'nunchuk_stick_x' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:676: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nunchuk_stick_y'
e:/quakesource/quake_wii/src/wii/input.c:676: error: 'nunchuk_stick_y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:688: error: 'classic_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:690: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'left_stick_x'
e:/quakesource/quake_wii/src/wii/input.c:690: error: 'left_stick_x' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:691: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'left_stick_y'
e:/quakesource/quake_wii/src/wii/input.c:691: error: 'left_stick_y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:693: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'right_stick_x'
e:/quakesource/quake_wii/src/wii/input.c:693: error: 'right_stick_x' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:694: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'right_stick_y'
e:/quakesource/quake_wii/src/wii/input.c:694: error: 'right_stick_y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:707: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stick_x'
e:/quakesource/quake_wii/src/wii/input.c:707: error: 'stick_x' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:708: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stick_y'
e:/quakesource/quake_wii/src/wii/input.c:708: error: 'stick_y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:710: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sub_stick_x'
e:/quakesource/quake_wii/src/wii/input.c:710: error: 'sub_stick_x' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:711: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'sub_stick_y'
e:/quakesource/quake_wii/src/wii/input.c:711: error: 'sub_stick_y' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:750: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:751: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:755: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:757: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:758: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:762: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:763: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:770: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:773: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:774: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:776: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:785: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:786: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:788: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:794: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'invert_pitch'
e:/quakesource/quake_wii/src/wii/input.c:794: error: 'invert_pitch' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:794: error: 'cvar_t' has no member named 'value'
e:/quakesource/quake_wii/src/wii/input.c:814: error: 'wiimote_connected' undeclared (first use in this function)
e:/quakesource/quake_wii/src/wii/input.c:816: error: 'orientation' undeclared (first use in this function)
make[2]: *** [input.o] Error 1
make[1]: *** [obj] Error 2
make[1]: Leaving directory `/e/quakesource/quake_wii'
"make": *** [wii] Error 2
> Process Exit Code: 2
> Time Taken: 00:01

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Mon Jul 19, 2010 7:39 pm Post subject: |

ok if anyone can't help me with that, does anyone know if there is a wii port of quake that is easier to compile?

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Mon Jul 19, 2010 9:00 pm Post subject: |

I have a Wii and wouldnt mind making a mod for it myself, simply to show my friends how cool Quake is I'll try to download this project you posted and see if i can get it to compile under MSVC 2008. What operating system are you using?? It's possible that the project you are having problems with is using another compiler/os.
I seem to have seen another engine project for Wii but cant remember at the moment...

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Mon Jul 19, 2010 9:10 pm Post subject: |

ok, thanks for starting to help me with this, at first i was using the devkitpro compiler, but now i switched to the mscv 2008, becuase it just seemed easier. oh my operating system is windows xp professional

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Tue Jul 20, 2010 12:38 am Post subject: |

ok after using msvc 2008 i got myself to a build log like this

Quote:
1>------ Build started: Project: quakewii, Configuration: Debug Win32 ------ 1>Performing Makefile project actions 1>make -f Makefile.wii 1>make[1]: Entering directory `/e/quakesource/quake-wii/build/wii' 1>linking ... QuakeGX.elf
1>e:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.4.3/../../../../powerpc-eabi/lib/crtmain.o: In function `__crtmain':
1>c:/Users/davem/projects/devkitpro/buildscripts/newlib-1.18.0/libgloss/rs6000/crtmain.c:18: undefined reference to `main'
1>collect2: ld returned 1 exit status
1>make[2]: *** [/e/quakesource/quake-wii/build/wii/dist/wii/apps/quake/QuakeGX.elf] Error 1
1>make[1]: *** [obj] Error 2
1>make[1]: Leaving directory `/e/quakesource/quake-wii/build/wii'
1>make: *** [wii] Error 2
1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
1>Build log was saved at "file://e:\quakesource\quake-wii\build\wii\Debug\BuildLog.htm"
1>quakewii - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

does anyone have anyidea on how to fix this?

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Tue Jul 20, 2010 4:11 am Post subject: |

after much research I found out that the quakeGX source didn't compile well, which may be due to the wrong makefile. So I was looking around and I found the q1rev engine, which apparently is not as good as quakeGX but at least the source code compiles well without any needed modification. You can get the source code here : http://code.google.com/p/qrevpak/source/checkout.
also the project that comes with the source code is a msvc 2010 project so your might need to do some converter or just make a new project the compiles the code. On that note could someone else try to compile and run the gl version of q1rev and run it on their wii becuase when I ran the gl version on my wii all the textures were white, it ran really slow and none of the game menus worked.

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Tue Jul 20, 2010 4:28 am Post subject: |

Most of these wii ports are wrappers of openGL to GX api. So a lot of the internal workings are not as user friendly as one might assume. The only usefulness of these ports would best be to use quakeC mods on the wii. But from an engine standpoint it's a lot of work. IMHO Quake plays best using mouse+keyboard not a remote+nunchuck, so most mods lose functionality...

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Tue Jul 20, 2010 5:02 am Post subject: |

You might consider Bigfoot's FodQuake, a Quakeworld client port. http://www.quakeworld.nu/forum/viewtopic.php?id=4167 _________________ Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Tue Jul 20, 2010 5:31 am Post subject: |

Fodquake looks like it could be good, but I can't find the version of it that works with wii.

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Tue Jul 20, 2010 6:28 am Post subject: |

Hazematman wrote:
Fodquake looks like it could be good, but I can't find the version of it that works with wii.

Me neither
I always thought the post implied there was Wii build available, but I don't see a binary anywhere.
_________________
Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Tue Jul 20, 2010 6:40 am Post subject: |

Ya he has some wii stuff in there. But not sure how far he has it implemented. On a side note, you CAN connect a keyboard to the Wii, and most likely (on some keyboards) daisy chain a mouse to it too. So in theory you CAN play quake with a kb+mouse using the Wii

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Tue Jul 20, 2010 11:40 pm Post subject: |

Ok, after even more research I finally found out how to compile quakegx for wii properly step 1. Download the quakeGX source code from here:http://code.google.com/p/quake-gamecube/source/checkout step 2. Create a msvc 2008 make file project for the source code. The .sln file should go here "quake-gamecube\quake-wii" and the .vcproj file should go here "quake-gamecube\quake-wii\build\wii".
step 3. Rename makefile.gx to makefile. open up the makefile in msvc 2008 and add this line to the top:

Code:
include $(DEVKITPPC)/wii_rules

step 4. compile the project and boot.dol(the boot file for quakegx on wii) should be here "quake-gamecube\quake-wii\dist\wii\apps\quake".
step 5. copy the quake folder from "quake-gamecube\quake-wii\dist\wii\apps\quake" and put it on the apps folder of your sd, and copy pak0.pak and pak1.pak from your quake directory on your computer and put it in the id folder from quake on your sd card. now go put your sd card in you wii and run quake from the homebrew channel and it should work.

Back to top |

Baker Joined: 14 Mar 2006 Posts: 1538 |

Posted: Wed Jul 21, 2010 12:36 am Post subject: |

Hazematman wrote:
Ok, after even more research I finally found out how to compile quakegx for wii properly step 1. Download the quakeGX source code from here:http://code.google.com/p/quake-gamecube/source/checkout step 2. Create a msvc 2008 make file project for the source code. The .sln file should go here "quake-gamecube\quake-wii" and the .vcproj file should go here "quake-gamecube\quake-wii\build\wii".
step 3. Rename makefile.gx to makefile. open up the makefile in msvc 2008 and add this line to the top:

Code:
include $(DEVKITPPC)/wii_rules

step 4. compile the project and boot.dol(the boot file for quakegx on wii) should be here "quake-gamecube\quake-wii\dist\wii\apps\quake".
step 5. copy the quake folder from "quake-gamecube\quake-wii\dist\wii\apps\quake" and put it on the apps folder of your sd, and copy pak0.pak and pak1.pak from your quake directory on your computer and put it in the id folder from quake on your sd card. now go put your sd card in you wii and run quake from the homebrew channel and it should work.

Thanks for the info, Hazematman I might try to compile the Wii some time for fun.
I'm glad you got it to compile.
_________________
Tomorrow Never Dies. I feel this Tomorrow knocking on the door ...

Back to top |

r00k Joined: 13 Nov 2004 Posts: 483 |

Posted: Wed Jul 21, 2010 4:50 am Post subject: |

Not sure which version you grabbed, but I found another website of the author's that has various versions included here: http://www.fallenacorn.com/piko/quake-wii-piko/ the newest i believe is version 0.11

Back to top |

Hazematman Joined: 15 Jul 2010 Posts: 31 |

Posted: Wed Jul 21, 2010 4:52 am Post subject: |

thanks, I didn't notice that its at version 11 I have version 0.05 so il guess il try out 11 and see how good it is.

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> Engine Programming | All times are GMT Goto page 1, 2 Next
Page 1 of 2

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group