# FSI Simulation Gives Error for solid-calculix

**URL:** <https://precice.discourse.group/t/fsi-simulation-gives-error-for-solid-calculix/852>\
**Category:** Official adapters and tutorials\
**Tags:** calculix\
**Created:** [December 31, 2021, 3:15pm UTC](https://precice.discourse.group/t/fsi-simulation-gives-error-for-solid-calculix/852 "2021-12-31T15:15:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mishal49](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@mishal49](https://precice.discourse.group/u/mishal49)\
**Post date:** [January 2, 2022, 6:35pm UTC](https://precice.discourse.group/t/fsi-simulation-gives-error-for-solid-calculix/852/3 "2022-01-02T18:35:48Z")

</div>

I have been trying to build the adapter but it gives me this error;

> [@CalculiX not being linked to preCICE properly](https://precice.discourse.group/t/calculix-not-being-linked-to-precice-properly/75/16):
>
> Hello, So I got this same error when making the adapter so I used the guidelines [here](https://precice.org/installation-linking.html#solverinterfacech-cannot-be-found). Mine was already #include “precice/SolverInterfaceC.h” in the PreciceInterface.c file so I tried changing it to precice/bindings/c/SolverInterfaceC.h which I was quite positive would not work. I am not sure where this file is located for me and so I am uncertain about the file path to put in to allow the adapter to fully make. Would appreciate y’all’s help

I also get a liprecice error which is addressed [here](https://precice.org/installation-linking.html#libprecice-cannot-be-found-during-building) but I was unable to fix.

 ![image](https://global.discourse-cdn.com/free1/uploads/precice/original/2X/7/771c6f40fdba7f9bba1f1371dc58b44539dd7974.png)

this is what I have on my bashrc file right now:

> PRECICE\_PREFIX=~/precice  
> export LD\_LIBRARY\_PATH=$PRECICE\_PREFIX/lib:$LD\_LIBRARY\_PATH  
> export CPATH=$PRECICE\_PREFIX/include:$CPATH  
> _# Enable detection with pkg-config and CMake_  
> export PKG\_CONFIG\_PATH=$PRECICE\_PREFIX/lib/pkgconfig:$PKG\_CONFIG\_PATH  
> export CMAKE\_PREFIX\_PATH=$PRECICE\_PREFIX:$CMAKE\_PREFIX\_PATH

---

_[View the full topic](https://precice.discourse.group/t/fsi-simulation-gives-error-for-solid-calculix/852)._
