Help!! Source Code


(VIP_farkas) #1

Hi all!
I have a problem :riflenade:, i want the make new mod, but it’s this error code writes out
>------ Build started: Project: cgame, Configuration: Debug Win32 ------
1>Compiling…
1>cg_shoutcaster.c
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1583) : error C2061: syntax error : identifier ‘WS_KA_BAR’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1599) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1599) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1599) : error C2466: cannot allocate an array of constant size 0
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2633) : error C2061: syntax error : identifier ‘extWeaponStats_t’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2634) : error C2059: syntax error : ‘}’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2636) : error C2061: syntax error : identifier ‘BG_WeapStatForWeapon’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2636) : error C2059: syntax error : ‘;’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2636) : error C2059: syntax error : ‘type’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1981) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1981) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1982) : error C2229: struct ‘<unnamed-tag>’ has an illegal zero-sized array
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1996) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1996) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1997) : error C2229: struct ‘<unnamed-tag>’ has an illegal zero-sized array
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(2268) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(2268) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(2269) : error C2229: struct ‘<unnamed-tag>’ has an illegal zero-sized array
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(3745) : error C2061: syntax error : identifier ‘CG_LimboPanel_GetSelectedWeaponStat’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(3745) : error C2059: syntax error : ‘;’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(3745) : error C2059: syntax error : ‘type’
1>cg_crash.c
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1583) : error C2061: syntax error : identifier ‘WS_KA_BAR’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1599) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1599) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(1599) : error C2466: cannot allocate an array of constant size 0
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2633) : error C2061: syntax error : identifier ‘extWeaponStats_t’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2634) : error C2059: syntax error : ‘}’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2636) : error C2061: syntax error : identifier ‘BG_WeapStatForWeapon’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2636) : error C2059: syntax error : ‘;’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\game\bg_public.h(2636) : error C2059: syntax error : ‘type’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1981) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1981) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1982) : error C2229: struct ‘<unnamed-tag>’ has an illegal zero-sized array
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1996) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1996) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(1997) : error C2229: struct ‘<unnamed-tag>’ has an illegal zero-sized array
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(2268) : error C2065: ‘WS_MAX’ : undeclared identifier
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(2268) : error C2057: expected constant expression
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(2269) : error C2229: struct ‘<unnamed-tag>’ has an illegal zero-sized array
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(3745) : error C2061: syntax error : identifier ‘CG_LimboPanel_GetSelectedWeaponStat’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(3745) : error C2059: syntax error : ‘;’
1>d:\uj teszt a modnak\wolfenstein - enemy territory\src\cgame\cg_local.h(3745) : error C2059: syntax error : ‘type’
1>Generating Code…
1>Creating browse information file…
1>Microsoft Browse Information Maintenance Utility Version 9.00.21022
1>Copyright © Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file ‘.\Debug\bg_animgroup.sbr’: No such file or directory
1>Build log was saved at “file://d:\uj teszt a modnak\Wolfenstein - Enemy Territory\src\cgame\Debug\BuildLog.htm”
1>cgame - 43 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

pls help!!! it’s a great new mod :frowning: :frowning: :frowning:


(VIP_farkas) #2

How to fix it?


(ETJump-Zero) #3

Read the error log. It clearly states what’s wrong. We’re not here to teach you the basics of C programming. Plus we can’t do it if you just give us the errors, not the code.

Read a book and learn all about C


(acQu) #4

What zero said + use Visual Studio 2008 on Windows.