-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCompiling
More file actions
110 lines (75 loc) · 4.11 KB
/
Compiling
File metadata and controls
110 lines (75 loc) · 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
How to compile the project
==========================
These are generic compilation instructions.
The solution compiles with Microsoft Developer Studio 6, and also with the latest
Visual Studio.NET versions. Project files are included for VS6 and VS2008.
Installation of Microsoft Windows Active Template Library (ATL), the Windows Template
Library (WTL), the HTML Help Workshop and Microsoft Windows SDK is required.
Links for these libraries are available below.
To compile the projects, you should use the "Batch Build" option in Developer Studio.
This will build all the projects in the solution in the correct order.
Most compile error are solved by making sure that you have installed the latest version
of the 3rd party projects mentioned below.
One sub-project, the RemoteProject, will not compile unless you manually create a
password.h file in the solution. More information can be found in the
Authen.cpp source file for that project.
The source distribution does not contain all the required binary files to
successfully run the application. You can copy the remaining files
(such as CL32.DLL, SciLexer.DLL and BVRDE.XML) from the binary distribution
to the \Bin folder to allow the application to run.
Links
The folllowing links are needed or useful for compiling the projects:
Microsoft ATL library
http://msdn.microsoft.com/vstudio
Microsoft WTL library
http://wtl.sourceforge.net
Microsoft Windows SDK
http://msdn.microsoft.com/en-us/windows/bb980924.aspx
Microsoft Html Help Workshop
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconHH1Start.asp
The Scintilla Editor
http://www.scintilla.org
Cryptlib library
http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
DOC++
htpp://docpp.sourceforge.net
Resolving Errors
If you get errors about a missing atlbase.h file you have not installed the ATL
library properly. The Microsoft ATL library is available with MS Visual Studio
and sometimes also available for download through the free Windows Driver
Kit (WDK) package.
If you get errors about a missing atlres.h or atlapp.h file you have not installed
the WTL library properly. Remember to add the /include path to your project
settings.
If you get errors concerning the WinInet "FtpCommand" method, you are using
an outdated Windows SDK package or have not configured it properly.
Alternatively remove the offending line from the FtpProtocol.cpp file.
The sub-project, RemoteProject, will not compile unless you manually add a
password.h file to the solution. More information can be found in the
Authen.cpp source file.
Compile errors regarding an unknown ATL namespace prefix can be
corrected directly in the atldispa.h source by removing the prefix
as described in the comments or updating your Windows SDK.
Compile errors about the undefined LPNMREBARCHEVRON is also
solved by updating to the latest Windows SDK headers.
Compile errors regarding missing CLogFont classes mean that you did
not update your WTL library to the latest version. My former helper classes
are now part of the WTL library itself.
Compile errors complaining about ambiguous symbols in ATL can be resolved
by following the instructions in the WTL ReadMe file.
Missing the "HtmlHelp.lib" or "HtmlHelp.h" files? Then you forgot to
install and add the "Microsoft HTML Help Workshop" include/lib paths
to your development environment.
The code may depend on the Microsoft version of the STL library. If you
have installed a different STL library, temporarily revert to the
Microsoft include paths to make use of the Microsoft STL version.
Compiling under Visual Studio.NET may generate a number of warnings. You
can safely ignore these warnings.
Compile errors mentioning "___security_cookie" may be related to the /GS
switch in the Visual Studio.NET 2005 compiler family. To sucessfully
compile you should disable the "Buffer Security Check" setting.
The realtime C++ lexer, "cpp.l", needs a lex/yacc utility to compile. It
is currently compiled with "flex" but other lex-tools may work. A
pre-compiled version is included in the source bundle.
Bjarke Viksøe (bviksoe@users.sourceforge.net)
http://bvrde.sourceforge.net