Technical support > Windows

R24362 - Codeblocks: Compilation Errors

(1/6) > >>

odie:
Hi,

Sorry to be out of touch for 2 days.... was super sick and MC and resting @ home....

This morning, i came back and TSVN my version to R24362.

I compiled at CB with Rebuild Workspace option and this was the log i got (Tons of errors and wont continue):


--- Code: ----------------- Build: windows_debug in game ---------------

Compiling: ..\..\src\game\g_ai.c
Compiling: ..\..\src\game\g_ai_lua.c
Compiling: ..\..\src\game\g_client.c
Compiling: ..\..\src\game\g_cmds.c
Compiling: ..\..\src\game\g_combat.c
Compiling: ..\..\src\game\g_func.c
Compiling: ..\..\src\game\g_main.c
Compiling: ..\..\src\game\g_phys.c
Compiling: ..\..\src\game\g_reaction.c
Compiling: ..\..\src\game\g_spawn.c
Compiling: ..\..\src\game\g_svcmds.c
Compiling: ..\..\src\game\g_trigger.c
Compiling: ..\..\src\game\g_utils.c
Compiling: ..\..\src\game\inv_shared.c
Compiling: ..\..\src\game\lua\lapi.c
Compiling: ..\..\src\game\lua\lauxlib.c
Compiling: ..\..\src\game\lua\lbaselib.c
Compiling: ..\..\src\game\lua\lcode.c
Compiling: ..\..\src\game\lua\ldblib.c
Compiling: ..\..\src\game\lua\ldebug.c
Compiling: ..\..\src\game\lua\ldo.c
Compiling: ..\..\src\game\lua\ldump.c
Compiling: ..\..\src\game\lua\lfunc.c
Compiling: ..\..\src\game\lua\lgc.c
Compiling: ..\..\src\game\lua\linit.c
Compiling: ..\..\src\game\lua\liolib.c
Compiling: ..\..\src\game\lua\llex.c
Compiling: ..\..\src\game\lua\lmathlib.c
Compiling: ..\..\src\game\lua\lmem.c
Compiling: ..\..\src\game\lua\loadlib.c
Compiling: ..\..\src\game\lua\lobject.c
Compiling: ..\..\src\game\lua\lopcodes.c
Compiling: ..\..\src\game\lua\loslib.c
Compiling: ..\..\src\game\lua\lparser.c
Compiling: ..\..\src\game\lua\lstate.c
Compiling: ..\..\src\game\lua\lstring.c
Compiling: ..\..\src\game\lua\lstrlib.c
Compiling: ..\..\src\game\lua\ltable.c
Compiling: ..\..\src\game\lua\ltablib.c
Compiling: ..\..\src\game\lua\ltm.c
Compiling: ..\..\src\game\lua\lua.c
Compiling: ..\..\src\game\lua\lundump.c
Compiling: ..\..\src\game\lua\lvm.c
Compiling: ..\..\src\game\lua\lzio.c
Compiling: ..\..\src\game\lua\print.c
Compiling: ..\..\src\game\q_shared.c
Compiling: ..\..\src\shared\infostring.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\parse.c
Compiling: ..\..\src\shared\shared.c
Linking dynamic library: ..\..\base\game.dll
Output size is 1.60 MB

-------------- Build: windows_debug in ufo2map ---------------

Compiling: ..\..\src\common\files.c
Compiling: ..\..\src\common\ioapi.c
Compiling: ..\..\src\common\mem.c
Compiling: ..\..\src\common\routing.c
Compiling: ..\..\src\common\tracing.c
Compiling: ..\..\src\common\unzip.c
Compiling: ..\..\src\ports\windows\win_shared.c
Compiling: ..\..\src\shared\byte.c
Compiling: ..\..\src\shared\entitiesdef.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\parse.c
Compiling: ..\..\src\shared\shared.c
Compiling: ..\..\src\tools\ufo2map\brushbsp.c
Compiling: ..\..\src\tools\ufo2map\bsp.c
Compiling: ..\..\src\tools\ufo2map\check\check.c
Compiling: ..\..\src\tools\ufo2map\check\checkentities.c
Compiling: ..\..\src\tools\ufo2map\check\checklib.c
Compiling: ..\..\src\tools\ufo2map\common\aselib.c
Compiling: ..\..\src\tools\ufo2map\common\bspfile.c
Compiling: ..\..\src\tools\ufo2map\common\imagelib.c
Compiling: ..\..\src\tools\ufo2map\common\polylib.c
Compiling: ..\..\src\tools\ufo2map\common\scriplib.c
Compiling: ..\..\src\tools\ufo2map\common\trace.c
Compiling: ..\..\src\tools\ufo2map\csg.c
Compiling: ..\..\src\tools\ufo2map\faces.c
Compiling: ..\..\src\tools\ufo2map\levels.c
Compiling: ..\..\src\tools\ufo2map\lighting.c
Compiling: ..\..\src\tools\ufo2map\lightmap.c
Compiling: ..\..\src\tools\ufo2map\map.c
Compiling: ..\..\src\tools\ufo2map\patches.c
Compiling: ..\..\src\tools\ufo2map\portals.c
Compiling: ..\..\src\tools\ufo2map\routing.c
Compiling: ..\..\src\tools\ufo2map\textures.c
Compiling: ..\..\src\tools\ufo2map\threads.c
Compiling: ..\..\src\tools\ufo2map\tree.c
In file included from c:/development/Codeblocks/mingw/include/jpeglib.h:28,
                 from C:\SVN Update\src\tools\ufo2map\/common/imagelib.h:31,
                 from C:\SVN Update\src\tools\ufo2map\/bsp.h:36,
                 from C:\SVN Update\src\tools\ufo2map\threads.c:25:
c:/development/Codeblocks/mingw/include/jconfig.h:25:1: warning: "HAVE_STDLIB_H" redefined
In file included from c:/development/Codeblocks/mingw/include/SDL/SDL_stdinc.h:28,
                 from c:/development/Codeblocks/mingw/include/SDL/SDL_thread.h:31,
                 from C:\SVN Update\src\tools\ufo2map\threads.c:23:
c:/development/Codeblocks/mingw/include/SDL/SDL_config.h:67:1: warning: this is the location of the previous definition
Compiling: ..\..\src\tools\ufo2map\ufo2map.c
Compiling: ..\..\src\tools\ufo2map\writebsp.c
Linking console executable: ..\..\ufo2map.exe
Output size is 2.19 MB

-------------- Build: windows_debug in ufo_ded ---------------

Compiling: ..\..\src\common\cmd.c
Compiling: ..\..\src\common\cmodel.c
Compiling: ..\..\src\common\common.c
Compiling: ..\..\src\common\cvar.c
Compiling: ..\..\src\common\dbuffer.c
Compiling: ..\..\src\common\files.c
Compiling: ..\..\src\common\http.c
Compiling: ..\..\src\common\ioapi.c
Compiling: ..\..\src\common\md4.c
Compiling: ..\..\src\common\mem.c
Compiling: ..\..\src\common\msg.c
Compiling: ..\..\src\common\net.c
Compiling: ..\..\src\common\netpack.c
Compiling: ..\..\src\common\pqueue.c
Compiling: ..\..\src\common\routing.c
Compiling: ..\..\src\common\scripts.c
Compiling: ..\..\src\common\tracing.c
Compiling: ..\..\src\common\unzip.c
Compiling: ..\..\src\game\inv_shared.c
Compiling: ..\..\src\game\q_shared.c
Compiling: ..\..\src\ports\windows\ufo.rc
Compiling: ..\..\src\ports\windows\win_console.c
Compiling: ..\..\src\ports\windows\win_main.c
Compiling: ..\..\src\ports\windows\win_shared.c
Compiling: ..\..\src\server\sv_ccmds.c
Compiling: ..\..\src\server\sv_clientstub.c
Compiling: ..\..\src\server\sv_game.c
Compiling: ..\..\src\server\sv_init.c
Compiling: ..\..\src\server\sv_main.c
Compiling: ..\..\src\server\sv_send.c
Compiling: ..\..\src\server\sv_user.c
Compiling: ..\..\src\server\sv_world.c
Compiling: ..\..\src\shared\byte.c
Compiling: ..\..\src\shared\infostring.c
Compiling: ..\..\src\shared\mathlib.c
Compiling: ..\..\src\shared\parse.c
Compiling: ..\..\src\shared\shared.c
Linking executable: ..\..\ufo_ded.exe
Output size is 1.58 MB

-------------- Build: windows_debug in ufo ---------------

Compiling: ..\..\src\client\campaign\cp_aircraft.c
Compiling: ..\..\src\client\campaign\cp_aircraft_callbacks.c
Compiling: ..\..\src\client\campaign\cp_airfight.c
Compiling: ..\..\src\client\campaign\cp_alien_interest.c
Compiling: ..\..\src\client\campaign\cp_alienbase.c
Compiling: ..\..\src\client\campaign\cp_aliencont.c
Compiling: ..\..\src\client\campaign\cp_aliencont_callbacks.c
Compiling: ..\..\src\client\campaign\cp_base.c
Compiling: ..\..\src\client\campaign\cp_base_callbacks.c
Compiling: ..\..\src\client\campaign\cp_campaign.c
Compiling: ..\..\src\client\campaign\cp_employee.c
Compiling: ..\..\src\client\campaign\cp_employee_callbacks.c
Compiling: ..\..\src\client\campaign\cp_event.c
Compiling: ..\..\src\client\campaign\cp_fightequip_callbacks.c
Compiling: ..\..\src\client\campaign\cp_hospital.c
Compiling: ..\..\src\client\campaign\cp_hospital_callbacks.c
Compiling: ..\..\src\client\campaign\cp_installation.c
Compiling: ..\..\src\client\campaign\cp_installation_callbacks.c
Compiling: ..\..\src\client\campaign\cp_map.c
Compiling: ..\..\src\client\campaign\cp_mapfightequip.c
Compiling: ..\..\src\client\campaign\cp_market.c
Compiling: ..\..\src\client\campaign\cp_market_callbacks.c
Compiling: ..\..\src\client\campaign\cp_messageoptions.c
Compiling: ..\..\src\client\campaign\cp_messageoptions_callbacks.c
Compiling: ..\..\src\client\campaign\cp_messages.c
Compiling: ..\..\src\client\campaign\cp_mission_triggers.c
Compiling: ..\..\src\client\campaign\cp_missions.c
Compiling: ..\..\src\client\campaign\cp_nation.c
Compiling: ..\..\src\client\campaign\cp_nations.c
Compiling: ..\..\src\client\campaign\cp_parse.c
Compiling: ..\..\src\client\campaign\cp_popup.c
Compiling: ..\..\src\client\campaign\cp_produce.c
Compiling: ..\..\src\client\campaign\cp_produce_callbacks.c
Compiling: ..\..\src\client\campaign\cp_radar.c
Compiling: ..\..\src\client\campaign\cp_rank.c
Compiling: ..\..\src\client\campaign\cp_research.c
Compiling: ..\..\src\client\campaign\cp_research_callbacks.c
Compiling: ..\..\src\client\campaign\cp_save.c
Compiling: ..\..\src\client\campaign\cp_team.c
Compiling: ..\..\src\client\campaign\cp_team_callbacks.c
Compiling: ..\..\src\client\campaign\cp_time.c
Compiling: ..\..\src\client\campaign\cp_transfer.c
Compiling: ..\..\src\client\campaign\cp_transfer_callbacks.c
Compiling: ..\..\src\client\campaign\cp_ufo.c
Compiling: ..\..\src\client\campaign\cp_ufopedia.c
Compiling: ..\..\src\client\campaign\cp_uforecovery.c
Compiling: ..\..\src\client\campaign\cp_uforecovery_callbacks.c
Compiling: ..\..\src\client\campaign\cp_xvi.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_baseattack.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_buildbase.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_harvest.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_intercept.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_recon.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_supply.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_terror.c
Compiling: ..\..\src\client\campaign\missions\cp_mission_xvi.c
Compiling: ..\..\src\client\cl_actor.c
Compiling: ..\..\src\client\cl_cinematic.c
Compiling: ..\..\src\client\cl_cinematic_ogm.c
Compiling: ..\..\src\client\cl_cinematic_roq.c
C:\SVN Update\src\client\cl_cinematic_ogm.c:30:18: xvid.h: No such file or directory
C:\SVN Update\src\client\cl_cinematic_ogm.c:33:27: theora/theora.h: No such file or directory
C:\SVN Update\src\client\cl_cinematic_ogm.c:66: error: syntax error before "xvid_dec_stats_t"
C:\SVN Update\src\client\cl_cinematic_ogm.c:66: warning: no semicolon at end of struct or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:71: error: syntax error before "th_info"
C:\SVN Update\src\client\cl_cinematic_ogm.c:71: warning: type defaults to `int' in declaration of `th_info'
C:\SVN Update\src\client\cl_cinematic_ogm.c:71: warning: data definition has no type or storage class
C:\SVN Update\src\client\cl_cinematic_ogm.c:72: error: syntax error before "th_comment"
C:\SVN Update\src\client\cl_cinematic_ogm.c:72: warning: type defaults to `int' in declaration of `th_comment'
C:\SVN Update\src\client\cl_cinematic_ogm.c:72: warning: data definition has no type or storage class
C:\SVN Update\src\client\cl_cinematic_ogm.c:73: error: syntax error before "th_state"
C:\SVN Update\src\client\cl_cinematic_ogm.c:73: warning: type defaults to `int' in declaration of `th_state'
C:\SVN Update\src\client\cl_cinematic_ogm.c:73: warning: data definition has no type or storage class
C:\SVN Update\src\client\cl_cinematic_ogm.c:75: error: syntax error before "th_yuvbuffer"
C:\SVN Update\src\client\cl_cinematic_ogm.c:75: warning: type defaults to `int' in declaration of `th_yuvbuffer'
C:\SVN Update\src\client\cl_cinematic_ogm.c:75: warning: data definition has no type or storage class
C:\SVN Update\src\client\cl_cinematic_ogm.c:85: error: syntax error before '}' token
C:\SVN Update\src\client\cl_cinematic_ogm.c:85: warning: type defaults to `int' in declaration of `ogmCinematic_t'
C:\SVN Update\src\client\cl_cinematic_ogm.c:85: warning: data definition has no type or storage class
C:\SVN Update\src\client\cl_cinematic_ogm.c:87: error: syntax error before "ogmCin"
C:\SVN Update\src\client\cl_cinematic_ogm.c:87: warning: type defaults to `int' in declaration of `ogmCin'
C:\SVN Update\src\client\cl_cinematic_ogm.c:87: warning: data definition has no type or storage class
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function `CIN_XVID_Init':
C:\SVN Update\src\client\cl_cinematic_ogm.c:99: error: `xvid_gbl_init_t' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:99: error: (Each undeclared identifier is reported only once
C:\SVN Update\src\client\cl_cinematic_ogm.c:99: error: for each function it appears in.)
C:\SVN Update\src\client\cl_cinematic_ogm.c:99: error: syntax error before "xvid_gbl_init"
C:\SVN Update\src\client\cl_cinematic_ogm.c:100: error: `xvid_dec_create_t' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:103: error: `xvid_gbl_init' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:104: error: `xvid_dec_create' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:107: error: `XVID_VERSION' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:112: warning: implicit declaration of function `xvid_global'
C:\SVN Update\src\client\cl_cinematic_ogm.c:121: warning: implicit declaration of function `xvid_decore'
C:\SVN Update\src\client\cl_cinematic_ogm.c:121: error: `XVID_DEC_CREATE' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:123: error: request for member `xvidDecodeHandle' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function `CIN_XVID_Decode':
C:\SVN Update\src\client\cl_cinematic_ogm.c:132: error: `xvid_dec_frame_t' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:132: error: syntax error before "xvid_dec_frame"
C:\SVN Update\src\client\cl_cinematic_ogm.c:135: error: `xvid_dec_frame' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:136: error: request for member `xvidDecodeStats' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:136: error: `xvid_dec_stats_t' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:139: error: `XVID_VERSION' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:140: error: request for member `xvidDecodeStats' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:143: error: `XVID_LOWDELAY' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:150: error: request for member `outputBuffer' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:151: error: request for member `outputWidht' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:152: error: request for member `outputBuffer' in something not a structure or union
Compiling: ..\..\src\client\cl_console.c
C:\SVN Update\src\client\cl_cinematic_ogm.c:153: error: `XVID_CSP_NULL' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:155: error: `XVID_CSP_RGBA' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:157: error: request for member `xvidDecodeHandle' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:157: error: `XVID_DEC_DECODE' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:157: error: request for member `xvidDecodeStats' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function `CIN_XVID_Shutdown':
C:\SVN Update\src\client\cl_cinematic_ogm.c:166: error: request for member `xvidDecodeHandle' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:167: error: request for member `xvidDecodeHandle' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:167: error: `XVID_DEC_DESTROY' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function `CIN_OGM_LoadBlockToSync':
C:\SVN Update\src\client\cl_cinematic_ogm.c:180: error: request for member `ogmFile' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:180: error: request for member `ogmFile' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:181: error: request for member `oy' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:182: error: request for member `ogmFile' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:183: error: request for member `oy' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function `CIN_OGM_LoadPagesToStream':
C:\SVN Update\src\client\cl_cinematic_ogm.c:203: error: request for member `oy' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:206: error: request for member `os_audio' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:207: error: request for member `os_audio' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:210: error: request for member `os_video' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:211: error: request for member `os_video' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function `CIN_OGM_LoadAudioFrame':
C:\SVN Update\src\client\cl_cinematic_ogm.c:246: error: request for member `vd' in something not a structure or union
C:\SVN Update\src\client\cl_cinematic_ogm.c:248: error: request for member `currentTime' in something not a structure or union
Compiling: ..\..\src\client\cl_game.c
Process terminated with status 1 (0 minutes, 44 seconds)
50 errors, 17 warnings
 
Process terminated with status 0 (0 minutes, 44 seconds)
50 errors, 17 warnings

--- End code ---

Anyone can advise me on whats going on pls??
Thanks. :)

Destructavator:

--- Quote ---Anyone can advise me on whats going on pls??
--- End quote ---

Yes, please read this thread:

http://ufoai.ninex.info/forum/index.php?topic=3551.0

Please also note some of the steps I took (on the second page of the thread) to get Ufo.EXE to run without errors.

Hope you feel better soon, BTW.

odie:

--- Quote from: Destructavator on May 07, 2009, 05:03:25 am ---Yes, please read this thread:

http://ufoai.ninex.info/forum/index.php?topic=3551.0

Please also note some of the steps I took (on the second page of the thread) to get Ufo.EXE to run without errors.

Hope you feel better soon, BTW.

--- End quote ---
Hi Destructavator,

Thanks for the links...

I tried downloading the libiconv2.dll and libintl3.dll, downloaded the new CB package and unpacked it overwriting the old ones.... still getting the same error....

Ani further help??

Thanks for the concerns too, still i am a bit groggy..... lol. With these bugs too, driving me "more mad". lol

odie:
Hi Destructavator,

I tried some more things over lunch still could not get it going....

I looked at the logs and realised some errors may help to point to the errors:

Eg, Line 30 :

#include <xvid.h>

The xvid.h, <theora/theora.h>,

I thnk boils down to some of these main files.........

U thnk i missed this theora issue??

Destructavator:
Muton says he got it to work, I'm going to try his method and see how it works out on my system.

I'd recommend, BTW, not overwriting the old codeblocks with the new one, but instead unzipping the new codeblocks to a new, different folder or directory (As if you were starting from scratch, except you really aren't).

Navigation

[0] Message Index

[#] Next page

Go to full version