Something like,<div><br></div><div><div>if (MSVC)</div><div> # Do not generate manifests for the plugins - caused issues loading plugins</div><div> set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")</div>
<div>endif(MSVC)</div><div><br></div><div>That was enough to fix the majority of the problems we saw with Qt plugins on Windows.</div><div><br></div><div>Marcus</div><br><div class="gmail_quote">On Wed, Jan 6, 2010 at 9:00 PM, Mike Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">For those of us following along at home. just what would that line in<br>
the CMake file be?<br>
<div class="im">_________________________________________________________<br>
Mike Jackson <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
<br>
</div><div><div></div><div class="h5">On Wed, Jan 6, 2010 at 6:16 PM, Marcus D. Hanwell<br>
<<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>> wrote:<br>
> I did this in the past and it seemed to work well. You can add a line to the<br>
> CMakeLists file to instruct CMake not to do this.<br>
><br>
> On Wednesday 06 January 2010 18:06:01 Dave Partyka wrote:<br>
>> So you're saying that if I don't embed any manifest (which the IDE does by<br>
>> default) into the plugins it should just work?<br>
>><br>
>> On Wed, Jan 6, 2010 at 6:02 PM, Clinton Stimpson<br>
> <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>>wrote:<br>
>> > Can you fix that issue some people might have by not embedding the<br>
>> > manifests<br>
>> > into the plugin dlls, where embedding them is the default behavior?<br>
>> ><br>
>> > Clint<br>
>> ><br>
>> > On Wednesday 06 January 2010 03:58:54 pm Dave Partyka wrote:<br>
>> > > Hi All,<br>
>> > ><br>
>> > > I have tracked down the issue. That being an inconspicuous Visual<br>
>> > > Studio Security update<br>
>> > > (KB971092<<br>
>> ><br>
>> > <a href="http://www.microsoft.com/downloads/info.aspx?na=49&p=1&SrcDisplay" target="_blank">http://www.microsoft.com/downloads/info.aspx?na=49&p=1&SrcDisplay</a><br>
>> ><br>
>> > >Lang=en&SrcCategoryId=&SrcFamilyId=294de390-3c94-49fb-a014-9a38580e64cb&<br>
>> > >u=ht tp%3a%2f%<a href="http://2fsupport.microsoft.com" target="_blank">2fsupport.microsoft.com</a>%2f%3fkbid%3d971092> ) that was<br>
>> > > installed sometime after I did the 3.6.1 release. Binaries built with<br>
>> > > that patch applied appear to not run on older revisions of XP (SP2).<br>
>> > > Thus, I have uninstalled the update, rebuilt ParaView 3.6.2 and<br>
>> > > uploaded the<br>
>> ><br>
>> > regenerated<br>
>> ><br>
>> > > binary to the download server. I have verified that it does work on a<br>
>> ><br>
>> > clean<br>
>> ><br>
>> > > SP2 machine BUT you must either install the Visual Studio runtime<br>
>> > > redistributable (simple)<br>
>> ><br>
>> > <a href="http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4A" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4A</a><br>
>> >B7<br>
>> ><br>
>> > >-A40D-3802B2AF5FC2&displaylang=en<br>
>> > ><br>
>> > > OR copy the runtime dlls (Microsoft.VC90.CRT.manifest, msvcm90.dll<br>
>> > > msvcp90.dll msvcr90.dll) distributed with ParaView into each plugin's<br>
>> > > folder (ugly) in order to get plugins to work.<br>
>> > ><br>
>> > > Any one using an up-to-date Windows XP or newer (Vista,7) should be<br>
>> > > able to disregard these directions.<br>
>> > ><br>
>> > ><br>
>> > > Please report and further issues relating to this and thank you for the<br>
>> > > feedback!<br>
>> > ><br>
>> > > On Wed, Jan 6, 2010 at 9:31 AM, Robert Maynard<br>
>> ><br>
>> > <<a href="mailto:robertjmaynard@gmail.com">robertjmaynard@gmail.com</a>>wrote:<br>
>> > > > When you profile ParaView does the main executable and plugins load<br>
>> ><br>
>> > the<br>
>> ><br>
>> > > > same MSVC dlls. ( F9 shows full paths of loaded dlls ).<br>
>> > > ><br>
>> > > > If they don't load the same dlls, comparing the manifest files will<br>
>> > > > determine if the problem is two different versions of the MSVC are<br>
>> ><br>
>> > being<br>
>> ><br>
>> > > > used.<br>
>> > > ><br>
>> > > ><br>
>> > > > Moreland, Kenneth wrote:<br>
>> > > ><br>
>> > > > Um, sure. What specifically would you like me to report?<br>
>> > > ><br>
>> > > > -Ken<br>
>> > > ><br>
>> > > ><br>
>> > > > On 1/5/10 4:46 PM, "Robert Maynard" <<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com</a>> wrote:<br>
>> > > ><br>
>> > > > Would you be able to run dependency walker, and report back the<br>
>> ><br>
>> > results?<br>
>> ><br>
>> > > > On Tue, Jan 5, 2010 at 6:06 PM, Moreland, Kenneth <<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a>><br>
>> > > > wrote:<br>
>> > > ><br>
>> > > > I tried adding the runtime redistributable. The plugins now load<br>
>> ><br>
>> > without<br>
>> ><br>
>> > > > complaint, but they do not work. The SLAC tools plugin does not<br>
>> > > > create<br>
>> ><br>
>> > a<br>
>> ><br>
>> > > > toolbar like it is supposed to. The point sprite plugin does not<br>
>> ><br>
>> > create<br>
>> ><br>
>> > > > the “Point Sprite” representation to the representation combo box.<br>
>> > > > The VisIt reader plugin allows you to open .silo files, but they<br>
>> > > > always end up with empty data.<br>
>> > > ><br>
>> > > > Does anyone have an idea why that is? Could it be using two<br>
>> > > > different sets of MSVC libraries?<br>
>> > > ><br>
>> > > > -Ken<br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > > On 1/5/10 3:11 PM, "Dave Partyka" <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a> <<br>
>> > > > <a href="http://dave.partyka" target="_blank">http://dave.partyka</a>@<a href="http://kitware.com" target="_blank">kitware.com</a>> > wrote:<br>
>> > > ><br>
>> > > > The best you can probably do if you're stuck at SP2 is install the<br>
>> > > > runtime redistributable.<br>
>> ><br>
>> > <a href="http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4A" target="_blank">http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4A</a><br>
>> ><br>
>> > > >B7-A40D-3802B2AF5FC2&displaylang=en<br>
>> > > ><br>
>> > > > On Tue, Jan 5, 2010 at 5:08 PM, Moreland, Kenneth <<a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a><br>
>> > > > < <a href="http://kmorel" target="_blank">http://kmorel</a>@<a href="http://sandia.gov" target="_blank">sandia.gov</a>> > wrote:<br>
>> > > ><br>
>> > > > Given that, is there some advice you can give for installing the MSVC<br>
>> > > > classes on Windows XP stuck at SP 2? How do you do that (without<br>
>> > > > installing the entire compiler)?<br>
>> > > ><br>
>> > > > -Ken<br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > > On 1/5/10 1:45 PM, "Utkarsh Ayachit" <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a> <<br>
>> > > > <a href="http://utkarsh.ayachit" target="_blank">http://utkarsh.ayachit</a>@<a href="http://kitware.com" target="_blank">kitware.com</a>> <<a href="http://utkarsh.ayachit" target="_blank">http://utkarsh.ayachit</a>@<br>
>> ><br>
>> > <a href="http://kitware.com" target="_blank">kitware.com</a>><br>
>> ><br>
>> > > > > wrote:<br>
>> > > > > Another option would<br>
>> > > > ><br>
>> > > > > be for ParaView to do a silent install of the MSVC redist package<br>
>> > > > > instead<br>
>> > > ><br>
>> > > > of<br>
>> > > ><br>
>> > > > > dumping the dll's/<br>
>> > > ><br>
>> > > > Actually that might not be a bad idea. We can even make it a option<br>
>> > > > that the user can uncheck, if he wants. Maybe we should look into<br>
>> > > > that for 3.8.<br>
>> > > ><br>
>> > > > Utkarsh<br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > > **** Kenneth Moreland<br>
>> > > > *** Sandia National Laboratories<br>
>> > > > ***********<br>
>> > > > *** *** *** email: <a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a> <<a href="http://kmorel" target="_blank">http://kmorel</a>@<a href="http://sandia.gov" target="_blank">sandia.gov</a>> <<br>
>> > > > <a href="http://kmorel" target="_blank">http://kmorel</a>@<a href="http://sandia.gov" target="_blank">sandia.gov</a>><br>
>> > > > ** *** ** phone: (505) 844-8919<br>
>> > > > *** web:<br>
>> > > > <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><<br>
>> > > > <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > > **** Kenneth Moreland<br>
>> > > > *** Sandia National Laboratories<br>
>> > > > ***********<br>
>> > > > *** *** *** email: <a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a> <<a href="http://kmorel" target="_blank">http://kmorel</a>@<a href="http://sandia.gov" target="_blank">sandia.gov</a>><br>
>> > > > ** *** ** phone: (505) 844-8919<br>
>> > > > *** web:<br>
>> > > > <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><<br>
>> > > > <a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > ><br>
>> > > > **** Kenneth Moreland<br>
>> > > > *** Sandia National Laboratories<br>
>> > > > ***********<br>
>> > > > *** *** *** email: <a href="mailto:kmorel@sandia.gov">kmorel@sandia.gov</a><br>
>> > > > ** *** ** phone: (505) 844-8919<br>
>> > > > *** web:<br>
>> > > > <a href="http://www.cs.unm.edu/~kmorel" target="_blank">http://www.cs.unm.edu/~kmorel</a><<a href="http://www.cs.unm.edu/%7Ekmorel" target="_blank">http://www.cs.unm.edu/%7Ekmorel</a>><br>
>> > > ><br>
>> > > ><br>
>> > > > _______________________________________________<br>
>> > > > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> > > ><br>
>> > > > Visit other Kitware open-source projects at<br>
>> > > > <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 ParaView Wiki at:<br>
>> > > > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> > > ><br>
>> > > > Follow this link to subscribe/unsubscribe:<br>
>> > > > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
><br>
> --<br>
> Marcus D. Hanwell, Ph.D.<br>
> R&D Engineer, Kitware Inc.<br>
> (518) 881-4937<br>
> _______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
_______________________________________________<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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Marcus D. Hanwell, Ph.D.<br>R&D Engineer, Kitware Inc.<br>(518) 881-4937<br>
</div>