[Paraview] Compiling Paraview 3.12

David E DeMarle dave.demarle at kitware.com
Mon Feb 6 09:40:48 EST 2012


It looks like vtkSMProxyManager's API for GetProxy("name") was removed
just before 3.12 in favor of the GetProxy("name", "group") signature
and the VR Plugin wasn't updated.

Christian, will you please try this patch and see if it works for your setup?

diff --git a/Plugins/VR/vtkVRInteractorStyle.cxx
b/Plugins/VR/vtkVRInteractorStyl
index 513cd53..dcad3ca 100644
--- a/Plugins/VR/vtkVRInteractorStyle.cxx
+++ b/Plugins/VR/vtkVRInteractorStyle.cxx
@@ -175,7 +175,7 @@ bool vtkVRInteractorStyle::update()
 bool vtkVRInteractorStyle::GetProxy( std::string name, vtkSMProxy ** proxy )
 {
   vtkSMProxy *p =0;
-  p = vtkSMProxyManager::GetProxyManager()->GetProxy( name.c_str() );
+  p = vtkSMProxyManager::GetProxyManager()->GetProxy( name.c_str(),
"interactorstyles");
   if( p )
     {
     *proxy = p;

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909



On Mon, Feb 6, 2012 at 6:14 AM, Christian Wohlschlager
<Christian.Wohlschlager at jku.at> wrote:
> Hey !
>
> Just finished downloading from git . Put source directory and build
> directory onto one partion --> YESSSS it works
>
>
> but  i get a new problem at the end of make (i had to enable VRPlugin
> becouse i have cave environment)
>
>
> error was:
>
>
> /jkudv/packages/ParaView-3.12_compiled/ParaView_from_git/ParaView/Plugins/VR/vtkVRInteractorStyle.cxx:
> In member function 'bool vtkVRInteractorStyle::GetProxy(std::string,
> vtkSMProxy**)':
>
> /jkudv/packages/ParaView-3.12_compiled/ParaView_from_git/ParaView/Plugins/VR/vtkVRInteractorStyle.cxx:178:
> error: no matching function for call to 'vtkSMProxyManager::GetProxy(const
> char*)'
>
> /jkudv/packages/ParaView-3.12_compiled/ParaView_from_git/ParaView/ParaViewCore/ServerManager/vtkSMProxyManager.h:112:
> note: candidates are: vtkSMProxy* vtkSMProxyManager::GetProxy(const char*,
> const char*)
>
> make[2]: *** [Plugins/VR/CMakeFiles/VRPlugin.dir/vtkVRInteractorStyle.o]
> Error 1
>
> make[1]: *** [Plugins/VR/CMakeFiles/VRPlugin.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
>
> Any Idea
>
>
>
> mfg
>
>
> Christian
>
>
>
> Christian Wohlschlager
> JKU Universität Linz
> Altenbergerstr.69
> 4040 Linz
> Austria
>
>
>
>>>> Sven Buijssen <sven.buijssen at tu-dortmund.de> 2/6/2012 8:56 AM >>>
> Christian,
>
> Christian Wohlschlager wrote, On 06.02.2012 08:36:
>> this is the error message i got:
>>
>>
>> [ 89%] Built target pqCore
>>
>> make[2]: *** No rule to make target
>>
>> `Qt/Components/../../../../../home/edvz/k00018j/apps/ParaView-3.12.0/Qt/Components/Resources/XML/Placeholder.xml',
>> needed by `Qt/Components/qrc_pqExtraResources.cxx'.  Stop.
>>
>>
>> this path is ok -->
>>
>> /home/edvz/k00018j/apps/ParaView-3.12.0/Qt/Components/Resources/XML/Placeholder.xml
>
> Try putting both the ParaView source and build directory into the same
> partition. I've seen errors like this in the past which were caused by a
> build directory whose path involved a symbolic link to a different mount
> point.
>
> Sven
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list