PageRenderTime 49ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/scripts/linux/ubuntu/install_dependencies.sh

https://github.com/repos-c-cpp/openFrameworks
Shell | 26 lines | 24 code | 1 blank | 1 comment | 5 complexity | 532861f1bcc2874b29df3429114d5cbb MD5 | raw file
  1. apt-get update
  2. apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev gstreamer0.10-ffmpeg libglew1.5-dev libopenal-dev libsndfile-dev libfreeimage-dev libcairo2-dev libgtk2.0-dev libjack-dev python-lxml python-argparse
  3. ARCH=$(uname -m)
  4. if [ "$ARCH" = "x86_64" ]; then
  5. LIBSPATH=linux64
  6. else
  7. LIBSPATH=linux
  8. fi
  9. WHO=`sudo who am i`;ID=`echo ${WHO%% *}`
  10. GROUP_ID=`id --group -n ${ID}`
  11. cd ../../../libs/openFrameworksCompiled/project/$LIBSPATH
  12. make Debug
  13. if [ $? != 0 ]; then
  14. echo "there has been a problem compiling Debug OF library"
  15. echo "please report this problem in the forums"
  16. exit
  17. fi
  18. chown -R $ID:$GROUP_ID obj ../../lib/${LIBSPATH}/*
  19. make Release
  20. if [ $? != 0 ]; then
  21. echo "there has been a problem compiling Release OF library"
  22. echo "please report this problem in the forums"
  23. fi
  24. chown -R $ID:$GROUP_ID obj ../../lib/${LIBSPATH}/*
  25. # libpoco-dev