mortie / swaylock-effects

Swaylock, with fancy effects
MIT License
709 stars 46 forks source link

omp.h not found #90

Open ghost opened 2 years ago

ghost commented 2 years ago

image

brihadeesh commented 2 years ago

libgomp-devel or equivalent is a dependency

ryleu commented 3 months ago
$ 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 commented 3 months ago

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

xlocate lib/omp.h