# FPM with FYPP don't work

**URL:** <https://fortran-lang.discourse.group/t/fpm-with-fypp-dont-work/8309>\
**Category:** fpm\
**Created:** [July 4, 2024, 4:05pm UTC](https://fortran-lang.discourse.group/t/fpm-with-fypp-dont-work/8309 "2024-07-04T16:05:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lufla](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/lufla/32/2836_2.png) [@Lufla](https://fortran-lang.discourse.group/u/Lufla)\
**Post date:** [July 4, 2024, 4:05pm UTC](https://fortran-lang.discourse.group/t/fpm-with-fypp-dont-work/8309/1 "2024-07-04T16:05:03Z")

</div>

I tried to use FPM with the FYPP pre-processor. The FPM manifest indicates the use of FYPP.

```auto
To use multiple preprocessors, for example cpp and fypp, specify them like this:

Example

[preprocess]
[preprocess.cpp]
[preprocess.fypp]

```

However, when I try to use it, I receive an error message.

```auto
fpm build                                                                                       
Warning: Preprocessor fypp is not supported; will ignore it
<ERROR> *cmd_build* Target error: Unable to find source for module dependency: "printtwomod" used by "app/main.f90"
STOP 1

```

Am I doing something wrong, or does FPM not support FYPP yet?

---

<div class="post-metadata">

**Author:** ![jeremie.vandenplas](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jeremie.vandenplas](https://fortran-lang.discourse.group/u/jeremie.vandenplas)\
**Post date:** [July 4, 2024, 6:44pm UTC](https://fortran-lang.discourse.group/t/fpm-with-fypp-dont-work/8309/2 "2024-07-04T18:44:53Z")

</div>

@Lufla indeed, `fpm` does not support fully `fypp` pre-processor. See [here](https://github.com/fortran-lang/stdlib?tab=readme-ov-file#build-with-fortran-langfpm) a workaround for `stdlib` developed by @hkvzjal .
