Technical support > Windows

Compiling for Windows (Thread Tracking for Thyranim)

(1/12) > >>

odie:

--- 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: ---||=== 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 ===|

--- End code ---

so where's the fault ?!?

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


--- End quote ---


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.

Thyranim:
i've downloaded, decompressed and configured codeblocks as of this wiki-guide

currently downloading svn via eclipse:

--- Code: ---checkout -r HEAD https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
--- End code ---
saving in
D:\_Development\UFOAISVN
finished download (1,49 GB (1.605.230.287 Bytes))
eclipse:
--- Code: ---Checked out revision 25072.
--- End code ---

now starting codeblocks and opening the ufo.workspace file

--- Code: ---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
--- End code ---

where is codeblocks saving the builded game?
can't find anything to give the location-info ... ???

Thyranim:
ok, copied whole folder
opened build/project/ufo.worspace in codeblocks and hit "build"

first 5-10 seconds ok

--- Code: ---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
--- End code ---


what did i miss?

odie:
First question first,


--- Quote ---where is codeblocks saving the builded game?

--- End quote ---

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.

Thyranim:
First forget about the save-dir-thing... got a error in reasoning here... ;)



--- Quote from: odie on July 10, 2009, 10:53:15 am ---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.
--- End quote ---

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: ---update -r HEAD D:/_Development/UFOAISVN/ufoai-trunk
    At revision 25085.
--- End code ---

Codeblocks with full command line logging:

--- Code: ----------------- 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
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version