Skip to content

How_to_build_Harbour_to_build_mod_harbour_yourself

FiveTech Software edited this page Feb 21, 2020 · 7 revisions
  1. Download Harbour from its official repo:
git clone https://github.com/harbour/core harbour
cd harbour
  1. For Windows: gomsvc64.bat
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=
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
  1. For Linux
sudo apt-get update
sudo apt-get install openssl
sudo apt-get install curl
export HB_WITH_CURL=/usr/include/x86_64-linux-gnu/curl
export HB_BUILD_CONTRIB=""

make
  1. For Apple OSX: