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"><<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>></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 <<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>> wrote:<br>
> Hi David and Utkarsh,<br>
><br>
> With your new patch on Python _DEBUG from git source, I was able to<br>
> build on<br>
> MSVC2010 without any PYTHON related hitches. I still have issues with<br>
> VTK_WRAP_PYTHON_SIP as I reported earlier though.<br>
><br>
> When I launched the newly built paraview.exe I got the exact same<br>
> error in pqApplicationCore.cxx, line 725:<br>
><br>
><br>
><br>
><br>
</div><div class="im">> vtkSMApplication::GetApplication()->GetPluginManager()->LoadPluginConf<br>
> igurationXML(<br>
><br>
> config_file.toStdString().c_str());<br>
><br>
><br>
><br>
</div><div><div></div><div class="h5">> QString config_file has value "C:/ParaViewGit_VS2010/bin/Debug/../.plugins".<br>
> However, config_file.toStdString() has corrupted content.<br>
><br>
><br>
><br>
> BTW, shall I care about DirectX_LIBRARY? It appears ParaView's<br>
> vtkRendering only uses DirectX9. Does including DirectX help ParaView<br>
> performance on Windows machine?<br>
><br>
><br>
><br>
> Best,<br>
><br>
> x<br>
><br>
><br>
><br>
><br>
><br>
> From: David Partyka [mailto:<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>]<br>
> Sent: Monday, February 14, 2011 1:36 PM<br>
> To: Xunlei Wu<br>
> Cc: Utkarsh Ayachit; <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
><br>
> Subject: Re: [Paraview] failed to launch paraview.exe<br>
><br>
><br>
><br>
> Just to confirm. The VS10 x64 build on our nightly dashboard launches<br>
> without issue.<br>
><br>
> On Mon, Feb 14, 2011 at 1:27 PM, Xunlei Wu <<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>> wrote:<br>
><br>
> Thanks, David. Please give me a day or two. I just flooded the VS10<br>
> build directory with my previous successful VS08 build in order to get<br>
> some work done. I will build through VS10 tomorrow night.<br>
><br>
> Best,<br>
><br>
> x<br>
><br>
><br>
><br>
> From: David Partyka [mailto:<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>]<br>
> Sent: Monday, February 14, 2011 1:23 PM<br>
> To: Utkarsh Ayachit<br>
> Cc: Xunlei Wu; <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
><br>
> Subject: Re: [Paraview] failed to launch paraview.exe<br>
><br>
><br>
><br>
> We do test nightly with VS10 and one of our developers actively uses<br>
> it as well so it "should" work. Have you tried running paraview with -dr command?<br>
> In the mean time I will try and run the vs10 build on the dashboard machine.<br>
><br>
> On Mon, Feb 14, 2011 at 1:20 PM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
><br>
> Honestly, I am not the best guy to comment about windows, I use linux<br>
> for most of my development. Dave, any insights?<br>
><br>
> What is the value of config_file variable in pqApplicationCore.cxx:725?<br>
><br>
> Utkarsh<br>
><br>
> On Mon, Feb 14, 2011 at 1:15 PM, Xunlei Wu <<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>> wrote:<br>
>> Hi Utkarsh,<br>
>> This is the only copy of ParaView I am building from git source. I<br>
>> have no ther VTK installation.<br>
>> BTW, do you see many issues with MSVC2010? I am frustrated with<br>
>> ParaView building process and not sure whether it is compiler/IDE<br>
>> related. Thanks a lot.<br>
>><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>
>> Sent: Monday, February 14, 2011 1:13 PM<br>
>> To: Xunlei Wu<br>
>> Cc: <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
>> Subject: Re: [Paraview] failed to launch paraview.exe<br>
>><br>
>> Are you sure there isn't some dll conflict issue? Do you have other<br>
>> installations of ParaView?<br>
>><br>
>> Utkarsh<br>
>><br>
>> On Mon, Feb 14, 2011 at 1:10 PM, Xunlei Wu <<a href="mailto:xunlei@renci.org">xunlei@renci.org</a>> wrote:<br>
>>> Hi All,<br>
>>><br>
>>> I am trying to run paraview.exe after built it (Debug version) on a<br>
>>> Windows7 64bit + MSVC2010 machine. However the application failed to<br>
>>> run the following call stack:<br>
>>><br>
>>><br>
>>><br>
>>> vtksys.dll!vtksys::SystemTools::FileExists(const char *<br>
>>> filename=0xcccccccccccccccc) Line 928 + 0xd bytes C++<br>
>>><br>
>>>> vtksys.dll!vtksys::SystemTools::FileExists(const char *<br>
>>>>filename=0xcccccccccccccccc, bool isFile=true) Line 950 + 0xa bytes<br>
>>>>C++<br>
>>><br>
>>><br>
>>> vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXM<br>
</div></div>>>> L( const char * filename=0xcccccccccccccccc) Line 97 + 0x10 bytes<br>
<div><div></div><div class="h5">>>> C++<br>
>>><br>
>>> pqCore.dll!pqApplicationCore::loadDistributedPlugins(const<br>
>>> char<br>
>>> *<br>
>>> filename=0x0000000000000000) Line 726 + 0x5d bytes C++<br>
>>><br>
>>><br>
>>><br>
>>> The related lines of code might be:<br>
>>><br>
>>><br>
>>><br>
>>> pqApplicationCore.cxx:line 725<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> vtkSMApplication::GetApplication()->GetPluginManager()->LoadPluginCo<br>
>>> nf<br>
>>> igurationXML(<br>
>>><br>
>>> config_file.toStdString().c_str());<br>
>>><br>
>>> }<br>
>>><br>
>>><br>
>>><br>
>>> Where config_file is "C:/ParaViewGit/bin/Debug/../.plugins". Such<br>
>>> file is attached. After the process runs into vtkSMPluginManager<br>
>>><br>
>>><br>
>>><br>
>>> void vtkSMPluginManager::LoadPluginConfigurationXML(const char*<br>
>>> filename)<br>
>>><br>
>>> {<br>
>>><br>
>>> bool debug_plugin = vtksys::SystemTools::GetEnv("PV_PLUGIN_DEBUG")<br>
>>> != NULL;<br>
>>><br>
>>> vtkPVPluginLoaderDebugMacro("Loading plugin configuration xml: "<br>
>>> << filename);<br>
>>><br>
>>> if (!vtksys::SystemTools::FileExists(filename, true))<br>
>>><br>
>>> {<br>
>>><br>
>>><br>
>>><br>
>>> Where filename becomes "0xcccccccccccccccc <Bad Ptr>". Any idea?<br>
>>> Thanks a lot.<br>
>>><br>
>>><br>
>>><br>
>>> Best,<br>
>>><br>
>>> x<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><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>
><br>
><br>
><br>
><br>
</div></div></blockquote></div><br>