[Cmb-users] Updates to CMB for VTK's OpenGL2 backend
Marcus D. Hanwell
marcus.hanwell at kitware.com
Tue Dec 23 09:16:42 EST 2014
Hi David,
On Mon, Dec 22, 2014 at 11:03 PM, David Thompson
<david.thompson at kitware.com> wrote:
>>>> I just pushed updates to a few repositories, and had a pull request
>>>> merged in SMTK to make it possible to build CMBv4 with OpenGL2-based
>>>> ParaView/VTK. ...
>>>
>>> I am using an older version of ParaView (SHA 55f3b0e, from around Sep 10) and get link errors building libsmtkDiscreteBridge.dylib in SMTK ("library not found for -lvtkRendering"), ...
>>>
>> I didn't realize people would want to use old ParaView/VTK, I added a
>> new commit, and will make a pull request, that should address this.
>
>
> I am still getting the same error message. Also, if I want to build ParaView master with the OpenGL2 backend, do I need to set anything beside VTK_RENDERING_BACKEND:STRING=OpenGL2 ? I tried that and (after turning off some PV plugins) it starts building but then dies with
>
> [ 74%] Undefined symbols for architecture x86_64:
> "vtkWebGLObject::GetId()", referenced from:
> vtkPVWebApplication::GetWebGLSceneMetaData(vtkSMViewProxy*) in vtkPVWebApplication.cxx.o
> "vtkWebGLObject::isVisible()", referenced from:
> vtkPVWebApplication::GetWebGLSceneMetaData(vtkSMViewProxy*) in vtkPVWebApplication.cxx.o
> vtkPVWebApplication::GetWebGLBinaryData(vtkSMViewProxy*, char const*, int) in vtkPVWebApplication.cxx.o
>
Not to get all picky but that looks like a very different error
message ;-) Before it couldn't find the libraries, now it is just a
few symbols. Annoyingly Linux doesn't resolve symbols upfront, and if
they are not used never will - guessing this is from the pickier Apple
linker.
I did not realize you were even using PVWeb components in CMB, Utkarsh
just merged a patch to master that should let me reenable the
vtkIOExport link, and reduce the change I pushed in CMB a little. I
will take a quick look.
Marcus
More information about the Cmb-users
mailing list