how to Setup FWH Environment

how to Setup FWH Environment

Postby Jimmy » Mon Sep 09, 2024 10:58 am

hi,

Still have Problem using right Environment for FWH.
i use these Setting, are they right :?:

build.BAT for 32 Bit BCC
Code: Select all  Expand view  RUN
BCDIR=c:\bcc770
FWDIR=C:\FWH
HBDIR=C:\HARBOUR
hdir=C:\HARBOUR
hdirl=C:\HARBOUR\lib\win\bcc


build64.BAT for 64 Bit BCC
Code: Select all  Expand view  RUN
BCDIR=c:\bcc7764
FWDIR=C:\FWH64
HBDIR=C:\HARBOUR64
hdir=C:\HARBOUR64
hdirl=C:\HARBOUR64\lib\win\bcc


Go64.BAT for 64 BIT MSVC
Code: Select all  Expand view  RUN
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
c:\harbour64\bin\win\msvc64\hbmk2 MYPROJECT.HBP -comp=msvc64


MYPROJECT.HBP for 64 BIT MSVC
Code: Select all  Expand view  RUN
-gui
-Ic:\fwh64\include
FWEJECT.PRG
HB_FUNC.PRG
-Lc:\fwh64\lib
-lFiveH64
-lFiveHC64
-lgdiplus
-lole32
-lOleDlg
-lversion
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbfoxpro.hbc
-ldflag=/NODEFAULTLIB:msvcrt
FWEJECT.rc


BUIlD64.BAT for FWEJECT.MAK
Code: Select all  Expand view  RUN
if not exist obj md obj
c:\bcc7764\bin\make -fFWEJECT.MAK
FWEJECT.EXE


MYPROJECT.MAK for 64 BIt BCC
Code: Select all  Expand view  RUN
HBDIR=c:\harbour64
BCDIR=c:\BCC7764
FWDIR=c:\fwh64

#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\

PRG = \
FWEJECT.PRG \
HB_FUNC.PRG

PROJECT    : FWEJECT.exe

FWEJECT.exe  : $(PRG:.PRG=.OBJ) FWEJECT.res
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: how to Setup FWH Environment

Postby Antonio Linares » Mon Sep 09, 2024 11:35 am

Dear Jimmy,

Today we will review it in the webinar :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 63 guests