Hello Harbour Users,
1) I downloaded the latest source of Harbour and build it using MSVC
2017.
2) For the most part, the build process was good. However in
contrib/hbssl there is these errors: (shown in red below)
...
X:\software\harbour202603\bin\win\msvc\hbmk2 -quiet -width=0
-autohbm- @hbpre -inc ../contrib/hbssl/hbssl.hbp @hbpost
hbmk2: Target up to date: ..\lib\win\msvc\hbssls.lib
Creating library ..\lib\win\msvc\libeay32.lib and object
..\lib\win\msvc\libeay32.exp
hbmk2: Created import library: ..\lib\win\msvc\libeay32.lib <=
X:\Software\OpenSSL\libeay32.dll
Creating library ..\lib\win\msvc\ssleay32.lib and object
..\lib\win\msvc\ssleay32.exp
hbmk2: Created import library: ..\lib\win\msvc\ssleay32.lib <=
X:\Software\OpenSSL\ssleay32.dll
hbmk2: Target up to date: ..\lib\win\msvc\hbssl.lib
X:\software\harbour202603\bin\win\msvc\hbmk2 -quiet -width=0
-autohbm- @hbpre -inc -hbdyn ../contrib/hbssl/hbssl.hbp @hbpost
../contrib/hbssl/hbssl.hbc
LINK : fatal error LNK1181: cannot open input file 'libssl.lib'
hbmk2[hbssl]: Error: Running dynamic lib link command. 1181
hbmk2[hbssl]: Exit status: 7: failed in final assembly (linker or
library manager)
3) Attempting to solve the error by downloading OpenSSL ver
3_6_1.
Some more *.lib created, but the error persists:
...
X:\software\harbour202603\bin\win\msvc\hbmk2 -quiet -width=0
-autohbm- @hbpre -inc ../contrib/hbssl/hbssl.hbp @hbpost
hbmk2: Target up to date: ..\lib\win\msvc\hbssls.lib
Creating library ..\lib\win\msvc\libcrypto-3.lib and object
..\lib\win\msvc\libcrypto-3.exp
hbmk2: Created import library: ..\lib\win\msvc\libcrypto-3.lib <=
X:\Software\OpenSSL_3_6_1\bin\libcrypto-3.dll
Creating library ..\lib\win\msvc\libssl-3.lib and object
..\lib\win\msvc\libssl-3.exp
hbmk2: Created import library: ..\lib\win\msvc\libssl-3.lib <=
X:\Software\OpenSSL_3_6_1\bin\libssl-3.dll
hbmk2: Target up to date: ..\lib\win\msvc\hbssl.lib
X:\software\harbour202603\bin\win\msvc\hbmk2
-quiet -width=0 -autohbm- @hbpre -inc -hbdyn
../contrib/hbssl/hbssl.hbp @hbpost ../contrib/hbssl/hbssl.hbc
LINK : fatal error LNK1181: cannot open input file 'libssl.lib'
hbmk2[hbssl]: Error: Running dynamic lib link command. 1181
hbmk2[hbssl]: Exit status: 7: failed in final assembly (linker or
library manager)
Please advise how to solve this problem.
(I tried to search this group, but failed to find one.)
regards,
budyanto