# Compiling Veejay ## Prerequisities Required: * Build-essential * FFmpeg (libavcodec, libavformat, libavutil, libswscale) *please use ffmpeg instead of libav* * libjpeg * libxml2 for saving project data * SDL for the video window * libdv for playback of DV Video * freetype2 for font rendering * [http://www.gtk.org GTK-2.4 (GTK 2.6 recommended) * [http://www.gnome.org GdkPixbuf (comes with Gnome) * Cairo (needed for GVeejay Reloaded) * GtkCairo (needed for GVeejay Reloaded) * Libquicktime for Quicktime] * Video4Linux II * libpthread * Glade (needed for GVeejay Reloaded) Optional: * liblo * DirectFB for secundary head (TVOut) * Jack for audio playback * G'MIC - GREYC's Magic for Image Computing ## Generic build instructions Normally, you can just run 'configure'. If you have cloned the veejay git respository, you will need to run autogen.sh first to produce the configure file. ## Configure options Before running configure, check if the PKG_CONFIG_PATH variable is setup correctly: $ echo $PKG_CONFIG_PATH If echo is silent, you must set the PKG_CONFIG_PATH to point to the directory containing all your .pc files (like for example libdv.pc or jack.pc ) ### Configure flags `--enable-debug` Builds veejay for debugging purposes (disables optimization) `--with-arch-target=generic` Build veejay for generic x86 cpu-type. If the default is used (auto), the resulting binary may not run on another computer. ## Building 1. Get the sources from Veejay's repository:
  $ git clone git://github.com/c0ntrol/veejay.git veejay
2. Enter the source directory and run autogen.sh
  $ cd veejay/veejay-current
  $ cd veejay-server
  $ sh autogen.sh
3. Run ./configure
  $ ./configure
4. Type 'make' to build veejay
  $ make 
5. Installing
  $ sudo make install
6. *optional* continue with building veejay-client and veejay-utils
  $ cd veejay-client 
  $ sh autogen.sh
  $ ./configure
  $ make && sudo make install

  $ cd veejay-utils
  $ sh autogen.sh
  $ ./configure
  $ make && sudo make install
7. *optional* continue with building the plugin-packs
  $ cd plugin-packs/lvdgmic
  $ sh autogen.sh
  $ ./configure
  $ make && sudo make install
  $ cd plugin-packs/lvdcrop
  $ sh autogen.sh
  $ ./configure
  $ make && sudo make install
## Test your build Test if veejay works:
  $ veejay -d -n
Start another terminal and type:
 $ reloaded
Open another terminal (depends on sayVIMS, build in step 6)
 $ sayVIMS "600:;"
(or press CTRL-C in the terminal running veejay)