Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omp.h not found #90

Open
ghost opened this issue Mar 21, 2022 · 3 comments
Open

omp.h not found #90

ghost opened this issue Mar 21, 2022 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 21, 2022

image

@brihadeesh
Copy link

libgomp-devel or equivalent is a dependency

@ryleu
Copy link

ryleu commented Jun 25, 2024

$ sudo xbps-install libomp-devel 
Package `libomp-devel' already installed.
$ ninja -C build                
ninja: Entering directory `build'
[1/3] Compiling C object swaylock.p/effects.c.o
FAILED: swaylock.p/effects.c.o 
cc -Iswaylock.p -I. -I.. -Iinclude -I../include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O0 -g -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla -fopenmp '-DSYSCONFDIR="//usr/local/etc"' -DUSE_SSE -mtune=native '-DSWAYLOCK_VERSION="v1.6-4-2-ga863c2f (" __DATE__ ", branch '"'"'master'"'"')"' -pthread -MD -MQ swaylock.p/effects.c.o -MF swaylock.p/effects.c.o.d -o swaylock.p/effects.c.o -c ../effects.c
../effects.c:3:10: fatal error: omp.h: No such file or directory
    3 | #include <omp.h>
      |          ^~~~~~~
compilation terminated.
[2/3] Compiling C object swaylock.p/fade.c.o
FAILED: swaylock.p/fade.c.o 
cc -Iswaylock.p -I. -I.. -Iinclude -I../include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O0 -g -Wno-unused-parameter -Wno-unused-result -Wundef -Wvla -fopenmp '-DSYSCONFDIR="//usr/local/etc"' -DUSE_SSE -mtune=native '-DSWAYLOCK_VERSION="v1.6-4-2-ga863c2f (" __DATE__ ", branch '"'"'master'"'"')"' -pthread -MD -MQ swaylock.p/fade.c.o -MF swaylock.p/fade.c.o.d -o swaylock.p/fade.c.o -c ../fade.c
../fade.c:6:10: fatal error: omp.h: No such file or directory
    6 | #include <omp.h>
      |          ^~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
$

got the same issue, installing that package did not help. any other ideas?

@brihadeesh
Copy link

maybe try finding the right package by searching using xlocate from (i think) the xutils package?

xlocate lib/omp.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants