|
> Installation
|
Under Windows
In order to compile the code, you have to link it with these libraries :
- libwsock32.a
- libgdi32.a
- libjpeg.dll.a
- libboost_thread-mgw-mt.lib
The libwsock32.a, libgdi32.a libraries are provided with any (good) Windows compiler.
The libjpeg.dll.a et libboost_thread-mgw-mt.lib libraries, must be compiled. They can be downloaded respectivly from www.ijg.org et www.boost.org.
You need to put boost_thread-mgw-mt.dll in the application directory or in C:\Windows\System32.
You also need to do the same with all the dll generated by the libjeg compilation.
In addition to that, you have to download the CImg library
in order to display the video (not required for other operations). This
is only a simple ".h" file that you should put in your "default include
directory" of your compiler.
Once these libraries are ready, you probably have to update the Makefile PATHS. Then :
make --> Make the library.
make exe --> Compile an executable (from a main.cpp file).
|
|
|
> Installation
|
Under UNIX
In order to compile the code, you have to link it with these libraries :
- libX11.a
- libjpeg.a
- libboost_thread-mt.lib
The libX11 is available under the UNIX, instead of the
libboost and the libjpeg libraries which have to be downloaded (to see
above).
In addition to that, you have to download the CImg library in order to
display the video (not required for other operations). This is only a
simple ".h" file that you should put in your /usr/local/include.
Once these libraries are ready, you probably have to update the Makefile PATHS. Then :
make -f Makefile-gcc --> Make the library.
make -f Makefile-gcc install --> (As root) install the library.
make -f Makefile-gcc exec --> Compile an executable (from a main.cpp file).
|
|
|
|
|
|