ChartDirector Ver 4.1 (C++ Edition)

Installation


Installing ChartDirector for C++

ChartDirector for C++ is released as a zip file on Windows, and as a tar.gz file on Linux, FreeBSD, Mac OS X and Solaris. To install ChartDirector for C++:, simply extract the files from distribution.

Running ChartDirector Sample Programs

ChartDirector for C++ comes with two sets of sample programs.

Using ChartDirector in Your Projects on Windows

Note : this section is applicable for Windows only.

When you develop a project using ChartDirector, the development environment should be configured appropriately so that it can find the proper header files and link to the proper library files.

Using ChartDirector in Your Projects on Linux, FreeBSD, Mac OSX and Solaris

Note : this section is applicable for Linux, FreeBSD, Mac OSX and Solaris only.

When you develop a project using ChartDirector, the development environment should be configured appropriately so that it can find the proper header files and link to the proper library files.

Important Note For Solaris User Using g++/gcc

In Solaris, some compilers (such as g++/gcc) requires an assembler (as) and linker (ld) to produce executable code. Solaris comes standard with as/ld in "/usr/ccs/bin". If you do not find as/ld in "/usr/ccs/bin", please install it from the Solaris CD.

There is an alternative as/ld distributed in the GNU binutils package. The GNU as/ld is incompatible with the Solaris as/ld.

ChartDirector is compiled using the Solaris as/ld. When developing software using ChartDirector, please use the Solaris as/ld, not the GNU as/ld. The GNU as/ld may crash, or the it may produce code that crashes.

If you have installed the GNU binutils package, by default, the gcc compiler will use the GNU as/ld instead of the Solaris as/ld. In this case, please uninstall the GNU binutils, or add the flag "-B/usr/ccs/bin/" in your compile and link statements to tell gcc to use the Solaris as/ld. Simply setting the "path" variable to search for "/usr/ccs/bin" first is not sufficient. The "-B/usr/ccs/bin/" flag must be used.

Installing the ChartDirector License

If you have purchased a license to use ChartDirector, you should have a license code delivered to your via email and postal mail.

If your license key is for upgrading from a previous version of ChartDirector, you need to append the upgrade license key to the previous version license key, and use the combined license key.

There are two alternative methods to install the license key.