erreur en linking mon application

erreur en linking mon application

Postby richard wilson » Tue Apr 17, 2012 5:18 pm

fatal unable ton open tgetlog.obj mes opj sont crees ds u:\wlogih\obj

voici mon fichier mak

#WMENU Borland make, (c) FiveTech Software 2005-2011

HBDIR=U:\harbour
BCDIR=U:\bcc582
FWDIR=U:\fwh
WLDIR=U:\WLOGIH

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

#important: Use Uppercase for filenames extensions!

PRGS = \
$(WLDIR)\source\TGETLOG.PRG \
$(WLDIR)\source\WMENU.PRG \
$(WLDIR)\source\WCOMM.PRG \
$(WLDIR)\source\WLOBJ001.PRG \
$(WLDIR)\source\WLOBJ002.PRG \
$(WLDIR)\source\WLOBJ003.PRG \
$(WLDIR)\source\WLOBJ004.PRG \
$(WLDIR)\source\WLINDEX.PRG \
$(WLDIR)\source\OUFEDBF.PRG \
$(WLDIR)\source\WLEXIT00.PRG \
$(WLDIR)\source\RPBUTI00.PRG \
$(WLDIR)\source\RPBUTI01.PRG \
$(WLDIR)\source\SALUTI00.PRG \
$(WLDIR)\source\ETAFIN00.PRG \
$(WLDIR)\source\ICF000.PRG \
$(WLDIR)\source\ICF001.PRG \
$(WLDIR)\source\ICF002.PRG \
$(WLDIR)\source\LIVUTI00.PRG \
$(WLDIR)\source\LREPORT.PRG \
$(WLDIR)\source\LDREPORT.PRG \
$(WLDIR)\source\PRINTER.PRG \
$(WLDIR)\source\LAMD000.PRG \
$(WLDIR)\source\LOPT000.PRG \
$(WLDIR)\source\LVAR000.PRG \
$(WLDIR)\source\LMOD000.PRG \
$(WLDIR)\source\LACC000.PRG \
$(WLDIR)\source\LANN000.PRG \
$(WLDIR)\source\LUTI000.PRG \
$(WLDIR)\source\LARC000.PRG \
$(WLDIR)\source\LGET000.PRG \
$(WLDIR)\source\LGET001.PRG \
$(WLDIR)\source\LPRN000.PRG \
$(WLDIR)\source\MAIL000.PRG

OBJ = $(PRGS:.PRG=.OBJ)
OBJS = $(OBJ:.\=.\obj\)

PROJECT : WMENU.EXE

#WMENU.EXE : $(OBJS) WMENU.RES ..\lib\FiveH.lib ..\lib\FiveHC.lib
WMENU.EXE : $(OBJS) $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib

echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo $(OBJS), + >> b32.bc
echo WMENU.exe, + >> b32.bc
echo WMENU.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\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\rddfpt.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\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\png.lib + >> b32.bc
echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
echo $(HBDIR)\lib\xhb.lib + >> b32.bc
echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem 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\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc

# IF EXIST WMENU.res echo WMENU.res >> 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 > COMP.LOG
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

.C.OBJ:
echo -c -tWM -D__HARBOUR__ > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp

#WMENU.RES : WMENU.RC
# $(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include WMENU.rc
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Re: erreur en linking mon application

Postby richard wilson » Tue Apr 17, 2012 9:21 pm

ok je l\ai trouve merci quand meme
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Re: erreur en linking mon application

Postby richard wilson » Wed Apr 18, 2012 1:38 am

voici le nouveau .mak

#WMENU Borland make, (c) FiveTech Software 2005-2011

HBDIR=U:\harbour
BCDIR=U:\bcc582
FWDIR=U:\fwh
WLDIR=U:\WLOGIH

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

#important: Use Uppercase for filenames extensions!

#.\LREPORT.PRG \
#.\LDREPORT.PRG \
#.\PRINTER.PRG \


PRGS = \
.\WMENU.PRG \
.\WCOMM.PRG \
.\WLOBJ001.PRG \
.\WLOBJ002.PRG \
.\WLOBJ003.PRG \
.\WLOBJ004.PRG \
.\WLINDEX.PRG \
.\OUFEDBF.PRG \
.\WLEXIT00.PRG \
.\RPBUTI00.PRG \
.\RPBUTI01.PRG \
.\SALUTI00.PRG \
.\ETAFIN00.PRG \
.\ICF000.PRG \
.\ICF001.PRG \
.\ICF002.PRG \
.\LIVUTI00.PRG \
.\LAMD000.PRG \
.\LOPT000.PRG \
.\LVAR000.PRG \
.\LMOD000.PRG \
.\LACC000.PRG \
.\LANN000.PRG \
.\LUTI000.PRG \
.\LARC000.PRG \
.\LGET000.PRG \
.\LGET001.PRG \
.\LPRN000.PRG \
.\MAIL000.PRG \
.\LBUD000.PRG

OBJ = $(PRGS:.PRG=.OBJ)
OBJS = $(OBJ:.\=.\obj\)

PROJECT : WMENU.EXE

#WMENU.EXE : $(OBJS) WMENU.RES $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib
WMENU.EXE : $(OBJS) $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib

echo off
echo $(BCDIR)\lib\c0w32.obj + > b32.bc
echo $(OBJS), + >> b32.bc
echo WMENU.exe, + >> b32.bc
echo WMENU.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\rddntx.lib + >> b32.bc
echo $(HBDIR)\lib\rddcdx.lib + >> b32.bc
echo $(HBDIR)\lib\rddfpt.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\hbwin.lib + >> b32.bc
echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
echo $(HBDIR)\lib\hbct.lib + >> b32.bc
echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
echo $(HBDIR)\lib\png.lib + >> b32.bc
echo $(HBDIR)\lib\hbzlib.lib + >> b32.bc
echo $(HBDIR)\lib\xhb.lib + >> b32.bc
echo $(HBDIR)\lib\hbpcre.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem 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\psapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc

# IF EXIST WMENU.res echo WMENU.res >> 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 > COMP.LOG
$(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c

.C.OBJ:
echo -c -tWM -D__HARBOUR__ > tmp
echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
$(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
del tmp

#WMENU.RES : WMENU.RC
# $(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include WMENU.rc

Antonio s'il y a de qoui a changer dite le moi may tanks
richard wilson
 
Posts: 38
Joined: Sat Mar 04, 2006 3:32 pm
Location: canada

Re: erreur en linking mon application

Postby Antonio Linares » Wed Apr 18, 2012 8:15 am

est-il fonctionne très bien maintenant?
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests