This library currently supports g++ 3.2 , g++ 3.3, g++ 3.4 and g++ 4.0. No other versions are supported. Please note that g++ 3.3 is compatible with g++ 3.2 and no specific libraries for 3.3 are provided; you can use library for g++ 3.2 with it. For more information about compiler specific issues, see documentation of the distribution. For more information about how to build the codes, see
How to Build Sample Codes.
Since this library depends on some libraries which are already provided by the Red Hat distribution, you may happen to deal with dead-links when linking the objects and the library into an executable or a library. The following is the list of the libraries which this library depends on:
- zlib (-lz)
- openssl (-lssl)
- cryptolib (-lpcrypto)
- pthread (-lpthread)
- libidn (-lidn)
There're several C++ exception related issues with this library which may impact your code. See
Special Version of Libraries for Exception Handling for more information.
And you should use g++ rather than ld to link modules, otherwise you may happen to specify some extra libraries such as libstdc++.
The sample codes have a sample
Makefile which illustrates how to build them. The following command line illustrates how to build the samples on the CentOS 3 (assumes you're now in
dist-djvusdk/samples directory.):
The most important thing is that you should explicitly specify the compiler to build the codes. Without this, you will see many linker errors.