Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
Installing libpdf++
Requirements
- gcc 3.2 Version after 3.0 should work, but I haven't tested them.
- Visual C++ 6.0 should not work. I don't want to make it work either. If you have time, you can fix it, but don't ask me to do it. You can ask me for help, though.
In order to compile libpdf++, your compiler must support:
- partial template specialization
- an STL implementation with template member functions
- a std::auto_ptr with reset()
- a for loop with scope of loop index only local within the loop
- compilng heavily templated code without generating internel complie errors.
In general, the gcc 3.2 compiler works well (at least for me). Versions before 3.0 should not work. I haven't tested. Visual C++ 6.0 cannot do any of the above points, so it should not work. The Intel complier is cool, but it cost money. In short, I don't have a copy of any compiler except gcc (it is Free!) and thus cannot try them now.
Library Dependencies
libpdf++ only needs the header files of the Boost library. You don't need to compile and install the whole Boost library to compile libpdf++. For Freetype, libjpeg and zlib, use the standard "./configure; make; make install" method will do the job.
Installation Procedure
This section assumes you have a UNIX-like environment. In windows you can use cygwin or mingw to do it (I haven't try so don't know if it works):
- assume you have installed zlib, libjpeg and freetype
- download the tarball: libpdfdoc-x.x.x.tar.gz
tar zxvf libpdfdoc-x.x.x.tar.gz
- download boost library: boost_x_x_x.tar.gz
- extract it some where:
cd /somewhere; tar zxvf boost_x_x_x.tar.gz; cd -
- configure libpdfdoc:
configure --enable-boost=/somewhere
- complie:
make
- install:
make install
- done!
As my main development platform in x86 Linux, it should work well there. I don't have access to other platforms, so I can't make them work now. If you have problems in compiling libpdf++ on other platforms, please email me the error messages from the compiler, and I will see if I can help you.
Generated on Sun Feb 2 09:17:07 2003 for libpdf++ by
1.2.16