Kurosu wrote:
> Ivan Andrus a écrit :
>> finally got mingw to build a Windows
>> installer, so I've been having some success.
>
> I'd be interested in knowing if anything was unclear/insufficient/ 
> wrong
> with the mingw documentation: your opinion could greatly improve it.

All of the information below was for making 0.8.2.  I haven't tried  
svn under Windows.

I think some of the MinGW packages that it asked to install are not  
the newest.  That may be intentional, but when I was trying to install  
a newer version of automake and autoconf (I can't remember if that  
actually solved a problem, or I just thought it would) I had some  
trouble finding the URLs.  That's more of a problem with MinGW and  
sourceforge though.

I copied over the source tree I was using to build on my Mac and  
configure would cause sed to core dump, so I spent quite a while  
trying to figure out why.  When I just unpacked a new version and  
added my patch, I didn't have that problem.  Perhaps it has to do with  
line endings or the fact that I had already run configure on a Mac.

SDL_gfx gave me some trouble since the latest version didn't want to  
compile (it didn't understand _asm), and then I forgot to change  
DLLINTERFACE to nothing (I got confused, since there were a bunch of  
#ifdef's so I thought it must have been fixed since the wiki was  
written).

I had to install gettext and iconv that weren't mentioned in the wiki,  
and add -lintl to the linking step.  I also had to install NSIS and  
add it to my path to create the installer.

There is also a note to move libcurl-4.dll that doesn't make sense--it  
puts in the same place.  I think one of them is supposed to be /mingw/ 
lib

All in all it was sort of frustrating, but I hate build systems.  They  
never seem to work, especially cross-platform.  That and I don't know  
Windows at all.

>> However, it seems that
>> the windows version has problems downloading the .png file that my
>> webserver sends it (the png get's corrupted somehow).  I'm not sure
>> what the problem could be since the Mac version works.
>
> Strange indeed, as you seem to use Downloader... Would the png file be
> opened as text (we never know...) ?

I hadn't thought of that.  That is exactly the problem.  Then I  
changed the mode of the opened file from "w" to "wb" it works  
perfectly.  Now the question is whether it should be opened in text  
mode for other things...

Thanks again,
Ivan
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à