Build Notes - Kinovea


Compilers

You need Visual C# 2005 Express Edition (Or 2008, or the complete Visual Studio). 

Dependencies :
You don't need to rebuild the dependencies.
Binaries for dependencies are found in the folder  /Refs.

- FFMpeg (avcodec-51.dll, avformat-51.dll, avutil-49.dll, swscale-0.dll + the include directory)
- AForge (Aforge.dll, Aforge.Imaging.dll, Aforge.Math.dll)
- CPI.Plot3D.dll
- ExpTreeLib.dll
- PdfSharp.dll

PlayerServer.dll
- This is a C++/CLI assembly.
- You will find the binary for it in the Refs folder if you don't feel like rebuilding it.
- You need Visual C++ 2005 Express Edition. (Or 2008, or the complete Visual Studio)

x86 Configuration
We don't use the "Any Cpu" default, because it seems to messes with 64 bits installs.
(Because Visual C++ 2005 Express doesn't have that option)
The binary files will be generated under : "\Root\bin\x86\Debug" or "\Root\bin\x86\Release"

Rebuild
Set Root as the startup project.
Manually copy the FFMpeg dlls (4 of them) in the output directory. (i.e. \Root\bin\x86\Debug)

Hit F5, the solution should build and run.

If you get an error at run time right after launch, (on OrganizeMenu method), one of the external dll is missing.
Check that PlayerServer.dll and the FFMpeg dlls have been copied in the output dir.

Help Manuals

Use the HTML Help Workshop (freeware from Microsoft) to rebuild the help files. (.hhp)
You can edit the sources as classic html files. (I use Kompozer)

Installer

The installer builds with NSIS.
Check NSIS doc on how to generate the installer from the .nsi provided file.