Page 1 of 1

Using hbmk2 to build mod_harbour !!!

Posted: Sat Oct 19, 2019 7:49 am
by Antonio Linares
modharbour.hbp

Code: Select all

-hbdynvm
-olibharbour
-L..\..\lib\win\msvc64
-l-hbfship
-l-hbxpp
apache.prg
hbcurl.hbc
hbwin.hbc
hbhpdf.hbc
xhb.hbc
hbct.hbc
run it this way:
go64.bat

Code: Select all

call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
c:\harbour\bin\win\msvc64\hbmk2 modharbour.hbp -comp=msvc64 -trace
Harbour should have been built this way:
go64.bat

Code: Select all

call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
set HB_BUILD_MODE=c
set HB_USER_PRGFLAGS=-l-
set HB_BUILD_CONTRIBS=yes
set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include
set HB_WITH_CURL=c:\curl\include
del .\src\common\obj\win\msvc64\hbver.obj
del .\src\common\obj\win\msvc64\hbver_dyn.obj
del .\src\common\obj\win\msvc\hbverdsp.obj
win-make.exe

Re: Using hbmk2 to build mod_harbour !!!

Posted: Sat Oct 19, 2019 1:36 pm
by Antonio Linares