Thanks a lot, David and Utkarsh. I was obnoxious about Qt aspect totally. By 
using this thread, can you comment on using DirectX with Paraview on Windows?
Best,
x


From: David Partyka [mailto:david.part...@kitware.com]
Sent: Friday, February 18, 2011 10:54 AM
To: Xunlei Wu
Cc: Utkarsh Ayachit; paraview@paraview.org
Subject: Re: [Paraview] failed to launch paraview.exe

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.
On Fri, Feb 18, 2011 at 10:45 AM, Xunlei Wu 
<xun...@renci.org<mailto:xun...@renci.org>> wrote:
Hi Utkarsh,

It is the same setup with my MSVC2008 ParaView, where Qt is a prebuild release 
with MSVC2008 from
http://code.google.com/p/qt-msvc-installer/downloads/list
Very good catch!!! Does that mean I should either rebuild Qt with MSVC2010 or 
let ParaView build Qt along the way?

Best,
x

-----Original Message-----
From: Utkarsh Ayachit 
[mailto:utkarsh.ayac...@kitware.com<mailto:utkarsh.ayac...@kitware.com>]
Sent: Friday, February 18, 2011 10:25 AM
To: Xunlei Wu
Cc: David Partyka; paraview@paraview.org<mailto:paraview@paraview.org>
Subject: Re: [Paraview] failed to launch paraview.exe
Xulei,

Just to be sure you are using Qt that was built with the same compilter right?

Utkarsh

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

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to