<div>Hold on there...</div><div><br></div>The Express editions are not meant to build redistributable binaries. They&#39;re meant for personal use: i.e. -- each user compiles his own code. I&#39;m pretty sure it&#39;s a violation of the Express edition license agreement to build binaries for other people. You need at least the &quot;Standard&quot; edition of VS to get that capability.<br>
<br><div><br><div>HTH,</div><div>David</div><div><br><div><br><div class="gmail_quote">On Thu, Aug 20, 2009 at 5:11 PM, Mike Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Thu, Aug 20, 2009 at 4:06 PM, James Bigler&lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt; wrote:<br>

&gt; On Thu, Aug 20, 2009 at 1:51 PM, Mike Jackson &lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Aug 6, 2009 at 3:12 PM, Marcus D. Hanwell&lt;<a href="mailto:marcus@cryos.org">marcus@cryos.org</a>&gt; wrote:<br>
&gt;&gt; &gt; James Bigler wrote:<br>
&gt;&gt; &gt;&gt; On Thu, Aug 6, 2009 at 12:10 PM, Bill Hoffman<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a> &lt;mailto:<a href="mailto:bill.hoffman@kitware.com">bill.hoffman@kitware.com</a>&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;     James Bigler wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;         Well, I was using VS 2005 64 bit with SP 1.  I wonder if there<br>
&gt;&gt; &gt;&gt;         is a similar bug or if there is something else going wrong<br>
&gt;&gt; &gt;&gt;         such as what Marcus Hanwall described.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;     I am not sure what your issue is, but I know I have done this many<br>
&gt;&gt; &gt;&gt;     times...<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;     -Bill<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I checked the version numbers of the DLLs, and even checked the md5sum<br>
&gt;&gt; &gt;&gt; and everything was the same between the dlls in the WinSxS folder and<br>
&gt;&gt; &gt;&gt; the ones I&#39;m distributing.  It failed on two clean systems without the<br>
&gt;&gt; &gt;&gt; vcredist install.  I guess I&#39;ll run vcredist as Microsoft suggests and<br>
&gt;&gt; &gt;&gt; see if I can trouble shoot later.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; It is a rather perplexing problem.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt; The link Bill supplied has all of the relevant information. In the<br>
&gt;&gt; &gt; &quot;Community Discussion&quot; section the second comment provides three<br>
&gt;&gt; &gt; possible workarounds. We are using the third of those when distributing<br>
&gt;&gt; &gt; Avogadro packages for Windows. The version mismatch in the manifests of<br>
&gt;&gt; &gt; the compiled executables and the manifest with the redistributable DLLs<br>
&gt;&gt; &gt; is what causes the issue.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; It seems that MS has no intention of fixing this issue. We have a clean<br>
&gt;&gt; &gt; VM where we test new installers, as occasionally this change was lost<br>
&gt;&gt; &gt; and the DLLs failed to load.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Marcus<br>
&gt;&gt;<br>
&gt;&gt; Ok, so I too have run into this problem. What is anyone doing to get<br>
&gt;&gt; around this issue?<br>
&gt;&gt;<br>
&gt;&gt; I would really like a solution that did NOT involve editing anything<br>
&gt;&gt; from VC++ install as I would have to pass those instructions on to the<br>
&gt;&gt; next Developer. Clinton&#39;s posting about including the VCRedist.exe in<br>
&gt;&gt; the NSIS installer is OK by me. Is that what everyone else is doing?<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt; --<br>
&gt;&gt; Mike Jackson<br>
&gt;<br>
&gt; I ended up linking against the static CRT library (/MT), but that&#39;s not for<br>
&gt; everyone.<br>
&gt; <a href="http://msdn.microsoft.com/en-us/library/ms235460.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms235460.aspx</a><br>
&gt;<br>
&gt; My next choice was going to be including the VCRedist.exe in the installer.<br>
&gt; For some of the other projects at my company, this is what they do.<br>
&gt;<br>
&gt; Here are some links I&#39;ve been consulting on the subject of CRT library<br>
&gt; (conflicts with multiple CRTs).<br>
&gt; <a href="http://stackoverflow.com/questions/1075050/howto-multiple-versions-of-msvcrt9-as-private-sxs-assemblies" target="_blank">http://stackoverflow.com/questions/1075050/howto-multiple-versions-of-msvcrt9-as-private-sxs-assemblies</a><br>

&gt; <a href="http://tedwvc.wordpress.com/2009/08/10/avoiding-problems-with-vc2005-sp1-security-update-kb971090/" target="_blank">http://tedwvc.wordpress.com/2009/08/10/avoiding-problems-with-vc2005-sp1-security-update-kb971090/</a><br>

&gt; <a href="http://stackoverflow.com/questions/1265792/visual-studio-2005-security-updates-and-crt-dll-versions-in-manifest" target="_blank">http://stackoverflow.com/questions/1265792/visual-studio-2005-security-updates-and-crt-dll-versions-in-manifest</a><br>

&gt;<br>
&gt; James<br>
&gt;<br>
<br>
</div></div>thanks for the links. Now my head is really spinning. I have VC2008<br>
Express installed on WinXP SP3 and evidently the vcredist.exe is NOT<br>
included with that version? At least I can not find it.  So I guess I<br>
have to download it from MSDN (duh) and then manually set all the<br>
paths and all that in oder to have cmake/NSIS find and include it in<br>
the installer. And I thought deploying on OS X was a bit obtuse...<br>
<font color="#888888"><br>
Mike<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div></div></div>