Skip to content

Error when installing from source (fatal error: hwy/foreach_target.h: No such file or directory) #708

Description

@guidohooiveld

I would like to again install (update) fastp from source. Previously this always went fine, but with the latest version I ran into an error; this happened at the building stage, when make is called (make -j).

guidoh@fedora:~/fastp$ make -j
g++ -c src/simd.cpp -o obj/simd.o -std=c++11 -pthread -g -O3 -MD -MP -I. -I./inc     
src/simd.cpp:6:10: fatal error: hwy/foreach_target.h: No such file or directory
    6 | #include <hwy/foreach_target.h>  // IWYU pragma: keep
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:67: obj/simd.o] Error 1
guidoh@fedora:~/fastp$ 

Any suggestion what goes wrong?

I am running Fedora, and I confirmed all required dependencies are installed (and up-to-date).

guidoh@fedora:~/fastp$ sudo dnf install isa-l libdeflate highway
Updating and loading repositories:
Repositories loaded.
Package "isa-l-2.32.1-1.fc44.x86_64" is already installed.
Package "libdeflate-1.25-3.fc44.x86_64" is already installed.
Package "highway-1.3.0-2.fc44.x86_64" is already installed.

Nothing to do.
guidoh@fedora:~/fastp$ uname -a 
Linux fedora 7.0.13-200.fc44.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 19 22:51:30 UTC 2026 x86_64 GNU/Linux
guidoh@fedora:~/fastp$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions