Viktor -help works fine now, tks!
I did some testing with fwh.hbp that came with the hbmk2 and I was to
change some parameters to compile and link successfully. I am sending
you attached, I hope you can help others who use the FW to compile
easily with hbmk2:
#
# $Id: fwh.hbp
#
gui=yes
{win}libs=fiveh fivehc
{win}libs=hbwin.lib cw32.lib uuid.lib odbc32.lib nddeapi.lib
iphlpapi.lib msimg32.lib rasapi32.lib
this file above works fine. However I tried to use the macros to
reduce the command line typed and not succeed, if you can give me a
suggestion where I am missing I thanks:
C>echo %fwdir% %bcdir%
f:\FW\FWH_9.04 c:\BCC55
C>hbmk2 -trace -info testget
hbmk: Using Harbour: C:\hbbcc\bin C:\hbbcc\include C:\hbbcc\lib C:\hbbcc\lib
hbmk: Processing configuration: c:\hbbcc\bin\hbmk.cfg
hbmk: Processing: fwh.hbp
hbmk: Harbour compiler command (internal):
C:\hbbcc\bin\harbour.exe -n2 testget -iC:\hbbcc\include
Harbour 1.1.0dev (Rev. 10894)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'testget.prg'...
testget.prg(3) Error F0029 Can't open #include file 'FiveWin.ch'
1 error
No code generated
hbmk: Error: Running Harbour compiler. 1
-n2 testget -iC:\hbbcc\include
C>hbmk2 -trace -info testget -if:\fw\fwh_9.04\include
hbmk: Using Harbour: C:\hbbcc\bin C:\hbbcc\include C:\hbbcc\lib C:\hbbcc\lib
hbmk: Processing configuration: c:\hbbcc\bin\hbmk.cfg
hbmk: Processing: fwh.hbp
hbmk: Harbour compiler command (internal):
C:\hbbcc\bin\harbour.exe -n2 testget -iC:\hbbcc\include -if:\fw\fwh_9.04\include
Harbour 1.1.0dev (Rev. 10894)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'testget.prg'...
Lines 3642, Functions/Procedures 2
Generating C source output to 'testget.c'... Done.
hbmk: C compiler command:
bcc32.exe -c -q -tWM -d -6 -O2 -OS -Ov -Oi -Oc -tW -IC:\hbbcc\include testget.c
testget.c:
hbmk: Linker command:
ilink32.exe @C:\Users\VAILTO~1\AppData\Local\Temp\29k0tx.lnk
hbmk: Linker script:
-Gn -Tpe -L"C:\hbbcc\lib;f:\FW\FWH_9.04\lib;$(BCDIR}\lib\PSDK" -aa
c0w32.obj testget.obj, testget.exe, nul, fiveh.lib fivehc.lib hb
win.lib cw32.lib uuid.lib odbc32.lib nddeapi.lib iphlpapi.lib
msimg32.lib rasapi32.lib hbcpage.lib hblang.lib hbcommon.lib hbcplr.li
b hbdebug.lib hbvm.lib hbrdd.lib hbusrrdd.lib hbuddall.lib hbhsx.lib
hbsix.lib rddntx.lib rddnsx.lib rddcdx.lib rddfpt.lib hbrtl.lib
hbpp.lib hbmacro.lib hbextern.lib gtcgi.lib gtpca.lib gtstd.lib
gtwin.lib gtwvt.lib gtgui.lib hbpcre.lib hbzlib.lib import32.lib cw
32mt.lib,,
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'ODBC32.LIB'
hbmk: Error: Running linker. 2:
ilink32.exe @C:\Users\VAILTO~1\AppData\Local\Temp\29k0tx.lnk
C>
The. HBM who unsuccessfully tried to use was:
#
# $Id: fwh.hbp
#
gui=yes
{win}libpaths=${FWDIR}\lib $(BCDIR}\lib\PSDK
{win}inctrypaths=${FWDIR}\include
{win}libs=fiveh fivehc
{win}libs=hbwin.lib cw32.lib uuid.lib odbc32.lib nddeapi.lib
iphlpapi.lib msimg32.lib rasapi32.lib
Best regards,
Vailton Renato
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour