You should using matching compilers for both ParaView and Qt especially if one is built debug and the other release. Unfortunately ParaView does not build Qt for you.<br><br><div class="gmail_quote">On Fri, Feb 18, 2011 at 10:45 AM, Xunlei Wu <span dir="ltr">&lt;<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Utkarsh,<br>
<br>
It is the same setup with my MSVC2008 ParaView, where Qt is a prebuild release with MSVC2008 from<br>
<a href="http://code.google.com/p/qt-msvc-installer/downloads/list" target="_blank">http://code.google.com/p/qt-msvc-installer/downloads/list</a><br>
Very good catch!!! Does that mean I should either rebuild Qt with MSVC2010 or let ParaView build Qt along the way?<br>
<div class="im"><br>
Best,<br>
x<br>
<br>
-----Original Message-----<br>
From: Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>]<br>
</div><div class="im">Sent: Friday, February 18, 2011 10:25 AM<br>
To: Xunlei Wu<br>
Cc: David Partyka; <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Subject: Re: [Paraview] failed to launch paraview.exe<br>
<br>
</div><div class="im">Xulei,<br>
<br>
Just to be sure you are using Qt that was built with the same compilter right?<br>
<br>
Utkarsh<br>
<br>
On Fri, Feb 18, 2011 at 9:48 AM, Xunlei Wu &lt;<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>&gt; wrote:<br>
&gt; Hi David and Utkarsh,<br>
&gt;<br>
&gt; With your new patch on Python _DEBUG from git source, I was able to<br>
&gt; build on<br>
&gt; MSVC2010 without any PYTHON related hitches. I still have issues with<br>
&gt; VTK_WRAP_PYTHON_SIP as I reported earlier though.<br>
&gt;<br>
&gt; When I launched the newly built paraview.exe I got the exact same<br>
&gt; error in pqApplicationCore.cxx, line 725:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; vtkSMApplication::GetApplication()-&gt;GetPluginManager()-&gt;LoadPluginConf<br>
&gt; igurationXML(<br>
&gt;<br>
&gt;          config_file.toStdString().c_str());<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div><div></div><div class="h5">&gt; QString config_file has value &quot;C:/ParaViewGit_VS2010/bin/Debug/../.plugins&quot;.<br>
&gt; However, config_file.toStdString() has corrupted content.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; BTW, shall I care about DirectX_LIBRARY? It appears ParaView&#39;s<br>
&gt; vtkRendering only uses DirectX9. Does including DirectX help ParaView<br>
&gt; performance on Windows machine?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Best,<br>
&gt;<br>
&gt; x<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From: David Partyka [mailto:<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>]<br>
&gt; Sent: Monday, February 14, 2011 1:36 PM<br>
&gt; To: Xunlei Wu<br>
&gt; Cc: Utkarsh Ayachit; <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt;<br>
&gt; Subject: Re: [Paraview] failed to launch paraview.exe<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Just to confirm. The VS10 x64 build on our nightly dashboard launches<br>
&gt; without issue.<br>
&gt;<br>
&gt; On Mon, Feb 14, 2011 at 1:27 PM, Xunlei Wu &lt;<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>&gt; wrote:<br>
&gt;<br>
&gt; Thanks, David. Please give me a day or two. I just flooded the VS10<br>
&gt; build directory with my previous successful VS08 build in order to get<br>
&gt; some work done. I will build through VS10 tomorrow night.<br>
&gt;<br>
&gt; Best,<br>
&gt;<br>
&gt; x<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From: David Partyka [mailto:<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>]<br>
&gt; Sent: Monday, February 14, 2011 1:23 PM<br>
&gt; To: Utkarsh Ayachit<br>
&gt; Cc: Xunlei Wu; <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt;<br>
&gt; Subject: Re: [Paraview] failed to launch paraview.exe<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; We do test nightly with VS10 and one of our developers actively uses<br>
&gt; it as well so it &quot;should&quot; work. Have you tried running paraview with -dr command?<br>
&gt; In the mean time I will try and run the vs10 build on the dashboard machine.<br>
&gt;<br>
&gt; On Mon, Feb 14, 2011 at 1:20 PM, Utkarsh Ayachit<br>
&gt; &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Honestly, I am not the best guy to comment about windows, I use linux<br>
&gt; for most of my development. Dave, any insights?<br>
&gt;<br>
&gt; What is the value of config_file variable in pqApplicationCore.cxx:725?<br>
&gt;<br>
&gt; Utkarsh<br>
&gt;<br>
&gt; On Mon, Feb 14, 2011 at 1:15 PM, Xunlei Wu &lt;<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>&gt; wrote:<br>
&gt;&gt; Hi Utkarsh,<br>
&gt;&gt; This is the only copy of ParaView I am building from git source. I<br>
&gt;&gt; have no ther VTK installation.<br>
&gt;&gt; BTW, do you see many issues with MSVC2010? I am frustrated with<br>
&gt;&gt; ParaView building process and not sure whether it is compiler/IDE<br>
&gt;&gt; related. Thanks a lot.<br>
&gt;&gt;<br>
&gt;&gt; Best,<br>
&gt;&gt; x<br>
&gt;&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: Utkarsh Ayachit [mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>]<br>
&gt;&gt; Sent: Monday, February 14, 2011 1:13 PM<br>
&gt;&gt; To: Xunlei Wu<br>
&gt;&gt; Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
&gt;&gt; Subject: Re: [Paraview] failed to launch paraview.exe<br>
&gt;&gt;<br>
&gt;&gt; Are you sure there isn&#39;t some dll conflict issue? Do you have other<br>
&gt;&gt; installations of ParaView?<br>
&gt;&gt;<br>
&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Feb 14, 2011 at 1:10 PM, Xunlei Wu &lt;<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>&gt; wrote:<br>
&gt;&gt;&gt; Hi All,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am trying to run paraview.exe after built it (Debug version) on a<br>
&gt;&gt;&gt; Windows7 64bit + MSVC2010 machine. However the application failed to<br>
&gt;&gt;&gt; run the following call stack:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;        vtksys.dll!vtksys::SystemTools::FileExists(const char *<br>
&gt;&gt;&gt; filename=0xcccccccccccccccc)  Line 928 + 0xd bytes  C++<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;      vtksys.dll!vtksys::SystemTools::FileExists(const char *<br>
&gt;&gt;&gt;&gt;filename=0xcccccccccccccccc, bool isFile=true)  Line 950 + 0xa bytes<br>
&gt;&gt;&gt;&gt;C++<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXM<br>
</div></div>&gt;&gt;&gt; L( const char * filename=0xcccccccccccccccc)  Line 97 + 0x10 bytes<br>
<div><div></div><div class="h5">&gt;&gt;&gt; C++<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;       pqCore.dll!pqApplicationCore::loadDistributedPlugins(const<br>
&gt;&gt;&gt; char<br>
&gt;&gt;&gt; *<br>
&gt;&gt;&gt; filename=0x0000000000000000)  Line 726 + 0x5d bytes     C++<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The related lines of code might be:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; pqApplicationCore.cxx:line 725<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; vtkSMApplication::GetApplication()-&gt;GetPluginManager()-&gt;LoadPluginCo<br>
&gt;&gt;&gt; nf<br>
&gt;&gt;&gt; igurationXML(<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     config_file.toStdString().c_str());<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; }<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Where config_file is &quot;C:/ParaViewGit/bin/Debug/../.plugins&quot;. Such<br>
&gt;&gt;&gt; file is attached. After the process runs into vtkSMPluginManager<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; void vtkSMPluginManager::LoadPluginConfigurationXML(const char*<br>
&gt;&gt;&gt; filename)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; {<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;   bool debug_plugin = vtksys::SystemTools::GetEnv(&quot;PV_PLUGIN_DEBUG&quot;)<br>
&gt;&gt;&gt; != NULL;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;   vtkPVPluginLoaderDebugMacro(&quot;Loading plugin configuration xml: &quot;<br>
&gt;&gt;&gt; &lt;&lt; filename);<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;   if (!vtksys::SystemTools::FileExists(filename, true))<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;     {<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Where filename becomes &quot;0xcccccccccccccccc &lt;Bad Ptr&gt;&quot;. Any idea?<br>
&gt;&gt;&gt; Thanks a lot.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; x<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>