Hi, > (im wondering how this could have compiled at all? it was trying to > increment void*, etc)
I think some compilers (for historical reasons) just assume that address calculations on a void* act as if it were a char* > Removed 'getopt.lib' file from the link filenames, on to the next prob.. Oops! That's a hang-over from some other SDL game I ported. > i had a few problems with the gettext stuff, but i did work out what was > what then. OK. > now, libpng1 (.dll) has no symbol like png_init, so its got to be something > else... I have enclosed the exports from the 'libpng1.dll' (V1.0.11) I use. The 'depends.exe' tools is good for this. png_init_io is in there. I have a vague memory of there being problems with the way DLL exports were generated on at least one of the DLLs, but it was a couple of years ago ... Assuming you are building your own libpng, make sure you are including the supplied '.def' file in the project when you build, cheers, John. ----- Original Message ----- From: "ManInWhite" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 8:32 AM Subject: [Tuxpaint-dev] WIN32 link'in, stampin, colorin, and other hassles of life > Hellloo people, > > Thanks John for that diff, it compiles now :) > (im wondering how this could have compiled at all? it was trying to > increment void*, etc) > > Ok now im just having a little trouble getting it to link. > > Firstly, i cant find getopt.lib on my system, and the only reference i could > find of 'getopt.lib' was the unix getopt(1). Removed 'getopt.lib' file from > the link filenames, on to the next prob.. > > secondly, > i had a few problems with the gettext stuff, but i did work out what was > what then. > --------------------Configuration: TuxPaint - Win32 > Release-------------------- > Linking... > tuxpaint.obj : error LNK2001: unresolved external symbol _png_init_io > > now, libpng1 (.dll) has no symbol like png_init, so its got to be something > else... > I did a bit of research and it appears that the lib, libpng (not the libpng1 > SDL_image one) has this symbol, but it seems there is no connection between > that and this context. > anything im missing here? > > thirdly, > I am interested in adding some more stamps, ie: Australian Coins (notes? > maybe) and maybe even some stamps that the kids at school make -- what is > the procedure in submitting these ? > > fourthly, > We are using MS terminal services at work (RDP 5.0), and that has a > restriction on colors (256 of em to be specific), but tuxpaint renders > itself in a nasty 16 color mode. Now i think thats an SDL thing (maybe? Ive > done a little bit of SDL stuff in the past) , which i will investigate if i > can get this to link :P, but i would like to experiment with low color > modes. > > finally, > I am also interested in adding some stamp functionality, maybe some features > of the old Broderbund 'Kid Pix', special eraser tools, crazy brushy type > things, etc (even do a survey of the teachers at work -- find out what they > want to do with a tool like this). Is that cool? > > Thanks for this, > > Philip Duldig > > > > _______________________________________________ > Tuxpaint-dev mailing list > [EMAIL PROTECTED] > http://tux4kids.net/mailman/listinfo/tuxpaint-dev
libpng-exports.zip
Description: Zip compressed data
