| Hi all,
I have been following the instructions of this post :
<http://forum.httrack.com/readmsg/16052/16039/index.html?q=compile>
But lot of issues remain in order to compile the program correctly.
I have theses errors :
InfoUrl.cpp
c:\program files\microsoft visual studio\vc98\include\wchar.h(700) : error
C2733: second C linkage of overloaded function 'wmemchr' not allowed
c:\program files\microsoft visual studio\vc98\include\wchar.h(699) :
see declaration of 'wmemchr'
c:\program files\microsoft visual studio\vc98\include\wchar.h(702) : error
C2733: second C linkage of overloaded function 'wcschr' not allowed
c:\program files\microsoft visual studio\vc98\include\wchar.h(701) :
see declaration of 'wcschr'
c:\program files\microsoft visual studio\vc98\include\wchar.h(704) : error
C2733: second C linkage of overloaded function 'wcspbrk' not allowed
c:\program files\microsoft visual studio\vc98\include\wchar.h(703) :
see declaration of 'wcspbrk'
c:\program files\microsoft visual studio\vc98\include\wchar.h(706) : error
C2733: second C linkage of overloaded function 'wcsrchr' not allowed
c:\program files\microsoft visual studio\vc98\include\wchar.h(705) :
see declaration of 'wcsrchr'
c:\program files\microsoft visual studio\vc98\include\wchar.h(708) : error
C2733: second C linkage of overloaded function 'wcsstr' not allowed
c:\program files\microsoft visual studio\vc98\include\wchar.h(707) :
see declaration of 'wcsstr'
Then I got this :
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(929) : error C2143:
syntax error : missing ')' before 'string'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(929) : error C2059:
syntax error : ')'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(934) : error C2143:
syntax error : missing ')' before 'string'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(934) : error C2059:
syntax error : ')'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(950) : error C2660:
'httrackengine_loop' : function does not take 9 parameters
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(954) : error C2143:
syntax error : missing ')' before 'string'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(954) : error C2059:
syntax error : ')'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1010) : error C2143:
syntax error : missing ')' before 'string'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1010) : error C2059:
syntax error : ')'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1052) : error C2143:
syntax error : missing ')' before 'string'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1052) : error C2059:
syntax error : ')'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1063) : error C2143:
syntax error : missing ')' before 'string'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1063) : error C2059:
syntax error : ')'
c:\program files\winhttrack\src_win\winhttrack\shell.cpp(1067) : error C2143:
syntax error : missing ')' before 'string'
Finally i have this :
inHTTrack.cpp
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(362) : error
C2079: 'hints' uses undefined struct 'addrinfo'
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(364) : error
C2228: left of '.ai_family' must have class/struct/union type
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(365) : error
C2228: left of '.ai_socktype' must have class/struct/union type
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(366) : error
C2228: left of '.ai_protocol' must have class/struct/union type
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(367) : error
C2065: 'getaddrinfo' : undeclared identifier
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(368) : error
C2027: use of undefined type 'addrinfo'
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(361) :
see declaration of 'addrinfo'
c:\program files\winhttrack\src_win\winhttrack\winhttrack.cpp(368) : error
C2227: left of '->ai_addr' must point to class/struct/union
Thanks, | |