diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-26 01:26:45 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-26 01:26:45 +0200 |
commit | 4fead183fe7a0dd2b8591afcf1b82fc68617e79a (patch) | |
tree | 0a494c8730381354b1dfed677d2eafa46acbb9f8 /build.sh | |
parent | 0059724fdc4a8eba89fdfa4d65ad72e3f8c75ff4 (diff) |
Load cuda at runtime. Include cuda header files inside the project
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/sh -e dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse libswresample" -includes="$(pkg-config --cflags $dependencies) -I/opt/cuda/targets/x86_64-linux/include" -libs="$(pkg-config --libs $dependencies) /usr/lib64/libcuda.so -ldl -pthread -lm" +includes="$(pkg-config --cflags $dependencies) -Iinclude" +libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm" g++ -c src/sound.cpp -O2 $includes g++ -c src/main.cpp -O2 $includes g++ -o gpu-screen-recorder -O2 sound.o main.o -s $libs |