Brief description on how to build the Optical Flow collection of libraries and tools
- Download the i3dcore and i3dalgo libraries and
install them according to this manual.
- The previous step probably forced you to download and install all the other required libraries
and tools too. That's good.
- The previous step also gave you a nice training since this collection is compiled
in exactly the same manner.
- Extract the source codes of the Optical Flow collection.
- Locate it, the of directory, within your directory structure.
- Make directory of/BUILD and change dir into it.
- Fire up the CMake program on the ../CMakeLists.txt file.
- under Win32 with MS Visual C++ compiler:
- In the pop-up window select the compiler version you are using.
- Close the window with a list of all unresolved CMake variables.
- You should have a window similar to this one:

- Fill in all the paths adequately to your system's setup.
- Setup some features as shown here:

- Click on the [configure] button, several times possibly.
- After everything is correctly filled in, you can click the [OK] button.
- The Microsoft Visual C++ project file is created in of/BUILD/OF.sln.
- Double-click it to open the compiler and build it. Sometimes you may need to toggle manually the Build
configuration to Release in the Visual Studio environment when you had set DEBUG_VERSION to OFF in the CMake.
Also note that Release version seems to stuck (but it finishes well in the end) for considerable
amount of time during linking -- this is an unfortunate feature.
- Optionally, you may build the target INSTALL to actually copy/install the files.
- under Linux/UNIX with GNU gcc compiler:
- On linux, press 'c' key in the first window of the CMake.
- You should have a window similar to this one:

- Fill in all the paths adequately to your system's setup if it wouldn't setup automaticaly.
- Setup some features as shown here:

- Press the 'c' key, several times possibly.
- Optionally, you may enable the GUI demo by turing on the WITH_GRAPHIC_UTILS:

- After everything is correctly filled in, you can press the 'g' key.
- The Makefile is created in of/BUILD/Makefile.
- Run make to compile everything.
- Optionally, you may install the files by typing make install.
- For the documentation, enable DOCUMENTATION in the CMake and type make docs
in the of/BUILD directory, then point your web browser to of/doc/html/index.html.
- The tools are prefixed with of_ .
Vladimir Ulman <xulman@fi.muni.cz>