Borland make sample doesn't work
Borland make sample doesn't work
Tried using bormake.zip rmk file it doesn't work
Message i get: .PRG: not recognized etc. etc.
If I comment it out ,PRG: I get "can't find alert.exe."
Please let me know whats happening.
Using files one.prg, alert.prg.
code:
#Borland make sample, (c) FiveTech Software 2005
HBDIR=F:\harbour
BCDIR=c:\Borland\bcc55
FWDIR=F:\fwh
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
alert.PRG \
one.PRG
# C = \
# two.C
PROJECT : Alert.exe
Alert.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) Alert.res
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\alert.obj obj\one.obj, + >> b32.bc
echo alert.exe, + >> b32.bc
echo alert.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
#rem Uncomment these two lines to use Advantage RDD
#rem echo $(HBDIR)\lib\b32\rddads.lib + >> b32.bc
#rem echo $(HBDIR)\lib\b32\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST Alert.res echo Alert.res >> b32.bc
ECHO $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
#$(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
Alert.res : Alert.rc
$(BCDIR)\bin\brc32.exe -r Alert.rc
end code.
Message i get: .PRG: not recognized etc. etc.
If I comment it out ,PRG: I get "can't find alert.exe."
Please let me know whats happening.
Using files one.prg, alert.prg.
code:
#Borland make sample, (c) FiveTech Software 2005
HBDIR=F:\harbour
BCDIR=c:\Borland\bcc55
FWDIR=F:\fwh
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
#important: Use Uppercase for filenames extensions, in the next two rules!
PRG = \
alert.PRG \
one.PRG
# C = \
# two.C
PROJECT : Alert.exe
Alert.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) Alert.res
echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo obj\alert.obj obj\one.obj, + >> b32.bc
echo alert.exe, + >> b32.bc
echo alert.map, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\hbrtl.lib + >> b32.bc
echo $(HBDIR)\lib\hbvm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\hblang.lib + >> b32.bc
echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
echo $(HBDIR)\lib\hbrdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
echo $(HBDIR)\lib\hbcommon.lib + >> b32.bc
echo $(HBDIR)\lib\hbpp.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
#rem Uncomment these two lines to use Advantage RDD
#rem echo $(HBDIR)\lib\b32\rddads.lib + >> b32.bc
#rem echo $(HBDIR)\lib\b32\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST Alert.res echo Alert.res >> b32.bc
ECHO $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
#$(HBDIR)\bin\b32\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
Alert.res : Alert.rc
$(BCDIR)\bin\brc32.exe -r Alert.rc
end code.
Thank you
Harvey
Harvey
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Sample Script for xHARBOUR
Hello Harvey,
my sample script in a toppic before works for xHarbour.
I use and modify it for new applications.
I think, you didn't try it ?
Once again with your changes :
Best Regards
Uwe![Laughing :lol:](./images/smilies/icon_lol.gif)
my sample script in a toppic before works for xHarbour.
I use and modify it for new applications.
I think, you didn't try it ?
Once again with your changes :
Code: Select all | Expand
1. create a batchfile : GO.bat
----------------------------------
IF not exist obj md obj
c:\borland\bcc55\bin\make -f PROGFILE.rmk
2. create a file PROGFILE.rmk
----------------------------------
#Borland make sample, (c) FiveTech Software 2005
# your BORLAND, HARBOUR and FWH directorys
--------------------------------------------------------
HBDIR=F:\harbour
BCDIR=c:\Borland\bcc55
FWDIR=F:\fwh
.path.OBJ = .\obj
.path.PRG = .\
.path.CH = $(FWDIR)\include;$(HBDIR)\include
.path.C = .\
.path.rc = .\
# the list of the PRG-files ( PRG has to be uppercase )
//
------------------------------------------------------------
PRG = \
Alert.PRG \
One.PRG
// the same with c-files if needed
// -----------------------------------
# C = \
# two.C
PROJECT : ALERT.exe
// the resource-file
// -------------------
ALERT.exe : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) ALERT.res
echo off
echo $(BCDIR)\bin\c0w32.obj + > b32.bc
# OBJ-Liste
# -------------
echo obj\Alert.obj \
obj\One.obj, + >> b32.bc
echo ALERT.exe, + >> b32.bc
echo ALERT.map, + >> b32.bc
# Fivewin Lib`s für xHARBOUR
# --------------------------------------
echo $(FWDIR)\lib\Fivehx.lib $(FWDIR)\lib\FiveHC.lib +
>> b32.bc
# xHARBOUR-Lib`s
# -----------------------
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc
echo $(HBDIR)\lib\pcrepos.lib + >> b32.bc
# Uncomment these two lines to use Advantage RDD
# echo $(HBDIR)\lib\rddads.lib + >> b32.bc
# echo $(HBDIR)\lib\Ace32.lib + >> b32.bc
echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\msimg32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST ALERT.res echo ALERT.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
# $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc
.PRG.OBJ:
$(HBDIR)\bin\harbour $< /N /W /Oobj\
/I$(FWDIR)\include;$(HBDIR)\include > clip.log
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$&
obj\$&.c
.C.OBJ:
echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp
ALERT.res : ALERT.rc
$(BCDIR)\bin\brc32.exe -r ALERT.rc
Best Regards
Uwe
![Laughing :lol:](./images/smilies/icon_lol.gif)
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
Reinstalled Harbour. Doesn't come with the dbfntx,dbcfcdx,dbfftp.
I copied them in from my clipper lib's. Is this OK?
Or do I need newer files?
I notive xhourbor come with the files.
Am I missing something?
Antonio and Uwe my code is for Harbour. Exactly as the code sent converted to harbour.
Strange error message when compling
unresolved external "AlphaBlend" refrenced from f:fwh\lib\fivehc.lib|brushes
I copied them in from my clipper lib's. Is this OK?
Or do I need newer files?
I notive xhourbor come with the files.
Am I missing something?
Antonio and Uwe my code is for Harbour. Exactly as the code sent converted to harbour.
Strange error message when compling
unresolved external "AlphaBlend" refrenced from f:fwh\lib\fivehc.lib|brushes
Thank you
Harvey
Harvey
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Harvey,
> Reinstalled Harbour. Doesn't come with the dbfntx,dbcfcdx,dbfftp.
Libraries names have been changed. Names are in the make file or in samples\buildh.bat. Look for hb...lib and rdd...lib
> I copied them in from my clipper lib's. Is this OK?
No! Never!
You can't mix 16 and 32 bits libraries.
> Or do I need newer files?
Use the ones provided in our Harbour.exe setup \lib folder.
>
Strange error message when compling
unresolved external "AlphaBlend" refrenced from f:fwh\lib\fivehc.lib|brushes
>
You have to link Borland msimg32.lib too
> Reinstalled Harbour. Doesn't come with the dbfntx,dbcfcdx,dbfftp.
Libraries names have been changed. Names are in the make file or in samples\buildh.bat. Look for hb...lib and rdd...lib
> I copied them in from my clipper lib's. Is this OK?
No! Never!
![Smile :-)](./images/smilies/icon_smile.gif)
> Or do I need newer files?
Use the ones provided in our Harbour.exe setup \lib folder.
>
Strange error message when compling
unresolved external "AlphaBlend" refrenced from f:fwh\lib\fivehc.lib|brushes
>
You have to link Borland msimg32.lib too
I'm getting frustrated using the .rmk file.
The program stops at .PRG.OBJ:
If I comment out #PRG.OBJ:
I get the error message below.
I'm compiling alert.prg and one.prg fropm the samples. Nothing in the prgs looks out of order.
Please HELP.
ERROR MESSAGE:
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x02'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x04'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x0f'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0030 Syntax error: "syntax error at ''"
The program stops at .PRG.OBJ:
If I comment out #PRG.OBJ:
I get the error message below.
I'm compiling alert.prg and one.prg fropm the samples. Nothing in the prgs looks out of order.
Please HELP.
![Sad :(](./images/smilies/icon_sad.gif)
ERROR MESSAGE:
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x02'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x04'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x0f'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0001 Illegal character: '\x00'
Alert.exe(1) Error E0030 Syntax error: "syntax error at ''"
Thank you
Harvey
Harvey
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Antonio:
Got the files and working great on alert....
Tried linking my own file which includes a xbrowse.ch was working fine with buildh.bat.
With the bormake i get an error message missing function "toleauto". According to the 'Whats new" file it is a required lib. and needs to be linked. It said was included in buildh. Can't find the library.
Need the library or some kind of fix.
Thanks for you quick help in these matters.
Got the files and working great on alert....
Tried linking my own file which includes a xbrowse.ch was working fine with buildh.bat.
With the bormake i get an error message missing function "toleauto". According to the 'Whats new" file it is a required lib. and needs to be linked. It said was included in buildh. Can't find the library.
Need the library or some kind of fix.
Thanks for you quick help in these matters.
Thank you
Harvey
Harvey
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact: