# Compilation error when I use Catalyst in ParaView 5.8.1

**URL:** https://discourse.paraview.org/t/compilation-error-when-i-use-catalyst-in-paraview-5-8-1/8002
**Category:** In Situ Support
**Created:** [September 15, 2021, 7:38am UTC](https://discourse.paraview.org/t/compilation-error-when-i-use-catalyst-in-paraview-5-8-1/8002 "2021-09-15T07:38:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lijian\_cug](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/838e76/32.png) [@lijian\_cug](https://discourse.paraview.org/u/lijian_cug)
#### Post date: [September 15, 2021, 7:38am UTC](https://discourse.paraview.org/t/compilation-error-when-i-use-catalyst-in-paraview-5-8-1/8002/1 "2021-09-15T07:38:08Z")

</div>

Dear Sir or Ms:  
I use gcc 7.5 and Ubuntu 18.04 to compile ParaView 5.8.1.  
I switch on Catalyst, Python and MPI related options in CMake, and make -j8  
Some errors happened as following:

```auto

[6%] Generating client_server wrapper sources for vtkVTK_USE_SCALED_SOA_ARRAYS
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:80:29: error: expected initializer before ‘<’ token
 PyvtkClientServerID_operator<(PyObject *self, PyObject *args)
                             ^
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:110:29: error: expected initializer before ‘==’ token
 PyvtkClientServerID_operator==(PyObject *self, PyObject *args)
                             ^~
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:140:29: error: expected initializer before ‘!=’ token
 PyvtkClientServerID_operator!=(PyObject *self, PyObject *args)
                             ^~
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:173:17: error: ‘PyvtkClientServerID_operator’ was not declared in this scope
   {"operator<", PyvtkClientServerID_operator<, METH_VARARGS,
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6%] Generating Python wrapper sources for vtkConfigure
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:173:17: note: suggested alternative: ‘PyvtkClientServerID_Methods’
   {"operator<", PyvtkClientServerID_operator<, METH_VARARGS,
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 PyvtkClientServerID_Methods
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:173:46: error: expected primary-expression before ‘,’ token
   {"operator<", PyvtkClientServerID_operator<, METH_VARARGS,
                                              ^
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:177:18: error: ‘PyvtkClientServerID_operator’ was not declared in this scope
   {"operator==", PyvtkClientServerID_operator==, METH_VARARGS,
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/lijian/paraview-5.8.1/build/CMakeFiles/vtkRemotingClientServerStreamPython/vtkClientServerIDPython.cxx:177:18: note: suggested alternative: ‘PyvtkClientServerID_Methods’
   {"operator==", PyvtkClientServerID_operator==, METH_VARARGS,

```

Can anybody help me? Thanks!

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [September 18, 2021, 7:08pm UTC](https://discourse.paraview.org/t/compilation-error-when-i-use-catalyst-in-paraview-5-8-1/8002/2 "2021-09-18T19:08:06Z")

</div>

This feels like there’s a VTK in `LD_LIBRARY_PATH` or something mixing with the ParaView build’s copy of it.

@dgobbi?
