# Problems with running CxxImageDataExample

**URL:** https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011
**Category:** In Situ Support
**Created:** [September 16, 2021, 10:26pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011 "2021-09-16T22:26:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Gleb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/f4b2a3/32.png) [@Gleb](https://discourse.paraview.org/u/Gleb)
#### Post date: [September 16, 2021, 10:26pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011/1 "2021-09-16T22:26:20Z")

</div>

I use macOS 10.15.7, Paraview 5.9.1 and trying to run this Catalyst example [https://gitlab.kitware.com/paraview/paraview/-/tree/master/Examples/Catalyst/CxxImageDataExample](https://gitlab.kitware.com/paraview/paraview/-/tree/master/Examples/Catalyst/CxxImageDataExample).  
I do cmake, then make and run with ./CxxImageDataExample /SampleScripts/feslicescript.py  
as it is said in the readme file for those examples. Program works, but there is no output. What could be the problem?  
Maybe I need to manually turn on catalyst-use when cmake? But I don’t understand how to do that. When I do ccmake there is no catalyst-use option

---

<div class="post-metadata">

### Author: ![Gleb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/f4b2a3/32.png) [@Gleb](https://discourse.paraview.org/u/Gleb)
#### Post date: [September 18, 2021, 5:13pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011/2 "2021-09-18T17:13:41Z")

</div>

I tried to run [ParaView/Examples/Catalyst2 at master · Kitware/ParaView · GitHub](https://github.com/Kitware/ParaView/tree/master/Examples/Catalyst2) examples. For c examples i have problem when i’m trying to make it:

```auto
error: 
      variable has incomplete type 'enum catalyst_status'
  enum catalyst_status err = catalyst_initialize(catalyst_init_params);

error: 
      use of undeclared identifier 'catalyst_status_ok'
  if (err != catalyst_status_ok)

error: 
      variable has incomplete type 'enum catalyst_status'
  enum catalyst_status err = catalyst_execute(catalyst_exec_params);

error: 
      use of undeclared identifier 'catalyst_status_ok'
  if (err != catalyst_status_ok)

error: 
      variable has incomplete type 'enum catalyst_status'
  enum catalyst_status err = catalyst_finalize(catalyst_fini_params);

 error: 
      use of undeclared identifier 'catalyst_status_ok'
  if (err != catalyst_status_ok)
             ^
6 errors generated.
make[2]: *** [CMakeFiles/CFullExampleV2.dir/FEDriver.c.o] Error 1
make[1]: *** [CMakeFiles/CFullExampleV2.dir/all] Error 2
make: *** [all] Error 2

```

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 18, 2021, 7:31pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011/3 "2021-09-18T19:31:17Z")

</div>

Make sure all submodules are up to date using `git submodule update --recursive`

---

<div class="post-metadata">

### Author: ![Gleb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/f4b2a3/32.png) [@Gleb](https://discourse.paraview.org/u/Gleb)
#### Post date: [September 19, 2021, 4:01pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011/4 "2021-09-19T16:01:06Z")

</div>

I downloaded paraview from [https://www.paraview.org/download/](https://www.paraview.org/download/) and downloaded examples from [https://gitlab.kitware.com/paraview/paraview/-/tree/master/Examples](https://gitlab.kitware.com/paraview/paraview/-/tree/master/Examples), i don’t have a git repository on my computer. Could you please explain what shall I do? If i try `git submodule update --recursive`, I have `fatal: not a git repository (or any of the parent directories):`

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 19, 2021, 4:04pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011/5 "2021-09-19T16:04:25Z")

</div>

You’re trying to use ParaVIew 5.9.1 source code with Examples that are based off the development branch. That won’t work since the development branch has moved forward since the 5.9.1 release. You can checkout the 5.9.1 specific examples by choosing the appropriate tag/branch for the example.  
e.g. for 5.9.1, here are the examples: [https://gitlab.kitware.com/paraview/paraview/-/tree/v5.9.1/Examples](https://gitlab.kitware.com/paraview/paraview/-/tree/v5.9.1/Examples)

---

<div class="post-metadata">

### Author: ![Gleb](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/f4b2a3/32.png) [@Gleb](https://discourse.paraview.org/u/Gleb)
#### Post date: [September 19, 2021, 4:57pm UTC](https://discourse.paraview.org/t/problems-with-running-cxximagedataexample/8011/6 "2021-09-19T16:57:15Z")

</div>

Thanks a lot!
