Wiki » History » Version 3

Xue Wen, 2011-08-10 06:03 PM

1 1 Xue Wen
h1. Building harmonic visualizer
2 1 Xue Wen
3 3 Xue Wen
Project harmonic visualizer (HV) depends on Borland VCL and [[x:wiki|HSM&Tools]] code libaray. To build HV you'll need Borland C++Builder or equivalent building tools that includes VCL.
4 1 Xue Wen
5 2 Xue Wen
h2. Building with Turbo C++ 2006
6 2 Xue Wen
7 2 Xue Wen
The source code of HV comes with a project makefile hv.bdsproj which was used to build the supplied executable. This makefile assumes HSM&Tools source codes are available in the upper directory (..\). To build HV using Turbo C++ 2006 or compactible tools supporting .bdsproj type makefiles, simply make sure all HSM&Tools source code are in the upper directory, then open the project and build.
8 2 Xue Wen
9 2 Xue Wen
h2. Building with other versions of Borland C++Builder
10 2 Xue Wen
11 2 Xue Wen
If the available version of C++Builder does not support .bdsproj type project file, then do the following:
12 2 Xue Wen
1. create an empty project;
13 2 Xue Wen
2. add all source code files of HSM&Tools to this project;
14 2 Xue Wen
3. add all source code files of HV to this project;
15 2 Xue Wen
4. specify Form1 (unit1.cpp) as the main form of the programme;
16 2 Xue Wen
5. build project.