Technical support > Windows
Win32 Development Binary Installer Links
iliaarpad:
After rebuilding from scratch and watching it crash again, I decided to give it a try and removed the optimization option. The funny thing is that now it doesn't crash. Is it possible that the optimization produces buggy code? I'm using MingW gcc 3.4.5.
After further experimentation it would seem that it crashes whenever I compile it with O2 or more aggressive optimization. When using second level optimization (-O1) or less it works fine and does not crash when selecting the Single Player menu. Anything above that causes a Segmentation Fault.
I suppose it could also be a problem with the compiler (the gcc packaged with MingW is quite old)... I can't really think of anything else.
Destructavator:
Not being a serious coder outside of HTML and the web-based stuff, so far all of you have used terminology I'm unfamiliar with, but I will say that I've been following the wiki to the letter and using the pre-packaged CB and included MinGW and have not had issues.
I will say that I do have a programming background, coming from working on C64 machines waaaaay back in the '80s and such, and that I suspect these issues mentioned in the last several posts here are simply because some people here are trying to do something fancy that might not be necessary. I admit I could be wrong and way off, as I don't work with C too much, but that's my guess.
Regardless, I've just built a new installer of rev 22773 with fully re-built maps and I'm going to upload it to Filefront tonight over-night.
iliaarpad:
I was following the wiki as well - except that the MingW packaged with the Codeblocks version there didn't quite work for me (my bet would be my OS: Vista). I had to install the candidate MingW compiler separately which may still have some bugs.
Meaning I have to use a (in theory) unstable compiler :)
Since you also create installers regularly using a stable compiler and you are also uploading to FileFront I'll stay in reserve.
My builds also have O1 optimization only so in theory your builds should be faster, as well.
@Muton: what compiler version are you using?
Destructavator:
--- Quote ---I was following the wiki as well - except that the MingW packaged with the Codeblocks version there didn't quite work for me (my bet would be my OS: Vista). I had to install the candidate MingW compiler separately which may still have some bugs.
--- End quote ---
Strange - I'm building the installers on Vista, specifically Home Premium, 32-bit. Do you have other compilers, IDEs, or other programming tools installed that could be conflicting or otherwise interfering with building UFO: AI?
I also admit that I have no idea what you're referring to with "optimization" and the levels of it - I just use mostly the default settings within the pre-packaged CB, except that I set it to use more than one thread to take advantage of both cores on the machine.
Edit: This is probably a very *long* shot, but do you compile with the target "win32" or "win32_debug"? I've been using the debug target, not the release one when I build the installers I upload.
Destructavator:
http://files.filefront.com/13319767
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version