Technical support > Windows

Compiling for Windows (Thread Tracking for Thyranim)

<< < (2/12) > >>

geever:

--- Quote from: Thyranim on July 10, 2009, 11:35:49 am ---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" ???

--- End quote ---

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

Thyranim:

--- Quote from: geever on July 10, 2009, 12:29:46 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

--- End quote ---

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

Destructavator:
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.

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

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 !

Another Guy:
There u go! Happy compiling/testing!!  ;D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version