Dennis Schridde schreef:
> Am Mittwoch, 27. Dezember 2006 18:11 schrieb Giel van Schijndel:
>   
>> Dennis Schridde schreef:
>>     
>>> Am Mittwoch, 27. Dezember 2006 02:50 schrieb Giel van Schijndel:
>>>       
>>>> Christian Ohm schreef:
>>>>         
>>>>> On Wednesday, 27 December 2006 at  1:46, Giel van Schijndel wrote:
>>>>>           
>>>>>>   * added some DLLs
>>>>>>     (SDL.dll, SDL_net.dll, physfs.dll, vorbisfile.dll, ogg.dll,
>>>>>> vorbis.dll, png13.dll, zlib1.dll, jpeg6b.dll)
>>>>>>     ( *NOTE: I'm afraight that the current installer executable you're
>>>>>> distributing won't work without these DLLs* )
>>>>>>             
>>>>> What current installer? The one you can download from gna.org for 2.0.5
>>>>> works on a system that has never seen Warzone before (but perhaps
>>>>> you're talking about something else, and I'm too tired to notice).
>>>>>           
>>>> Nah, it apparently was me who was/is too tired to notice (CET=GMT+1
>>>> here, so calculate it if you wish).
>>>>
>>>> It seems that that executable is statically linked to these libraries.
>>>>         
>>> Exactly. :)
>>> Some ppl said that they didn't like all those DLLs in the folder, they
>>> are not needed anyway, since probably never more than 1 app will use our
>>> compilation of libpng or whatever and it saves some download space, so I
>>> linked statically...
>>>       
>> I assume that you've modified the warzone devpackage for that ( this
>> one: http://download.gna.org/warzone/development/warzone-devpkg.7z ),
>> would you care to upload the version you're using there?
>>     
> Allready done, just didn't announce it yet. (MSVC package is not yet 
> uploaded.)
> http://download.gna.org/warzone/development/warzone-devpkg-mingw32.7z
>
> The warzone-devpkg.7z will vanish when I uploaded the MSVC pkg.
>   
Well that new MinGW devpackage doesn't work all to nice. It gives me a
whole bunch of png related compiler errors.

> g++ -m32 -DVERSION=\"2.0.5\" -DYY_STATIC -I.. -I../..
> -IC:\devpkg/include -fpermissive -Wall -O0 -g3 -DDEBUG -mwindows
> -DWIN32 -c -opcx.o pcx.c
> In file included from pcx.c:1:
> C:/devpkg/include/png.h:1: error: expected constructor, destructor, or
> type conversion before '/' token
> C:/devpkg/include/png.h:1: error: expected `,' or `;' before '/' token
> In file included from pcx.c:1:
> C:/devpkg/include/png.h:1:15: warning: no newline at end of file
> pcx.c:12: error: `png_size_t' does not name a type
> pcx.c:16: error: variable or field `wzpng_read_data' declared void
> pcx.c:16: error: `png_structp' was not declared in this scope
> pcx.c:16: error: `png_bytep' was not declared in this scope
> pcx.c:16: error: `png_size_t' was not declared in this scope
> pcx.c:17: warning: initializer expression list treated as compound
> expression
> pcx.c:17: error: expected `,' or `;' before '{' token
> pcx.c: In function `BOOL pie_PNGLoadMem(char*, iSprite*, iColour*)':
> pcx.c:31: error: `png_structp' undeclared (first use this function)
> pcx.c:31: error: (Each undeclared identifier is reported only once for
> each func
> tion it appears in.)
> pcx.c:31: error: expected `;' before "png_ptr"
> pcx.c:32: error: `png_infop' undeclared (first use this function)
> pcx.c:32: error: expected `;' before "info_ptr"
> pcx.c:38: error: 'struct wzpng_io_buf' has no member named 'length'
> pcx.c:42: error: `png_byte' undeclared (first use this function)
> pcx.c:42: error: expected primary-expression before ')' token
> pcx.c:42: error: `png_size_t' undeclared (first use this function)
> pcx.c:42: error: `png_sig_cmp' undeclared (first use this function)
> pcx.c:47: error: `png_ptr' undeclared (first use this function)
> pcx.c:47: error: `PNG_LIBPNG_VER_STRING' undeclared (first use this
> function)
> pcx.c:48: error: `png_create_read_struct' undeclared (first use this
> function)
> pcx.c:55: error: `info_ptr' undeclared (first use this function)
> pcx.c:55: error: `png_create_info_struct' undeclared (first use this
> function)
> pcx.c:62: error: `png_jmpbuf' undeclared (first use this function)
> pcx.c:62: error: `_setjmp' undeclared (first use this function)
> pcx.c:67: error: `png_uint_32' undeclared (first use this function)
> pcx.c:67: error: expected `;' before "width"
> pcx.c:70: error: `png_set_read_fn' undeclared (first use this function)
> pcx.c:73: error: `png_read_info' undeclared (first use this function)
> pcx.c:74: error: `width' undeclared (first use this function)
> pcx.c:74: error: `height' undeclared (first use this function)
> pcx.c:75: error: `png_get_IHDR' undeclared (first use this function)
> pcx.c:78: error: `png_set_strip_16' undeclared (first use this function)
> pcx.c:83: error: `png_set_packing' undeclared (first use this function)
> pcx.c:86: error: `png_set_gray_to_rgb' undeclared (first use this
> function)
> pcx.c:87: error: `png_set_palette_to_rgb' undeclared (first use this
> function)
> pcx.c:88: error: `png_set_tRNS_to_alpha' undeclared (first use this
> function)
> pcx.c:89: error: `PNG_FILLER_AFTER' undeclared (first use this function)
> pcx.c:89: error: `png_set_filler' undeclared (first use this function)
> pcx.c:90: error: `png_set_gray_1_2_4_to_8' undeclared (first use this
> function)
> pcx.c:93: error: `PNG_COLOR_TYPE_GRAY' undeclared (first use this
> function)
> pcx.c:94: error: `png_set_expand' undeclared (first use this function)
> pcx.c:96: error: `png_read_update_info' undeclared (first use this
> function)
> pcx.c:99: error: expected `;' before "w"
> pcx.c:101: error: expected primary-expression before ')' token
> pcx.c:101: error: `w' undeclared (first use this function)
> pcx.c:102: error: expected primary-expression before ')' token
> pcx.c:102: error: `h' undeclared (first use this function)
> pcx.c:112: error: `png_bytep' undeclared (first use this function)
> pcx.c:112: error: `row_pointers' undeclared (first use this function)
> pcx.c:112: error: expected primary-expression before ')' token
> pcx.c:112: error: expected `;' before "malloc"
> pcx.c:120: error: expected `;' before "pdata"
> pcx.c:124: error: `png_read_image' undeclared (first use this function)
> pcx.c:129: error: `png_read_end' undeclared (first use this function)
> pcx.c:133: error: `png_destroy_info_struct' undeclared (first use this
> function)
> pcx.c:134: error: `png_destroy_read_struct' undeclared (first use this
> function)

--
Giel

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to