FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xmate project manager with fwh 2512 error finding
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
xmate project manager with fwh 2512 error finding
Posted: Fri Mar 06, 2026 03:51 PM

To any developer that uses the xMate project manager ..

I just upgraded to fwh2512 and below is my environmental file from an old version of FWH ( which worked ) which I have updated for the LIB FWH ( see below environment file ... and when I compile a simple one file .prg .. I get the error :

main.prg(3) Error F0029 Can't open #include file: 'FIVEWIN.CH'

Why can I not compile this simple program ????????????????

Rick Lipkin

//---------------------------------------

#INCLUDE "FIVEWIN.CH" <----- here line 3

//---------------------- FUNC MAIN()

Local xLogin,nLen

SET DELETED on SET CENTURY on SET 3DLOOK on

xLogin := space(15)

xLOGIN := UPPER( WNetGetuser())+space(15) // fivewin xLOGIN := alltrim(xLOGIN)

nLen := len( xLogin )

Msginfo( "Login = "+xLogin ) //+" Length "+str(nLen ))

// end main.prg

Here is my environment file ..

[Environment] Description 1=For Borland 770 Description 2= Description 3= PRG Compiler ver=xHarbour C compiler ver=Bcc770 Subsystem=FWH2512 Author=Richard Lipkin Last update=03/06/2026

[Advanced] Command types=1,1,1,1,1,1,1,1,1

[Harbour] HB_INSTALL=C:\XHARBOUR HB_COMMAND=%HB_BIN_INSTALL%\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INC_INSTALL% Option prefix=/

[C] C_INSTALL=C:\Borland\bcc770 C_COMP_COMMAND=%C_BIN_INSTALL%\Bcc32.Exe -M -c %CRLF%-DHB_OS_WIN_32 %CRLF%-DHB_FM_STATISTICS_OFF %CRLF%-DHB_NO_DEFAULT_API_MACROS %CRLF%-DHB_NO_DEFAULT_STACK_MACROS %CRLF%-I%C_INC_INSTALL%\windows\sdk\;%HB_INC_INSTALL% -n%HOME%\Obj %C%%CRLF%%CRLF%%CRLF% C_LIB_COMMAND=%C_BIN_INSTALL%\TLib.Exe %LIB% /P512 @%RSP% , %LST% C_LINK_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpe -s -v @%LNK% C_RC_COMMAND= C_DLL_COMMAND=%C_BIN_INSTALL%\iLink32.Exe -Gn -aa -Tpd -M -L%C_LIB_INSTALL% @%LNK% Option prefix=-

[User] POSTEXE_COMMAND= POSTLIB_COMMAND= POSTDLL_COMMAND=

[Files] %C_LIB_INSTALL%\c0w32.obj=1 C:\fwh2512\LIB\Fivehx.lib=2 C:\fwh2512\LIB\Fivehc.lib=3 %HB_LIB_INSTALL%\rtl.lib=4 %HB_LIB_INSTALL%\vm.lib=5 %HB_LIB_INSTALL%\gtgui.lib=6 %HB_LIB_INSTALL%\lang.lib=7 %HB_LIB_INSTALL%\macro.lib=8 %HB_LIB_INSTALL%\rdd.lib=9 %HB_LIB_INSTALL%\dbfntx.lib=10 %HB_LIB_INSTALL%\dbfcdx.lib=11 %HB_LIB_INSTALL%\dbffpt.lib=12 %HB_LIB_INSTALL%\hbsix.lib=13 %HB_LIB_INSTALL%\debug.lib=14 %HB_LIB_INSTALL%\common.lib=15 %HB_LIB_INSTALL%\pp.lib=16 %HB_LIB_INSTALL%\pcrepos.lib=17 %HB_LIB_INSTALL%\ct.lib=18 %HB_LIB_INSTALL%\zlib.lib=19 %HB_LIB_INSTALL%\hbzip.lib=20 %HB_LIB_INSTALL%\libmisc.lib=21 %HB_LIB_INSTALL%\tip.lib=22 %HB_LIB_INSTALL%\png.lib=23 %C_LIB_INSTALL%\cw32.lib=24 %C_LIB_INSTALL%\IMPORT32.LIB=25 %C_LIB_INSTALL%\PSDK\uuid.lib=26 %C_LIB_INSTALL%\PSDK\ws2_32.lib=27 %C_LIB_INSTALL%\PSDK\odbc32.lib=28 %C_LIB_INSTALL%\PSDK\rassapi.lib=29 %C_LIB_INSTALL%\PSDK\nddeapi.lib=30 %C_LIB_INSTALL%\PSDK\msimg32.lib=31 %C_LIB_INSTALL%\PSDK\psapi.lib=32 %C_LIB_INSTALL%\PSDK\uxtheme.lib=33 %C_LIB_INSTALL%\PSDK\GdiPlus.lib=34 %C_LIB_INSTALL%\PSDK\iphlpapi.lib=35 %C_LIB_INSTALL%\PSDK\shell32.lib=36

[DLL Files] %C_LIB_INSTALL%\import32.lib=1 %HB_LIB_INSTALL%\harbour.lib=2 %C_LIB_INSTALL%\c0w32w.obj=3 %C_LIB_INSTALL%\cw32.lib=4

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xmate project manager with fwh 2512 error finding
Posted: Fri Mar 06, 2026 05:12 PM

Dear Rick,

HB_BIN_INSTALL seems not to be defined so these two lines should be like this:

HB_INSTALL=C:\XHARBOUR
HB_COMMAND=%HB_INSTALL%\bin\Harbour.Exe %PRG% /m /n /gc0 /w0 /es2 /a /i%HB_INSTALL%\include

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion