Dear friends, I'm trying to compile Harbour from source code. All is working but some of the include files and libraries are missing (as an example, hbarc4.h). Do you know what could be the cause?
Dear friends, I'm trying to compile Harbour from source code. All is working but some of the include files and libraries are missing (as an example, hbarc4.h). Do you know what could be the cause?
Dear Enrico,
hbarc4.h is at c:\harbour\include\ so it seems as your include path it is not pointing to harbour/include
Dear Antonio,
I'm compiling Harbour from source code. So win-make should take care of copying all the Harbour's include directory to the HB_INSTALL_PREFIX directory. It does except some files. Anyway, Harbour is working fine at the end. I only wonder why some files are missing.
Dear Enrico,
oHrb = hb_compileFromBuf( cCode, .T., "-n", "-q2", "-I c:\harbour\include" )
I don't understand.
Dear Enrico,
> I'm trying to compile Harbour from source code
How are you doing it ?
Usually to compile Harbour code at runtime we use hb_compileFromBuf()
@ ECHO OFF
SET MSC=e:\msc32\msc
SET PATH=%MSC%\bin
SET HB_INSTALL_PREFIX=e:\fw\temp\harbour\harbour
SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
SET LIB=%MSC%\lib;%MSC%\lib\sdk
SET HB_USER_CFLAGS=-MD -O1
win-make clean install
PAUSEDear Antonio,
you are missing the point. I wanted Harbour from the latest source code in the git repository. Anyway, never mind. I'm happy with the result.