From 1db22826831bf90f82422af5b5fa3d6caec32b77 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 28 Sep 2022 01:03:06 +0200 Subject: Remove dependency on glew and glfw, move external files to external directory --- install_ubuntu.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'install_ubuntu.sh') diff --git a/install_ubuntu.sh b/install_ubuntu.sh index 21a7826..768475d 100755 --- a/install_ubuntu.sh +++ b/install_ubuntu.sh @@ -11,12 +11,11 @@ cuda_missing="$?" set -e apt-get -y install build-essential nvidia-cuda-dev\ libswresample-dev libavformat-dev libavcodec-dev libavutil-dev\ - libx11-dev libxcomposite-dev\ - libglew-dev libglfw3-dev\ + libgl-dev libx11-dev libxcomposite-dev\ libpulse-dev -dependencies="glew libavcodec libavformat libavutil x11 xcomposite glfw3 libpulse libswresample" -includes="$(pkg-config --cflags $dependencies) -Iinclude" +dependencies="libavcodec libavformat libavutil x11 xcomposite libpulse libswresample" +includes="$(pkg-config --cflags $dependencies) -Iexternal" libs="$(pkg-config --libs $dependencies) -ldl -pthread -lm" g++ -c src/sound.cpp -O2 $includes g++ -c src/main.cpp -O2 $includes -- cgit v1.2.3