HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: How to modify and build HTTrack for Windows
Author: Tim
Date: 03/27/2020 17:59
 
You can do it on the new community editions of VS, I used 2017.

Create an empty solution and start from there, you need to recreate the
libhttrack project first, so use the available source files from the
downloadable zip.

Recreate that project and follow the paths referenced in the original vcproj
file so that the directory structure are set up accordingly.  You'll need to
make sure you get hold of the source for all of the referenced files, there
are a couple of of them that aren't necessarily obvious including minizip and
mmsrip which you'll probably need to google to track down.

Put them in the file system first in the locations from the vcproj file before
including them in your project.

You also need to install the following npm packages via the package manager
wizard:

openssl-vc140-vc141-x86_64.1.1.5
zlib.Static.Uwp.1.2.3.1

Although make sure everything you do is targeted at the correct architecture,
x64 is a safe assumption.

The libhttrack project goes in its own subdir as does the project for the exe,
most of the source files go in the solution root, including coucal.c and
coucal.h.

You need to get the lib project building first, which requires some changes to
the project configuration for each build config (debug/release/etc) and
altering some of the filesystem function calls to non-POSIX specific
counterparts.  After that the exe is pretty easy - unlike understanding how
the damn thing actually operates.

Hope that helps!
 
Reply Create subthread


All articles

Subject Author Date
How to modify and build HTTrack for Windows

03/22/2020 10:13
Re: How to modify and build HTTrack for Windows

03/22/2020 11:47
Re: How to modify and build HTTrack for Windows

03/27/2020 17:59




4

Created with FORUM 2.0.11