Bd » History » Version 1

Xue Wen, 2011-08-11 11:26 AM

1 1 Xue Wen
h1. Building harmonic visualizer
2 1 Xue Wen
3 1 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 1 Xue Wen
h2. Building with Turbo C++ 2006
6 1 Xue Wen
7 1 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 [[x:wiki|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 [[x:wiki|HSM&Tools]] source code are in the upper directory, then open the project and build.
8 1 Xue Wen
9 1 Xue Wen
h2. Building with other versions of Borland C++Builder
10 1 Xue Wen
11 1 Xue Wen
If the available version of C++Builder does not support .bdsproj type project file, then do the following:
12 1 Xue Wen
1. create an empty project;
13 1 Xue Wen
2. add all source code files of [[x:wiki|HSM&Tools]] to this project;
14 1 Xue Wen
3. add all source code files of HV to this project;
15 1 Xue Wen
4. specify Form1 (unit1.cpp) as the main form of the programme;
16 1 Xue Wen
5. build project.