Vivia - Latest Compiling Notes
==========================
 VIVIA - THE VIDEO EDITOR
==========================

This file contains compilation instructions for Linux and Windows.


====================
 COMPILING ON LINUX
====================

./build-ffmpeg-linux.sh
cd src
qmake
make

That will create an executable named 'vivia' in the 'src' directory.
Copy 'vivia' to the location of your choice, or run it directly from
within 'src'.


================================
 LINUX COMPILATION DEPENDENCIES
================================

SDL 1.2 - used for audio in Vivia
nasm - for compiling ASM files
icoutils - Optional - for creating website and window's program icons


GENTOO
------
emerge -av qt libsdl icoutils nasm
	Last tested with:
		x11-libs/qt-4.1.3
		media-libs/libsdl-1.2.8-r1
		media-gfx/icoutils-0.22.0
		dev-lang/nasm-0.98.39-r1

Kubuntu Dapper
--------------
apt-get install libsdl1.2-dev nasm
	qt?
	icoutils?

Kubuntu Edgy Eft (2006-11-18)
----------------
apt-get install g++ libqt4-dev libsdl1.2-dev nasm

Extra stuff:
	apt-get install kdevelop dot valgrind

======================
 COMPILING ON WINDOWS
======================

- Open vivia.sln with Visual Studio 2005
- Set "vivia" as the startup project if it isn't already
- Build

Before you can run Vivia from within Visual Studio, you'll need to copy 
the DLLs in vivia/Windows/lib to vivia/src/Debug and/or 
vivia/src/Release.

The setup program can be built by building the SetupVS2005 project.
If you are building a setup program for a new version of Vivia, you
should increment the "Version" property in SetupVS2005.


==================================
 WINDOWS COMPILATION DEPENDENCIES
==================================

Window's compilation has only been tested with the commercial version of 
Qt 4.1.3 and Visual Studio 2005 Professional.

Qt 4.1 - GUI library
Visual Studio 2005  - IDE

SDL 1.2 - Optional - used for audio in Vivia
nasm - Optional - for compiling ASM files
icoutils - Optional - for creating window's program icon and favicon.ico
cygwin - Optional - linux-like commandline environment for Windows
gcc-mingw-core - Optional - gcc for Windows

For convenience, we have a Windows directory in the repository that 
contains a recent copy of SDL and the compiled ASM files.  If you use
those, you don't need any of the "Optional" items above.

Optional Stuff
--------------
SDL: our current copy is at 
 http://www.libsdl.org/release/SDL-devel-1.2.11-VC6.zip
nasm: for windows, download nasm-0.98.39-win32.zip
icoutils: I don't actually know if you can get this for Windows...
cygwin:
gcc-mingw-core:

WINDOWS BUILD NOTES:
- ffmpeg in Windows/lib currently has svn revion 6534
- To update Windows/obj/YuvToRgb_mmx.obj:
	Windows/bin/nasmw.exe -o Windows/YuvToRgb_mmx.obj -Xvc YuvToRgb_mmx_2.asm -f win32
- To update vivia.vcproj:
	start a Visual Studio 2005 command prompt, change to the vivia directory, and enter the following command:
	qmake -tp vc
- The SDL libraries could be updated by downloading a new version of SDL and 
  placing the headers in vivia/Windows/include/SDL and the libs in vivia/Windows/lib

BUILDING FFMPEG ON WINDOWS: (2006-10-03)
- install cygwin
- install extra cygwin packages:
	gcc-mingw-core
- start cygwin, change to the DV Scene Maker directory, and enter the following commands:
	$ ./build-ffmpeg-cygwin.sh
- If ./build-ffmpeg-cygwin.sh was unable to find your Visual Studio 2005 bin directory:
- start a Visual Studio 2005 command prompt, change to the ffmpeg-out directory, and enter the following commands:
	> lib /def:avutil-49.def
	> lib /def:avformat-50.def
	> lib /def:avcodec-51.def
- now copy the *.dll and *.lib files from ffmpeg-out to vivia/Windows/lib


Last Update: 2006-11-18, Ellis Whitehead
Last Update: 2006-11-18: Kubuntu Edgy Eft dependencies
 
 
SourceForge.net Logo