# Can't define Expression through c++; returns fatal error: ufc.h: No such file or directory

**URL:** https://fenicsproject.discourse.group/t/cant-define-expression-through-c-returns-fatal-error-ufc-h-no-such-file-or-directory/5472
**Category:** Uncategorized
**Created:** [March 30, 2021, 3:51pm UTC](https://fenicsproject.discourse.group/t/cant-define-expression-through-c-returns-fatal-error-ufc-h-no-such-file-or-directory/5472 "2021-03-30T15:51:56Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![fpradelli](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/fpradelli/32/3291_2.png) [@fpradelli](https://fenicsproject.discourse.group/u/fpradelli)
#### Post date: [March 31, 2021, 2:09pm UTC](https://fenicsproject.discourse.group/t/cant-define-expression-through-c-returns-fatal-error-ufc-h-no-such-file-or-directory/5472/9 "2021-03-31T14:09:50Z")

</div>

Dear @dparsons ,  
I tried to remove all the files related to FEniCS in the `usr/local` folder but, unfortunately, the problem persists.  
At least, in the error message now the folder changed from `usr/local/include/dolfin/` to `/usr/include/dolfin` :

```auto
------------------- Start compiler output ------------------------
In file included from /tmp/tmpatp8ubfw/dolfin_expression_e8cadffda6c83113f8e006b97f0c13b5.cpp:13:
/usr/include/dolfin/function/Expression.h:25:10: fatal error: ufc.h: No such file or directory
   25 | #include <ufc.h>
      | ^ ~~~~~~
compilation terminated.

------------------- End compiler output ------------------------

```

Do you have maybe another idea?

---

_[View the full topic](https://fenicsproject.discourse.group/t/cant-define-expression-through-c-returns-fatal-error-ufc-h-no-such-file-or-directory/5472)._
