Peter Åstrand | bb6bb12 | 2004-12-19 14:53:15 +0000 | [diff] [blame^] | 1 | How to build TightVNC with VC7 (Visual C++ .NET) |
| 2 | ================================================ |
| 3 | |
| 4 | |
| 5 | Introduction |
| 6 | ------------ |
| 7 | |
| 8 | This text documents how to build TightVNC with VC7. |
| 9 | |
| 10 | |
| 11 | The VC7 "Standard" Edition |
| 12 | -------------------------- |
| 13 | |
| 14 | The VC7 "Standard" Edition does not come with an optimizing |
| 15 | compiler. It is possible to use the compiler from the free Visual C++ |
| 16 | Toolkit 2003, though. See |
| 17 | http://www.sawtoothdistortion.com/Articles/FreeOptimizingCompiler.html |
| 18 | for more information. (This documents assumes that you are using Method |
| 19 | Two.) |
| 20 | |
| 21 | |
| 22 | Building |
| 23 | -------- |
| 24 | |
| 25 | * Open vnc.dsw. Select "Yes to all". |
| 26 | |
| 27 | * Select Build->Configuration Manager->Active Solution |
| 28 | Configuration->Release. |
| 29 | |
| 30 | * In Solution Explorer, select all projects except |
| 31 | "logmessages". Right-click, and select properties. |
| 32 | |
| 33 | * Below Configuration Properties->C/C++->Precompiled Headers, select |
| 34 | "Not Using Precompiled Headers". |
| 35 | |
| 36 | * If you are using the Standard Edition and would like to build with |
| 37 | optimizations, select Configuration Properties->C/C++->Command Line |
| 38 | and fill in "/O2". |
| 39 | |
| 40 | * Build Solution. |