project-navigation
Personal tools

Author Topic: Compiling for Windows (Thread Tracking for Thyranim)  (Read 31198 times)

odie

  • Guest
Compiling for Windows (Thread Tracking for Thyranim)
« on: July 07, 2009, 07:51:28 am »
Quote from: Thyranim

From: Thyranim     on: July 04, 2009, 11:12:36 PM

sorry, to dumb for this "guide" ...
downloaded and extraced the codeblocks-file and made the settings mentioned in this guide, and nothing more!

"copy the dlls to ufoai:rootdir" .... which rootdir?
do i have to create a directory where the uilded game has to come up or what ?!?
don't get it ...

i hopefully got the correct svn-dir (had to go through 20 pages (it feels like this))
https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
correct?

and after i've downloaded the files via svn (using eclipse for svn-checkout) i've opened the workspace file in codeblocks and clicking on "build" .... right?

but after starting building i get an error after a few seconds
Code: [Select]
||=== ufo2map, windows ===|
D:\_Development\codeblocks\MinGW\include\jconfig.h|25|warning: "HAVE_STDLIB_H" redefined|
D:\_Development\codeblocks\MinGW\include\SDL\SDL_config.h|67|warning: this is the location of the previous definition|
||=== ufo, windows ===|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|29|error: ogg/ogg.h: No such file or directory|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|30|error: vorbis/codec.h: No such file or directory|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|36|error: theora/theora.h: No such file or directory|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|57|error: expected specifier-qualifier-list before 'ogg_sync_state'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_XVID_Init':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|129|error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_XVID_Decode':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|142|error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|146|error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|156|error: 'ogmCinematic_t' has no member named 'outputBuffer'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|157|error: 'ogmCinematic_t' has no member named 'outputWidht'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|158|error: 'ogmCinematic_t' has no member named 'outputBuffer'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|163|error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|163|error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_XVID_Shutdown':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|172|error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|173|error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_OGM_LoadBlockToSync':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|187|warning: implicit declaration of function 'ogg_sync_buffer'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|187|error: 'ogmCinematic_t' has no member named 'oy'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|187|warning: initialization makes pointer from integer without a cast|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|189|warning: implicit declaration of function 'ogg_sync_wrote'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|189|error: 'ogmCinematic_t' has no member named 'oy'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_OGM_LoadPagesToStream':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|205|error: 'ogg_stream_state' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|205|error: (Each undeclared identifier is reported only once|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|205|error: for each function it appears in.)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|205|error: 'osptr' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|206|error: 'ogg_page' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|206|error: expected ';' before 'og'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|209|warning: implicit declaration of function 'ogg_sync_pageout'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|209|error: 'ogmCinematic_t' has no member named 'oy'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|209|error: 'og' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|212|error: 'ogmCinematic_t' has no member named 'os_audio'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|212|warning: implicit declaration of function 'ogg_page_serialno'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|213|error: 'ogmCinematic_t' has no member named 'os_audio'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|216|error: 'ogmCinematic_t' has no member named 'os_video'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|217|error: 'ogmCinematic_t' has no member named 'os_video'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|222|warning: implicit declaration of function 'ogg_stream_pagein'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_OGM_LoadAudioFrame':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|240|error: 'ogg_packet' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|240|error: expected ';' before 'op'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|241|error: 'vorbis_block' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|241|error: expected ';' before 'vb'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|243|error: 'op' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|244|error: 'vb' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|245|warning: implicit declaration of function 'vorbis_block_init'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|245|error: 'ogmCinematic_t' has no member named 'vd'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|247|error: 'ogmCinematic_t' has no member named 'currentTime'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|247|error: 'ogmCinematic_t' has no member named 'vd'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|247|error: 'ogmCinematic_t' has no member named 'vi'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|249|warning: implicit declaration of function 'vorbis_synthesis_pcmout'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|249|error: 'ogmCinematic_t' has no member named 'vd'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|257|error: 'ogmCinematic_t' has no member named 'vi'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|270|warning: implicit declaration of function 'vorbis_synthesis_read'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|270|error: 'ogmCinematic_t' has no member named 'vd'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|273|error: 'ogmCinematic_t' has no member named 'musicStream'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|273|error: 'ogmCinematic_t' has no member named 'vi'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|276|warning: implicit declaration of function 'ogg_stream_packetout'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|276|error: 'ogmCinematic_t' has no member named 'os_audio'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|277|warning: implicit declaration of function 'vorbis_synthesis'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|278|warning: implicit declaration of function 'vorbis_synthesis_blockin'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|278|error: 'ogmCinematic_t' has no member named 'vd'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|284|warning: implicit declaration of function 'vorbis_block_clear'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|286|error: 'ogmCinematic_t' has no member named 'currentTime'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|286|error: 'ogmCinematic_t' has no member named 'vd'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|286|error: 'ogmCinematic_t' has no member named 'vi'|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c||In function 'CIN_XVID_LoadVideoFrame':|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|297|error: 'ogg_packet' undeclared (first use in this function)|
D:\_Games\GPL\ufoi-trunk\ufoai-trunk\src\client\cl_cinematic_ogm.c|297|error: expected ';' before 'op'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 15 warnings ===|
||=== Build finished: 50 errors, 15 warnings ===|

so where's the fault ?!?

i hate compiling -_-
never worked before for no games ... *grmpf*




Hi Thyranim,

Dun worry. Do not be frustrated.

Firstly, the ufoai:rootfolder refers to a pre-designated directory.

For me it was C:\Svn Update\
It can be anything for you.

I assume u r not using TSVN (Known as Tortise SVN)?
If u r on a windows platform, maybe u would like to let me know at which of the following have u completed?

1) Getting Tortise SVN Installed and configured (See link at point 2)
2) Getting the source SVN from here.
3) Getting Codeblocks package (See link at point 4)
4) Unzipping it and configuring it.
5) Compiling the Source Codes
6) Building the codes, then compile the maps. (Run the dos script -> /base/contrib/scripts/compile_maps.bat). This mean that if u installed into C:\SVN Update\, then the file to run is something like this -> C:\SVN Update\base\contrib\scripts\compile_maps.bat

Try these first? If it does not work let me know again. I opened a thread for u to track.

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #1 on: July 09, 2009, 10:51:12 am »
i've downloaded, decompressed and configured codeblocks as of this wiki-guide

currently downloading svn via eclipse:
Code: [Select]
checkout -r HEAD https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunksaving in
D:\_Development\UFOAISVN
finished download (1,49 GB (1.605.230.287 Bytes))
eclipse:
Code: [Select]
Checked out revision 25072.
now starting codeblocks and opening the ufo.workspace file
Code: [Select]
Scanning for lexers in C:\Users\Thyranim\AppData\Roaming\codeblocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in D:\_Development\codeblocks/share/codeblocks/lexers/...
Found 41 lexers
Loading lexer_ada
Loading lexer_angelscript
Loading lexer_bash
Loading lexer_batch
Loading lexer_caml
Loading lexer_cg
Loading lexer_cpp
Loading lexer_css
Loading lexer_d
Loading lexer_diff
Loading lexer_f77
Loading lexer_fortran
Loading lexer_glsl
Loading lexer_gm
Loading lexer_haskell
Loading lexer_hitasm
Loading lexer_html
Loading lexer_latex
Loading lexer_lisp
Loading lexer_lua
Loading lexer_make
Loading lexer_masm
Loading lexer_matlab
Loading lexer_nsis
Loading lexer_OgreCompositor
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_perl
Loading lexer_postscript
Loading lexer_prg
Loading lexer_properties
Loading lexer_python
Loading lexer_rc
Loading lexer_ruby
Loading lexer_smalltalk
Loading lexer_sql
Loading lexer_squirrel
Loading lexer_vbscript
Loading lexer_verilog
Loading lexer_vhdl
Loading lexer_xml
Configured 0 tools
Scanning for plugins in C:\Users\Thyranim\AppData\Roaming\codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in D:\_Development\codeblocks/share/codeblocks/plugins
Loaded 35 plugins
Loading:
AStylePlugin
Autosave
AutoVersioning
BrowseTracker
BYOGames
CB_Koders
ClassWizard
CodeCompletion
CodeSnippets
CodeStat
Compiler
copystrings
Debugger
FilesExtensionHandler
DevPakUpdater
cbDragScroll
EnvVars
Exporter
HeaderFixup
HelpPlugin
HexEditor
IncrementalSearch
cbKeyBinder
lib_finder
OpenFilesList
Profiler
ProjectsImporter
RegExTestbed
ScriptedWizard
SymTab
ThreadSearch
ToDoList
wxSmith
wxSmithMime
wxSmithContribItems
WindowsXPLookNFeel
Running startup script
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\game.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\ufo2map.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\ufo.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\ufo_ded.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_model.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_entity.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_image.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_map.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_shader.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_vfspk3.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_archivezip.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_ufoai.cbp
done
Opening D:\_Development\UFOAISVN\ufoai-trunk\build\projects\radiant_brushexport.cbp
done

where is codeblocks saving the builded game?
can't find anything to give the location-info ... ???
« Last Edit: July 09, 2009, 12:02:52 pm by Thyranim »

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #2 on: July 09, 2009, 04:15:22 pm »
ok, copied whole folder
opened build/project/ufo.worspace in codeblocks and hit "build"

first 5-10 seconds ok
Code: [Select]
Compiling: ..\..\src\client\cl_actor.c
Compiling: ..\..\src\client\cl_cinematic.c
Compiling: ..\..\src\client\cl_cinematic_ogm.c
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:29:21: error: ogg/ogg.h: No such file or directory
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:30:26: error: vorbis/codec.h: No such file or directory
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:36:27: error: theora/theora.h: No such file or directory
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:57: error: expected specifier-qualifier-list before 'ogg_sync_state'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_Init':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:129: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_Decode':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:142: error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:146: error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:156: error: 'ogmCinematic_t' has no member named 'outputBuffer'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:157: error: 'ogmCinematic_t' has no member named 'outputWidht'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:158: error: 'ogmCinematic_t' has no member named 'outputBuffer'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_Shutdown':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:172: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:173: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadBlockToSync':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: warning: implicit declaration of function 'ogg_sync_buffer'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: error: 'ogmCinematic_t' has no member named 'oy'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: warning: initialization makes pointer from integer without a cast
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:189: warning: implicit declaration of function 'ogg_sync_wrote'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:189: error: 'ogmCinematic_t' has no member named 'oy'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadPagesToStream':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: 'ogg_stream_state' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: (Each undeclared identifier is reported only once
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: for each function it appears in.)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: 'osptr' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:206: error: 'ogg_page' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:206: error: expected ';' before 'og'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: warning: implicit declaration of function 'ogg_sync_pageout'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: error: 'ogmCinematic_t' has no member named 'oy'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: error: 'og' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:212: error: 'ogmCinematic_t' has no member named 'os_audio'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:212: warning: implicit declaration of function 'ogg_page_serialno'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:213: error: 'ogmCinematic_t' has no member named 'os_audio'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:216: error: 'ogmCinematic_t' has no member named 'os_video'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:217: error: 'ogmCinematic_t' has no member named 'os_video'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:222: warning: implicit declaration of function 'ogg_stream_pagein'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadAudioFrame':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:240: error: 'ogg_packet' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:240: error: expected ';' before 'op'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:241: error: 'vorbis_block' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:241: error: expected ';' before 'vb'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:243: error: 'op' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:244: error: 'vb' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:245: warning: implicit declaration of function 'vorbis_block_init'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:245: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: 'ogmCinematic_t' has no member named 'currentTime'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:249: warning: implicit declaration of function 'vorbis_synthesis_pcmout'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:249: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:257: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:270: warning: implicit declaration of function 'vorbis_synthesis_read'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:270: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:273: error: 'ogmCinematic_t' has no member named 'musicStream'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:273: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:276: warning: implicit declaration of function 'ogg_stream_packetout'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:276: error: 'ogmCinematic_t' has no member named 'os_audio'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:277: warning: implicit declaration of function 'vorbis_synthesis'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:278: warning: implicit declaration of function 'vorbis_synthesis_blockin'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:278: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:284: warning: implicit declaration of function 'vorbis_block_clear'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:286: error: 'ogmCinematic_t' has no member named 'currentTime'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:286: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:286: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_LoadVideoFrame':
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:297: error: 'ogg_packet' undeclared (first use in this function)
D:\_Games\GPL\ufoai-trunk\src\client\cl_cinematic_ogm.c:297: error: expected ';' before 'op'
Compiling: ..\..\src\client\cl_cinematic_roq.c
Compiling: ..\..\src\client\cl_console.c
Process terminated with status 1 (0 minutes, 38 seconds)
50 errors, 15 warnings
 
Process terminated with status 0 (0 minutes, 38 seconds)
50 errors, 15 warnings


what did i miss?

odie

  • Guest
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #3 on: July 10, 2009, 10:53:15 am »
First question first,

Quote
where is codeblocks saving the builded game?

The built game is within the your download directories of UFOAI.
Its not built magically and 'transported outside the directory.

This is so, in order to execute the game from within the directory, if u r not building an installer / packing files up for export.



Next question:
I noticed u used eclipse for downloading the SVN. I am not too sure if u have downloaded all the necessary files, but it seemed like your ogm files got some problems - this best to ask Destructavator.... or geever.

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #4 on: July 10, 2009, 11:35:49 am »
First forget about the save-dir-thing... got a error in reasoning here... ;)


Next question:
I noticed u used eclipse for downloading the SVN. I am not too sure if u have downloaded all the necessary files, but it seemed like your ogm files got some problems - this best to ask Destructavator.... or geever.

I've downloaded everything within this folder
https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk


how to download files which cannot be found in svn-dir ? :)
when browsing the svn-dir, i'm unable to find any file named "ogg.h" ???




Eclipse-SNV:
Code: [Select]
update -r HEAD D:/_Development/UFOAISVN/ufoai-trunk
    At revision 25085.

Codeblocks with full command line logging:
Code: [Select]
-------------- Build: windows in ufo_ded ---------------

Target is up to date.

-------------- Build: windows in ufo ---------------

mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\codeblocks\MinGW\include -ID:\_Development\codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c -o .objs\client\src\client\cl_cinematic_ogm.o
mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\codeblocks\MinGW\include -ID:\_Development\codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_main.c -o .objs\client\src\client\cl_main.o
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:29:21: error: ogg/ogg.h: No such file or directory
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:30:26: error: vorbis/codec.h: No such file or directory
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:36:27: error: theora/theora.h: No such file or directory
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:57: error: expected specifier-qualifier-list before 'ogg_sync_state'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_Init':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:129: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_Decode':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:142: error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:146: error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:156: error: 'ogmCinematic_t' has no member named 'outputBuffer'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:157: error: 'ogmCinematic_t' has no member named 'outputWidht'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:158: error: 'ogmCinematic_t' has no member named 'outputBuffer'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: 'ogmCinematic_t' has no member named 'xvidDecodeStats'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_Shutdown':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:172: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:173: error: 'ogmCinematic_t' has no member named 'xvidDecodeHandle'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadBlockToSync':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: warning: implicit declaration of function 'ogg_sync_buffer'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: error: 'ogmCinematic_t' has no member named 'oy'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: warning: initialization makes pointer from integer without a cast
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:189: warning: implicit declaration of function 'ogg_sync_wrote'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:189: error: 'ogmCinematic_t' has no member named 'oy'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadPagesToStream':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: 'ogg_stream_state' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: (Each undeclared identifier is reported only once
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: for each function it appears in.)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:205: error: 'osptr' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:206: error: 'ogg_page' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:206: error: expected ';' before 'og'
mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\codeblocks\MinGW\include -ID:\_Development\codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_menu.c -o .objs\client\src\client\cl_menu.o
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: warning: implicit declaration of function 'ogg_sync_pageout'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: error: 'ogmCinematic_t' has no member named 'oy'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: error: 'og' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:212: error: 'ogmCinematic_t' has no member named 'os_audio'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:212: warning: implicit declaration of function 'ogg_page_serialno'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:213: error: 'ogmCinematic_t' has no member named 'os_audio'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:216: error: 'ogmCinematic_t' has no member named 'os_video'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:217: error: 'ogmCinematic_t' has no member named 'os_video'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:222: warning: implicit declaration of function 'ogg_stream_pagein'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_OGM_LoadAudioFrame':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:240: error: 'ogg_packet' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:240: error: expected ';' before 'op'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:241: error: 'vorbis_block' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:241: error: expected ';' before 'vb'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:243: error: 'op' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:244: error: 'vb' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:245: warning: implicit declaration of function 'vorbis_block_init'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:245: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: 'ogmCinematic_t' has no member named 'currentTime'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:249: warning: implicit declaration of function 'vorbis_synthesis_pcmout'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:249: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:257: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:270: warning: implicit declaration of function 'vorbis_synthesis_read'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:270: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:273: error: 'ogmCinematic_t' has no member named 'musicStream'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:273: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:276: warning: implicit declaration of function 'ogg_stream_packetout'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:276: error: 'ogmCinematic_t' has no member named 'os_audio'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:277: warning: implicit declaration of function 'vorbis_synthesis'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:278: warning: implicit declaration of function 'vorbis_synthesis_blockin'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:278: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:284: warning: implicit declaration of function 'vorbis_block_clear'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:286: error: 'ogmCinematic_t' has no member named 'currentTime'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:286: error: 'ogmCinematic_t' has no member named 'vd'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:286: error: 'ogmCinematic_t' has no member named 'vi'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function 'CIN_XVID_LoadVideoFrame':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:297: error: 'ogg_packet' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:297: error: expected ';' before 'op'
mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\codeblocks\MinGW\include -ID:\_Development\codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_parse.c -o .objs\client\src\client\cl_parse.o
Process terminated with status 1 (0 minutes, 2 seconds)
50 errors, 13 warnings
 
Process terminated with status 0 (0 minutes, 2 seconds)
50 errors, 13 warnings
« Last Edit: July 10, 2009, 12:30:03 pm by Thyranim »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #5 on: July 10, 2009, 12:29:46 pm »
how to download files which cannot be found in svn-dir ? :)
when browsing the svn-dir, i'm unable to find any file named "ogg.h" ???

ogg, theora, xvid should be in the C::B package. If you don't use CodeBlocks (C::B) for compilation, maybe you have to get the libs (and headers) from the net, not sure. RudolfoWood knows Eclipse compilation better.

-geever

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #6 on: July 10, 2009, 12:31:23 pm »
ogg, theora, xvid should be in the C::B package. If you don't use CodeBlocks (C::B) for compilation, maybe you have to get the libs (and headers) from the net, not sure. RudolfoWood knows Eclipse compilation better.

-geever

I'm using eclipse only for downloading the svn because of the svn-plugin in there (and because i'm using it for other php-projects)
after that i'm compiling the downloaded files with codeblocks and get those errors

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #7 on: July 10, 2009, 12:41:39 pm »
Which version of Codeblocks did you download and try to compile with?

The one linked to in the project wiki?

A .zip package that Mattn linked to in this forum?

A zipped package that Muton uploaded and linked to?

There's quite a few different packages that have been uploaded and linked to in this forum, some work and some don't, some compile the game but not radiant...

Edit:  Sorry, I looked back and saw you followed the wiki guide, I'm guessing you got the package from there.  I haven't tried that package, so I don't know if it works or not or how up-to-date it is.  Myself I've actually had the best luck with Muton's package, although some of the ones that Mattn has uploaded sometimes work.

Edit (2): At some point I might upload a package that I've had good luck with, and perhaps update the wiki, after I get some rest - right now I'm a bit fried as I couldn't sleep at all last night...  :P

Looking at the URL in the wiki, I remember that one being a package BTAxis uploaded, but I don't think it is the most recent - I'd suggest first trying one that Mattn put together, if that doesn't work you could search the forum for Muton's upload.
« Last Edit: July 10, 2009, 12:48:19 pm by Destructavator »

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #8 on: July 10, 2009, 12:45:08 pm »
Ok, downloading this one
http://mattn.ninex.info/
found here
http://ufoai.ninex.info/forum/index.php?topic=2830.msg19488#msg19488
and will try again...

thanks for info ;)


ok... weird
ogg-error disappeared, all other remain ?
Code: [Select]
------------- Build: windows in ufo ---------------

mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\Codeblocks\MinGW\include -ID:\_Development\Codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c -o .objs\client\src\client\cl_cinematic_ogm.o
mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\Codeblocks\MinGW\include -ID:\_Development\Codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_tip.c -o .objs\client\src\client\cl_tip.o
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:33:18: xvid.h: No such file or directory
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:36:27: theora/theora.h: No such file or directory
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:69: error: syntax error before "xvid_dec_stats_t"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:69: warning: no semicolon at end of struct or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:74: error: syntax error before "th_info"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:74: warning: type defaults to `int' in declaration of `th_info'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:74: warning: data definition has no type or storage class
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:75: error: syntax error before "th_comment"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:75: warning: type defaults to `int' in declaration of `th_comment'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:75: warning: data definition has no type or storage class
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:76: error: syntax error before "th_state"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:76: warning: type defaults to `int' in declaration of `th_state'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:76: warning: data definition has no type or storage class
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:78: error: syntax error before "th_yuvbuffer"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:78: warning: type defaults to `int' in declaration of `th_yuvbuffer'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:78: warning: data definition has no type or storage class
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:91: error: syntax error before '}' token
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:91: warning: type defaults to `int' in declaration of `ogmCinematic_t'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:91: warning: data definition has no type or storage class
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:93: error: syntax error before "ogmCin"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:93: warning: type defaults to `int' in declaration of `ogmCin'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:93: warning: data definition has no type or storage class
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function `CIN_XVID_Init':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:105: error: `xvid_gbl_init_t' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:105: error: (Each undeclared identifier is reported only once
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:105: error: for each function it appears in.)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:105: error: syntax error before "xvid_gbl_init"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:106: error: `xvid_dec_create_t' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:109: error: `xvid_gbl_init' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:110: error: `xvid_dec_create' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:113: error: `XVID_VERSION' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:118: warning: implicit declaration of function `xvid_global'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:127: warning: implicit declaration of function `xvid_decore'
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:127: error: `XVID_DEC_CREATE' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:129: error: request for member `xvidDecodeHandle' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function `CIN_XVID_Decode':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:138: error: `xvid_dec_frame_t' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:138: error: syntax error before "xvid_dec_frame"
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:141: error: `xvid_dec_frame' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:142: error: request for member `xvidDecodeStats' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:142: error: `xvid_dec_stats_t' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:145: error: `XVID_VERSION' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:146: error: request for member `xvidDecodeStats' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:149: error: `XVID_LOWDELAY' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:156: error: request for member `outputBuffer' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:157: error: request for member `outputWidht' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:158: error: request for member `outputBuffer' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:159: error: `XVID_CSP_NULL' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:161: error: `XVID_CSP_RGBA' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: request for member `xvidDecodeHandle' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: `XVID_DEC_DECODE' undeclared (first use in this function)
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:163: error: request for member `xvidDecodeStats' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function `CIN_XVID_Shutdown':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:172: error: request for member `xvidDecodeHandle' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:173: error: request for member `xvidDecodeHandle' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:173: error: `XVID_DEC_DESTROY' undeclared (first use in this function)
mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\Codeblocks\MinGW\include -ID:\_Development\Codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_tutorials.c -o .objs\client\src\client\cl_tutorials.o
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function `CIN_OGM_LoadBlockToSync':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:186: error: request for member `ogmFile' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:186: error: request for member `ogmFile' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:187: error: request for member `oy' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:188: error: request for member `ogmFile' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:189: error: request for member `oy' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function `CIN_OGM_LoadPagesToStream':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:209: error: request for member `oy' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:212: error: request for member `os_audio' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:213: error: request for member `os_audio' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:216: error: request for member `os_video' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:217: error: request for member `os_video' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c: In function `CIN_OGM_LoadAudioFrame':
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:245: error: request for member `vd' in something not a structure or union
D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_cinematic_ogm.c:247: error: request for member `currentTime' in something not a structure or union
mingw32-gcc.exe -Wcast-align -Winline -Wall -Wcast-qual -Wdeclaration-after-statement -DCOMPILE_UFO  -O2 -Wall -D__GNUWIN32__ -DWINVER=0x501 -DNODEBUG -DHAVE_VORBIS_CODEC_H -DHAVE_XVID_H -DHAVE_THEORA_THEORA_H    -ID:\_Development\Codeblocks\MinGW\include -ID:\_Development\Codeblocks\MinGW\include\SDL  -c D:\_Development\UFOAISVN\ufoai-trunk\src\client\cl_ugv.c -o .objs\client\src\client\cl_ugv.o
Process terminated with status 1 (0 minutes, 1 seconds)
50 errors, 15 warnings
 
Process terminated with status 0 (0 minutes, 1 seconds)
50 errors, 15 warnings

used muton's package and codeblocks compiled without error ... within 40 seconds o_O
now trying to compile maps... currently without any errors :D
looks like working now

thanks @ all for help !
« Last Edit: July 10, 2009, 01:16:59 pm by Thyranim »

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #9 on: July 10, 2009, 01:59:15 pm »
There u go! Happy compiling/testing!!  ;D

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #10 on: July 10, 2009, 03:28:56 pm »
Yeah ... :D or not ... ::)
Compiling finished without errors :D
Compiled game, compiled maps, compiled po :D

but after entering a map the game becomes unplayable with above 90% cpu-usage ... even the mouse-pointer hangs on moving and everything else. hitting ^ for console takes a little time for reaction. everything is slow.
as soon as i'm able to hit the options-button, everything works fine again, cpu-usage back down to 2%
not happening in geoscape

oh, and it's only in game-window
i'm currently posting this with game in background so this slowing is not forcing the whole machine to hang...

it's a night-map and i've seen an option in the compile_maps.bat to use less lightning (fast compile)?
because all "actors" (alien, civilien, soldiers) and the firebird are completely black

this is the map
Code: [Select]
CM_LoadMap: "-farm/f_ +drop_firebird +craft_ufo_harvester +field_b +field_b +stables_b +stables_a +filler_l_b +farmhouse_a +barn_a +filler_l_a +filler_m_b +filler_m_b +silo +filler_l_a +filler_m_a +silo +filler_s +filler_s +filler_s" "-32 8 0 0 -32 0 -40 -40 0 -8 0 0 24 0 0 -40 -8 0 -8 -24 0 -40 24 0 24 24 0 -16 32 0 -40 8 0 -16 -8 0 -16 24 0 -8 -40 0 8 32 0 16 -40 0 -8 -32 0 24 -40 0 32 -40 0"
and found some other lines in log
Code: [Select]
Unable to parse Lua file 'ai/civilian.lua'
and

Code: [Select]
model "models/soldiers/male/body.md2" doesn't have animation ""
R_AnimChange: No such animation:  (model: models/soldiers/male/body.md2)

is there something i have to consider?

Edit: waited with start of map for day-version
firebird, soldiers, civilians, aliens, trees are all black

edit2: rebuild map with /-t /fast /clean but didn't change anything
« Last Edit: July 10, 2009, 04:08:52 pm by Thyranim »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #11 on: July 10, 2009, 06:03:44 pm »
GLSL shader setting || videocard driver || videocard ...

-geever

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #12 on: July 10, 2009, 06:21:14 pm »
no problem when using pre-compiled packages so no videocard-issue

or did i missunderstand you?

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #13 on: July 10, 2009, 07:29:08 pm »
no problem when using pre-compiled packages so no videocard-issue

Pre-compiled packages means 2.3-dev?

Are the video settings (in game) the same?

Maybe you could play with them if switching off something speed it up again.

-geever

Offline Thyranim

  • Rookie
  • ***
  • Posts: 77
    • View Profile
Re: Compiling for Windows (Thread Tracking for Thyranim)
« Reply #14 on: July 10, 2009, 10:30:22 pm »
Pre-compiled packages means 2.3-dev?
exactly. the packages by odie

Are the video settings (in game) the same?
didn't delete the users-path-folder (users/roaming/ufoai - vista-user) so the settings are exactly the same

Maybe you could play with them if switching off something speed it up again.
and which do i have to turn on to see the models again? ;)
all black...