On Tue, May 4, 2010 at 5:14 PM, Elliott Slaughter <span dir="ltr"><<a href="mailto:elliottslaughter@gmail.com">elliottslaughter@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, May 4, 2010 at 12:40 AM, David Lichteblau <span dir="ltr"><<a href="mailto:david@lichteblau.com" target="_blank">david@lichteblau.com</a>></span> wrote:</div><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">



I cannot help you with the MinGW problem that you are seeing, but note<br>
that I've started using Visual C++ instead of MinGW, and I have not had<br>
any compilation problems with that.<br>
<br>
Perhaps the MinGW procedure should also work, but overall I found<br>
building with Visual C++ to be fabulously easy compared to my earlier<br>
MinGW-based attempt with last year's versions, so I'm not trying to<br>
support MinGW in CommonQt at the moment.<br></blockquote></div><div><br>I guess it's time to go download MSVC. So much for free compilers <sigh>.<br><br></div><div class="im"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">




My versions are Qt 4.6.2, Visual Studio 2008 Express Edition, CommonQt<br>
at least 26313613 (but ideally HEAD), kdebindings rev 1064293, and<br>
Clozure 1.3.<br></blockquote></div></div></blockquote></div><br clear="all">Well, I just installed Visual Studio 2008, and I'm getting compile errors :(<br><div><br></div><div>It seems that every single smoke module generates the following error:</div>
<div><br>.\smokedata.cpp(49) : error C2466: cannot allocate an array of constant size 0</div><div><br></div><div>And the offending lines in smokedata.cpp are</div><div><br></div><div><div>static Smoke::Method methods[] = {</div>
<div>};</div><div><br></div><div>which is indeed an empty array.</div><div><br></div><div>I'm using VS 2008 Pro, kdebindings rev 1064293, and Qt 4.6.2 (VS 2008 version), which if should be more-or-less identical to your build platform.</div>
<div><br></div><div>Perhaps there is a problem in the way I'm hacking my CMakeList.txt to make this build? I have attached the patch I'm using so you can inspect it if you like.</div></div><div><br></div><div>Thanks.</div>
<div><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>
</div>