# error LNK2019 Visual Studio vtkSMViewLayoutProxy subclasses

**URL:** https://discourse.paraview.org/t/error-lnk2019-visual-studio-vtksmviewlayoutproxy-subclasses/4930
**Category:** ParaView Support
**Created:** [July 23, 2020, 8:31am UTC](https://discourse.paraview.org/t/error-lnk2019-visual-studio-vtksmviewlayoutproxy-subclasses/4930 "2020-07-23T08:31:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Alberto](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@Alberto](https://discourse.paraview.org/u/Alberto)
#### Post date: [July 23, 2020, 8:31am UTC](https://discourse.paraview.org/t/error-lnk2019-visual-studio-vtksmviewlayoutproxy-subclasses/4930/1 "2020-07-23T08:31:50Z")

</div>

I’m compiling a C++ plugin for Paraview.

In my code I included the vtkSMViewLayoutProxy .h header file and I Initialized the Proxy from pqActiveObjects.  
When I try to call tjhe subclasses as GetView or Split the compiler exit with LKN2019 error for reference libraries.  
I tried to search in my binaries but there is no vtkSMViewLayoutPort.lib file.  
Have I to recompile binaries including something else than standard settings of CMAKE?

Thank you in advance.

Alberto

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 23, 2020, 8:34am UTC](https://discourse.paraview.org/t/error-lnk2019-visual-studio-vtksmviewlayoutproxy-subclasses/4930/2 "2020-07-23T08:34:11Z")

</div>

This symbol should be in `libvtkRemotingViews.lib`

---

<div class="post-metadata">

### Author: ![Alberto](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/ea5d25/32.png) [@Alberto](https://discourse.paraview.org/u/Alberto)
#### Post date: [July 23, 2020, 9:44am UTC](https://discourse.paraview.org/t/error-lnk2019-visual-studio-vtksmviewlayoutproxy-subclasses/4930/3 "2020-07-23T09:44:26Z")

</div>

Thank you.

And what is the library for vtkXYPlotActor?

Thank you in advance.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 23, 2020, 9:45am UTC](https://discourse.paraview.org/t/error-lnk2019-visual-studio-vtksmviewlayoutproxy-subclasses/4930/4 "2020-07-23T09:45:27Z")

</div>

`libvtkRenderingAnnotations.lib`

Figuring it out is very easy, just look at the location of the source file your are looking for.
