| Home | Articles & FAQs | Bugs & Features | Documentation | Download | Forums | Login | |||
HTMLDOC 1.8.27 Software Users Manual[ Comments | Contents | Previous | Next ] Compiling on Windows Using Visual C++A Visual C++ 6.0 workspace file and associated project files are included in the source distribution under the "visualc" directory. Open the workspace file "htmldoc.dsw", adjust the FLTK include and project file locations, and then build the HTMLDOC target.
[ Comments | Contents | Previous | Next ] User Comments [ Add Comment ]From psf, 06:00 May 28, 2008 (score=3)For compile htmldoc-1.9.x-r1555 in NET 2005 Do TonyG intructions and before compile do the following changes: In file config.h Line 58: #define HTML_DATA "C:/Program Files/Easy Software Products/HTMLDOC" Replace for: #define HTMLDOC_DATA "C:/Program Files/Easy Software Products/HTMLDOC" In file htmllib.cxx Line 2118: if ((slash = strrchr(base, '/')) != NULL) Replace for: if ((slash = (char *)strrchr(base, '/')) != NULL) Line 2120 else if ((slash = strrchr(base, '\\')) != NULL) Replace for: else if ((slash = (char *)strrchr(base, '\\')) != NULL) Bye, Pedro Antonio Pelaez From argggh, 09:33 Feb 05, 2007 (score=3)If you wish to compile and use just the command line version of HTMLDoc, you can skip downloading FLTK and OpenSSL. You'll need to make a few changes. First, you wanna say you don't need SSL. In config.h, comment out the lines #define HAVE_LIBSSL #define HAVE_SSL Then, you wanna remove libeay32.lib and ssleay32.lib from the list of dependencies. In the vc project, open the htmldoc properties, goto Linker->Input and remove these from "Additional Dependencies". Oh, and you may or may not need to define the following depending on the errno.h file you're using. #define ETIMEDOUT 145
From TonyG, 23:57 May 03, 2006 (score=3)Warning, these notes are written by a guy who's never done much more than than Hello World with C/C++. Using Visual Studio 2005 C++ (Unmanaged) The build notes say htmldoc source files are in 'visualc', but they're in 'vcnet'. Before you attempt to build HTMLDOC you'll need to do a couple other things. You may get errors about OpenSSL or FLTK header files not being found. Get the source for both packages. In the OpenSSL source you will find a folder called 'openssl'. Move this under your vcnet folder. You don't need the OpenSSL source anymore. From FLTK, copy (don't move) the 'FL' folder under vcnet. The files libeay32.lib and ssleay32.lib are required. You don't need to build from the OpenSSL source. Install the Win32 OpenSSL executable, then copy the files from \OpenSSL\lib\VC to your vcnet directory. You'll need to build FLTK to get a lib file. This is easy. Right click the folder that contains the FLTK source, unset the read-only flag, then save this setting for all sub-folders. If this isn't done the build won't be able to write/delete files. Do the same for your htmldoc source since you're at it. Now, just open the fltk.sln file under vc2005 and Build. When FLTK is built, go to the fltk-1.x.x\lib folder and copy all of the .lib files to your htmldoc vcnet folder. (I know, sloppy, but I don't know how to set references. *snicker* ) Now open the vcnet\htmldoc.sln and let VS update the code. You can ignore all errors and warnings. If you build now, errors will be generated from http-addr.c. These are due to the following line in http.h: Fix that line by replacing it with this: If you build now, be prepared for over 1000 warnings. Then Htmldoc will fail to build because it is missing 'libfltkimages.lib' and 'libfltk.lib'. I believe these are errors in FLTK itself because these files don't exist. To skip this error, copy fltk-1.x.x\lib\fltkimages.lib to libfltkimages.lib in the vcnet folder and copy fltk.lib to libfltk.lib. The build should be successful, resulting in a ghtmldocd.exe for GUI and htmldocd.exe for command-line processing. Dang, that was fun! Unfortunately I have no idea if the code will actually work but that can be discussed elsewhere. From ggpauly, 06:21 Apr 17, 2006 (score=3)There doesn't seem to be a visualc directory, and the htmldoc.sln file in the vcnet directory gives the error "The selected file is not a valid Visual Studio solution file". Is there still support for Windows compilation? If not, what was the last version with this support? From ggpauly, 06:20 Apr 17, 2006 (score=3)There doesn't seem to be a visualc directory, and the htmldoc.sln file in the vcnet directory gives the error "The selected file is not a valid Visual Studio solution file". Is there still support for Windows compilation? If not, what was the last version with this support? From ggpauly, 06:20 Apr 17, 2006 (score=3)There doesn't seem to be a visualc directory, and the htmldoc.sln file in the vcnet directory gives the error "The selected file is not a valid Visual Studio solution file". Is there still support for Windows compilation? If not, what was the last version with this support? | |||||||||
| Copyright 1997-2009 Easy Software Products. All rights reserved. HTMLDOC and <HTML>DOC are trademarks of Easy Software Products. | |||||||||