project-navigation
Personal tools

Author Topic: cannot find -ltheora  (Read 40049 times)

odie

  • Guest
Cannot Compile Using CB
« Reply #30 on: May 07, 2009, 08:29:31 am »
*Edit*
R24363


Hi,

Okie, i have encountered the following errors:
Code: [Select]

-------------- Clean: windows_debug in game ---------------

Cleaned "game - windows_debug"

-------------- 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.00 MB

-------------- Clean: windows_debug in ufo2map ---------------

Cleaned "ufo2map - windows_debug"

-------------- 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 708.83 KB

-------------- Clean: windows_debug in ufo_ded ---------------

Cleaned "ufo_ded - windows_debug"

-------------- 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 748.52 KB

-------------- Clean: windows_debug in ufo ---------------

Cleaned "ufo - windows_debug"

-------------- 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
Compiling: ..\..\src\client\cl_console.c
C:\SVN Update\src\client\cl_cinematic_ogm.c:26:21: error: ogg/ogg.h: No such file or directory
C:\SVN Update\src\client\cl_cinematic_ogm.c:27:26: error: vorbis/codec.h: No such file or directory
C:\SVN Update\src\client\cl_cinematic_ogm.c:30:18: error: xvid.h: No such file or directory
C:\SVN Update\src\client\cl_cinematic_ogm.c:33:27: error: theora/theora.h: No such file or directory
C:\SVN Update\src\client\cl_cinematic_ogm.c:54: error: expected specifier-qualifier-list before 'ogg_sync_state'
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: expected ';' 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:100: error: expected ';' before 'xvid_dec_create'
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: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
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: expected ';' 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: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
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: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
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: 'ogmCinematic_t' has no member named 'outputBuffer'
C:\SVN Update\src\client\cl_cinematic_ogm.c:151: error: 'ogmCinematic_t' has no member named 'outputWidht'
C:\SVN Update\src\client\cl_cinematic_ogm.c:152: error: 'ogmCinematic_t' has no member named 'outputBuffer'
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: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
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: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
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: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
C:\SVN Update\src\client\cl_cinematic_ogm.c:167: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
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:181: warning: implicit declaration of function 'ogg_sync_buffer'
C:\SVN Update\src\client\cl_cinematic_ogm.c:181: error: 'ogmCinematic_t' has no member named 'oy'
C:\SVN Update\src\client\cl_cinematic_ogm.c:181: warning: initialization makes pointer from integer without a cast
C:\SVN Update\src\client\cl_cinematic_ogm.c:183: warning: implicit declaration of function 'ogg_sync_wrote'
C:\SVN Update\src\client\cl_cinematic_ogm.c:183: error: 'ogmCinematic_t' has no member named 'oy'
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadPagesToStream':
C:\SVN Update\src\client\cl_cinematic_ogm.c:199: error: 'ogg_stream_state' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:199: error: 'osptr' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:200: error: 'ogg_page' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:200: error: expected ';' before 'og'
C:\SVN Update\src\client\cl_cinematic_ogm.c:203: warning: implicit declaration of function 'ogg_sync_pageout'
C:\SVN Update\src\client\cl_cinematic_ogm.c:203: error: 'ogmCinematic_t' has no member named 'oy'
C:\SVN Update\src\client\cl_cinematic_ogm.c:203: error: 'og' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:206: error: 'ogmCinematic_t' has no member named 'os_audio'
C:\SVN Update\src\client\cl_cinematic_ogm.c:206: warning: implicit declaration of function 'ogg_page_serialno'
C:\SVN Update\src\client\cl_cinematic_ogm.c:207: error: 'ogmCinematic_t' has no member named 'os_audio'
C:\SVN Update\src\client\cl_cinematic_ogm.c:210: error: 'ogmCinematic_t' has no member named 'os_video'
C:\SVN Update\src\client\cl_cinematic_ogm.c:211: error: 'ogmCinematic_t' has no member named 'os_video'
C:\SVN Update\src\client\cl_cinematic_ogm.c:216: warning: implicit declaration of function 'ogg_stream_pagein'
C:\SVN Update\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadAudioFrame':
C:\SVN Update\src\client\cl_cinematic_ogm.c:241: error: 'ogg_packet' undeclared (first use in this function)
C:\SVN Update\src\client\cl_cinematic_ogm.c:241: error: expected ';' before 'op'
C:\SVN Update\src\client\cl_cinematic_ogm.c:242: error: 'vorbis_block' undeclared (first use in this function)
Compiling: ..\..\src\client\cl_game.c
Compiling: ..\..\src\client\cl_game_campaign.c
Process terminated with status 1 (1 minutes, 14 seconds)
50 errors, 10 warnings
 
Process terminated with status 0 (1 minutes, 14 seconds)
50 errors, 10 warnings

I have tried to download again the new CB from Mattn's weblink.
I have also correctly overwrite the old CB thru the unzipping of the codeblock's zip.

I wonder if anyone can advise me on this further??
Thanks.

Destructavator: I have replied u in the other thread.....
« Last Edit: May 07, 2009, 09:11:00 am by odie »

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: cannot find -ltheora
« Reply #31 on: May 07, 2009, 04:00:25 pm »
look into your include folder
there shall be folders for ogg vorbis and theora

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: cannot find -ltheora
« Reply #32 on: May 07, 2009, 11:08:41 pm »
no, the dll files are in our svn - i was talking about deleting the old c::b + mingw package and extract it newly from the above linked zip file.

Ouch. I finally understood that there is an old, a new, and an even newer codeblocks.zip.
Took that, extracted it and at least I now have ogg.h and libintl3.

Now I get compile errors:
Code: [Select]
Compiling: ..\..\src\client\cl_actor.c
C:\DOKUME~1\ah\LOKALE~1\Temp\cc0wTJ2a.s: Assembler messages:
C:\DOKUME~1\ah\LOKALE~1\Temp\cc0wTJ2a.s:26: Error: junk at end of line, first unrecognized character is `,'
C:\DOKUME~1\ah\LOKALE~1\Temp\cc0wTJ2a.s:27: Error: junk at end of line, first unrecognized character is `,'

Never seen that before.

odie

  • Guest
Re: cannot find -ltheora
« Reply #33 on: May 08, 2009, 06:34:03 am »
Hmmm,

I seeming have a diff set of prob now.

gtkglwidget.h seemed missing:

Code: [Select]
||=== ufo2map, windows_debug ===|
c:\development\Codeblocks\mingw\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
c:\development\Codeblocks\mingw\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows_debug ===|
C:\SVN Update\src\client\renderer\r_error.h|49|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows_debug ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|25|error: gtk/gtkglwidget.h: No such file or directory|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp||In function 'GLFont glfont_create(const char*)':|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|31|error: 'PangoFontDescription' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|31|error: 'font_desc' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|31|error: 'pango_font_description_from_string' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|33|error: 'PangoFont' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|33|error: 'font' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|33|error: 'gdk_gl_font_use_pango_font' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|36|error: 'PangoFontMetrics' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|36|error: 'font_metrics' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|36|error: 'pango_font_get_metrics' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|38|error: 'pango_font_metrics_get_ascent' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|39|error: 'pango_font_metrics_get_descent' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|40|error: 'PANGO_PIXELS' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|42|error: 'pango_font_metrics_unref' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|45|error: 'pango_font_description_free' was not declared in this scope|
||=== Build finished: 15 errors, 5 warnings ===|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
||=== Build finished: 15 errors, 6 warnings ===|

Any advise on this??

Oh, just for history taking....

I have
1) Downloaded the old original codeblocks.zip in wiki.
2) Ensure it works like the good ol one.....
3) Downloaded Mattn's updated codeblocks.zip
4) Replaced my existing directory, ensuring ltheora and ogg includes are in.
5) Tried Mutons' this:
a) goto MinGW\lib\gcc\mingw32\4.3.3
b) copy all files into MinGW\lib
6) Ran codeblocks to compile in debug mode to get the error above. (See code)
« Last Edit: May 08, 2009, 06:36:47 am by odie »

odie

  • Guest
Re: cannot find -ltheora
« Reply #34 on: May 08, 2009, 06:55:34 am »
Okie...

Hunted the 2 .h files from webbie and get a new set of error....

I need to know if the 2 header files i got from web is ok.....or not.
I am attaching...

errors are:
Code: [Select]
||=== ufo2map, windows_debug ===|
c:\development\Codeblocks\mingw\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
c:\development\Codeblocks\mingw\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows_debug ===|
C:\SVN Update\src\client\renderer\r_error.h|49|warning: 'R_CheckErrorDebug' defined but not used|
||=== uforadiant, windows_debug ===|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
||warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C|
C:\SVN Update\src\tools\radiant\libs\gtkutil\filechooser.cpp|149|warning: 'shortcutFoldersInBaseDir' defined but not used|
c:\development\Codeblocks\mingw\include\gdk\gdkgl.h|36|warning: "APIENTRY" redefined|
c:\development\Codeblocks\mingw\include\GL\gl.h|78|warning: this is the location of the previous definition|
c:\development\Codeblocks\mingw\include\gtk\gtkglwidget.h|31|error: 'GdkGLConfig' has not been declared|
c:\development\Codeblocks\mingw\include\gtk\gtkglwidget.h|39|error: expected constructor, destructor, or type conversion before '*' token|
c:\development\Codeblocks\mingw\include\gtk\gtkglwidget.h|48|error: expected constructor, destructor, or type conversion before '*' token|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp||In function 'GLFont glfont_create(const char*)':|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glfont.cpp|33|error: 'gdk_gl_font_use_pango_font' was not declared in this scope|
||=== Build finished: 4 errors, 8 warnings ===|
c:\development\Codeblocks\mingw\include\gtk\gtkglwidget.h|31|error: 'GdkGLConfig' has not been declared|
c:\development\Codeblocks\mingw\include\gtk\gtkglwidget.h|39|error: expected constructor, destructor, or type conversion before '*' token|
c:\development\Codeblocks\mingw\include\gtk\gtkglwidget.h|48|error: expected constructor, destructor, or type conversion before '*' token|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glwidget.cpp|48|error: 'GDK_GL_ATTRIB_LIST_NONE' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glwidget.cpp|55|error: 'GDK_GL_ATTRIB_LIST_NONE' was not declared in this scope|
C:\SVN Update\src\tools\radiant\libs\gtkutil\glwidget.cpp|69|error: expected initializer before '*' token|
||=== Build finished: 10 errors, 8 warnings ===|

[attachment deleted by admin]

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: cannot find -ltheora
« Reply #35 on: May 08, 2009, 07:03:46 am »
some windows user has to search the gtkglext dev pack or build it himself and contribute it for our codeblocks script - until that happened you can't link uforadiant. the rest of the game should work now (maybe you have to update the codeblocks package again - i'm doing frequent updates)

odie

  • Guest
Re: cannot find -ltheora
« Reply #36 on: May 08, 2009, 07:11:10 am »
some windows user has to search the gtkglext dev pack or build it himself and contribute it for our codeblocks script - until that happened you can't link uforadiant. the rest of the game should work now (maybe you have to update the codeblocks package again - i'm doing frequent updates)

Oh Mattn,

if tats the case, how should i go from here? lol.

codeblocks package = so many versions now....
which should i use? Got a direct link now? lol.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: cannot find -ltheora
« Reply #37 on: May 08, 2009, 07:12:26 am »
If you look up codeblocks and go to their forum, they have nightly builds there and instructions on how to download and use them.

http://forums.codeblocks.org/index.php?PHPSESSID=3a78dfe672ba15de7c7138f2af998579&board=20.0
« Last Edit: May 08, 2009, 07:14:25 am by Destructavator »

odie

  • Guest
Re: cannot find -ltheora
« Reply #38 on: May 08, 2009, 07:18:38 am »
If you look up codeblocks and go to their forum, they have nightly builds there and instructions on how to download and use them.

Okie Destructavator,

Juz came back from their forums.... confused. lol. I do not keep track of this proj, and they are speaking Egyptian hieroglyphs to me....... :X

But i did see their built nightly as of 5535 - not same as ours.... do i need to update still???

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: cannot find -ltheora
« Reply #39 on: May 08, 2009, 07:24:19 am »
I don't think anyone really knows the sure answer to which version of Codeblocks to use at this point.  I got the impression from Mattn's last post that he is still trying to figure that out himself.

I'd guess that you would have to experiment a bit...

odie

  • Guest
Re: cannot find -ltheora
« Reply #40 on: May 08, 2009, 07:42:51 am »
I don't think anyone really knows the sure answer to which version of Codeblocks to use at this point.  I got the impression from Mattn's last post that he is still trying to figure that out himself.

I'd guess that you would have to experiment a bit...

Okie, for updates.
I updated to their latest 5535 nightly builts, updated with their wxmsw28u_gcc_cb.dll file, and input our MingW, still did not work. same error as my last error codes posting.

Wondering..... Could mattn or one of the dev guys up there process the most accurate MingW file, and upload it somewhere? i could probably play with it and try to get it working - CB..... *cranking up my old programming rusty sleeping brains.....*

Okie, i am confusing myself over 2 threads....

Here's wat i meant and got so far:

Discussion so far for my errors
« Last Edit: May 08, 2009, 07:54:14 am by odie »

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: cannot find -ltheora
« Reply #41 on: May 08, 2009, 11:36:16 am »
Still problems
Code: [Select]
Linking executable: ..\..\radiant\uforadiant.exe
v:/codeblocks/mingw/bin/../lib/gcc/mingw32/4.3.3/../../../../mingw32/bin/ld.exe: cannot find -lgdkglext-win32-1.0
collect2: ld returned 1 exit status
Process terminated with status 1 (3 minutes, 55 seconds)
1 errors, 28 warnings


Ok, i have enough!
Tried to build the module gdkglext-win32-1.0 on my own
but i start to get angry with this damn opensource %^$%@#
no doc no clear readme always troubles
remove this lines in configure download headers from here
version conflicts found glib 2.14.x but glib 2.7.4 is present
than install perl to compile ....

No sir!  >:(







To reproduce your error i started from scratch

here is the result


goto http://www.mingw.org/
left side Navigation -> Downloads
download Automated MinGW Installer (i've got mingw-5.1.4.exe)
----
run the installer
----
current
----
mingw base tools
g++ compiler
obejctive c compileer
mingw make
----
v:\codeblocks\MinGW
================
extract codeblocks.zip on V:
================
install or copy
7-zip
nsis
TortoiseSVN
into the root of V:
================
goto goto v:\codeblocks\MinGW\lib\gcc\mingw32\4.3.3
copy all files into
v:\codeblocks\MinGW\lib
================
place ufoai srouces at v:\ufoai
================
goto http://gtkglext.sourceforge.net/download
download Ver 1.2.0 and expand
goto gtkglext-1.2.0\gtk\ and copy *.h into
v:\codeblocks\MinGW\include\gtk

goto gtkglext-1.2.0\gdk\ and copy *.h *.c into
v:\codeblocks\MinGW\include\gdk


add this text into the file
V:\codeblocks\MinGW\include\gdkglext-config.h
Code: [Select]
/* gdkglext-config.h
 *
 * This is a generated file.  Please modify `configure.in'
 */

#ifndef GDKGLEXT_CONFIG_H
#define GDKGLEXT_CONFIG_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


#define GDKGLEXT_WINDOWING_WIN32

#define GDKGLEXT_MULTIHEAD_SUPPORT

#if !defined(GDKGLEXT_MULTIHEAD_SUPPORT) && defined(GDK_MULTIHEAD_SAFE)
#error "Installed GdkGLExt library doesn't have multihead support."
#endif







#define GDKGLEXT_NEED_GLHALFNV_TYPEDEF

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* GDKGLEXT_CONFIG_H */

goto ftp://xmlsoft.org/libxml2/win32/
download and extract libxml2-2.7.3.win32.zip
copy all files include\libxml to V:\codeblocks\MinGW\include\libxml

« Last Edit: May 08, 2009, 05:40:13 pm by Muton »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: cannot find -ltheora
« Reply #42 on: May 08, 2009, 08:14:51 pm »
... they are speaking Egyptian hieroglyphs to me....... :X

Quite funny from a person who knows Chinese symbols. :)

-geever

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: cannot find -ltheora
« Reply #43 on: May 08, 2009, 08:57:23 pm »
Took the latest codeblocks.zip (as of 30 mins. ago), reinstalled it and the assembler errors are gone.
The build completes fine. Thx, Mattn :)

UFO.exe still complains about a missing libintl3.DLL.
libintl3 is NOT part of our svn nor part of the codeblocks.zip.
Not sure which would be the better place, but it should be in one of them imho.

Offline Muton

  • Sergeant
  • *****
  • Posts: 496
    • View Profile
Re: cannot find -ltheora
« Reply #44 on: May 08, 2009, 09:55:47 pm »
I've just downloaded the new CB package
libintl3.DLL can be found at mingw\bin