Contents First Prev Home Next Last
dxflib Programmer's Guide
 
   

2 Compiling dxflib

Unix / Linux

Under Unix and Linux Systems, compiling dxflib is a simple standard procedure:

./configure
make

This creates the file './lib/dxflib.a' . To compile a dynamic version of dxflib, run 'make shared' instead of 'make' . This will create the file './lib/libdxf.so.2.0.x.x' and the link './lib/libdxf.so' that points to './lib/libdxf.so.2.0.x.x' .

Instead of running 'make install', you can also copy the header files into a header directory of your choice and copy the library files into a library directory of your choice.

Windows

There are many different ways to compile dxflib under Windows. You can use Microsoft's Visual C++ compiler, Borland's C++ command line tools, gcc and many other compilers.
For this manual, only the process of compiling dxflib using cygwin [CYGWIN] and the gcc compiler from the MinGW32 package is shown:

./configure
MinGW32-make

   
  Contents First Prev Home Next Last

Copyright 2004-2005 RibbonSoft, Inc.
All Rights Reserved.
This Manual was created with ManStyle.