Problems compiling after upgrading to latest FWH ver 2006

Problems compiling after upgrading to latest FWH ver 2006

Postby PAUL SIMM » Tue May 15, 2007 8:04 pm

I get this error : Unable to open file 'DBFFTP.LIB'

After upgrading my old LNK file for FWH 2006

The file is in the defined directory no other files give warnings.
Directorio de c:\harb2006\lib

27/06/2006 13:30 66.560 codepage.lib
27/06/2006 13:30 66.560 common.lib
28/06/2006 09:24 126.464 dbfcdx.lib
28/06/2006 09:24 34.304 dbffpt.lib
28/06/2006 09:24 51.712 dbfntx.lib
Etc.


MAKE FILE

##############################################################################
# Template make file for FWH and Borland Make tool #
# Copyright FiveTech 2002 #
# Written by Ignacio Ortiz de Zuñiga #
# Use: testmake.bat <your_make_file> #
##############################################################################

# Win2000 bug ################################################################
# Uncomment next line if you receive any DEL error ###########################
# set DEL=cmd /c del

!if !$d(DEL)
DEL = del
!endif

# Make directives ############################################################

.autodepend
.swap
.suffixes: .prg .hrb

# Flags for modules to include: YES | NO (must be UPPERCASE)##################

RES_FILE = YES
LNK_DBFNTX = YES
LNK_DBFFPT = YES
LNK_DBFCDX = NO
LNK_DEBUG = NO
LNK_ADVANTAGE = NO
LNK_ODBC = NO
MAP_FILE = NO

# Application directories & filenames ########################################

APP_NAME = ..\SCANWIN # (Your EXE name without extension)
APP_PRG_DIR = .
APP_OBJ_DIR = obj # (create the app\obj directory first)
APP_INCLUDE_DIR = .
APP_EXE_DIR = $(APP_PRG_DIR)
APP_RES_DIR = $(APP_PRG_DIR)

APP_EXE = $(APP_EXE_DIR)\$(APP_NAME).exe
APP_RC = $(APP_RES_DIR)\$(APP_NAME).rc
APP_RES = $(APP_RES_DIR)\$(APP_NAME).res
APP_MAP = $(APP_RES_DIR)\$(APP_NAME).map

# Paths for dependent files ##################################################

.path.prg = $(APP_PRG_DIR)
.path.hrb = $(APP_OBJ_DIR)
.path.obj = $(APP_OBJ_DIR)

# Application PRG files (your PRG files go here) #############################

APP_PRG_LIST = \
SCANWIN.OBJ \
SCANWIN1.OBJ\
ERRSYSW.OBJ

# Contruction of the rest dependency lists ###################################

APP_PRGS = $(APP_PRG_LIST)
APP_HRBS = $(APP_PRG_LIST:.prg=.hrb)
APP_OBJS = $(APP_PRG_LIST:.prg=.obj)

# Fivewin directories ########################################################

FIVEWIN_INCLUDE_DIR = c:\FW24\include
FIVEWIN_LIB_DIR = c:\FW24\lib

# Fivewin libraries ##########################################################

FIVE_LIB = C:\FWH\LIB\fiveH.lib
FIVEC_LIB = C:\FWH\LIB\fiveHC.lib

# Harbour directories & flags ################################################

HARBOUR_INCLUDE_DIR = c:\harb2006\include
HARBOUR_EXE_DIR = c:\harb2006\bin
HARBOUR_LIB_DIR = c:\harb2006\lib
HARBOUR_FLAGS = -i$(APP_INCLUDE_DIR);$(FIVEWIN_INCLUDE_DIR);$(HARBOUR_INCLUDE_DIR) -n -m -w -es2 -gc0
HARBOUR_EXE = $(HARBOUR_EXE_DIR)\harbour.exe

# Harbour libraries ##########################################################

RTL_LIB = $(HARBOUR_LIB_DIR)\rtl.lib
VM_LIB = $(HARBOUR_LIB_DIR)\vm.lib
GTWIN_LIB = $(HARBOUR_LIB_DIR)\gtgui.lib
LANG_LIB = $(HARBOUR_LIB_DIR)\lang.lib
MACRO_LIB = $(HARBOUR_LIB_DIR)\macro.lib
RDD_LIB = $(HARBOUR_LIB_DIR)\rdd.lib
DBFNTX_LIB = $(HARBOUR_LIB_DIR)\dbfntx.lib
DBFCDX_LIB = $(HARBOUR_LIB_DIR)\dbfcdx.lib
DBFFTP_LIB = $(HARBOUR_LIB_DIR)\dbfftp.lib
DEBUG_LIB = $(HARBOUR_LIB_DIR)\debug.lib
COMMON_LIB = $(HARBOUR_LIB_DIR)\common.lib
PP_LIB = $(HARBOUR_LIB_DIR)\pp.lib

# Advantage libraries ########################################################

RDDADS_LIB = $(HARBOUR_LIB_DIR)\rddads.lib
ACE32_LIB = $(FIVEWIN_LIB_DIR)\ace32.lib

# Borlanc directories & flags ################################################

BORLANDC_INCLUDE_DIR = c:\borland\bcc55\include
BORLANDC_EXE_DIR = c:\borland\bcc55\bin
BORLANDC_LIB_DIR = c:\borland\bcc55\lib
BORLANDC_COMP_FLAGS = -c -O2 -I$(HARBOUR_INCLUDE_DIR);$(BORLANDC_INCLUDE_DIR)
BORLANDC_COMP_EXE = $(BORLANDC_EXE_DIR)\bcc32.exe
BORLANDC_LINK_FLAGS = -Gn -aa -Tpe -s -I$(APP_OBJ_DIR)
BORLANDC_LINK_FDEBUG = -Gn -Tpe -s -I$(APP_OBJ_DIR)
BORLANDC_LINK_EXE = $(BORLANDC_EXE_DIR)\ilink32.exe
BORLANDC_RES_EXE = $(BORLANDC_EXE_DIR)\brc32.exe

!if $(MAP_FILE) != YES
BORLANDC_LINK_FLAGS = $(BORLANDC_LINK_FLAGS) -x
!endif

# Borland libraries & files ##################################################

STARTUP_OBJ = $(BORLANDC_LIB_DIR)\c0w32.obj
CW32_LIB = $(BORLANDC_LIB_DIR)\cw32.lib
IMPORT32_LIB = $(BORLANDC_LIB_DIR)\import32.lib
ODBC32_LIB = $(BORLANDC_LIB_DIR)\psdk\odbc32.lib

# Dependencies ###############################################################

all: $(APP_OBJS) $(APP_HRBS) $(APP_EXE)

!if $(RES_FILE) == YES
all: $(APP_RES)
!endif

# Implicit Rules #############################################################

.prg.hrb:
$(HARBOUR_EXE) $(HARBOUR_FLAGS) $** -o$@

.hrb.obj:
$(BORLANDC_COMP_EXE) $(BORLANDC_COMP_FLAGS) -o$@ $**

# Explicit Rules #############################################################

!if $(RES_FILE) == YES
$(APP_RES) : $(APP_RC)
$(BORLANDC_RES_EXE) -r $**

$(APP_EXE) :: $(APP_RES)
@if exist $(APP_EXE) $(DEL) $(APP_EXE) > nul
!endif

$(APP_EXE) :: $(APP_OBJS)
!if $(LNK_DEBUG) == YES
$(BORLANDC_LINK_EXE) $(BORLANDC_LINK_FDEBUG) @&&|
!else
$(BORLANDC_LINK_EXE) $(BORLANDC_LINK_FLAGS) @&&|
!endif
$(STARTUP_OBJ) +
$(**), +
$(APP_EXE), +
$(APP_MAP), +
$(FIVE_LIB) +
$(FIVEC_LIB) +
$(RTL_LIB) +
$(VM_LIB) +
$(GTWIN_LIB) +
$(LANG_LIB) +
$(MACRO_LIB) +
$(RDD_LIB) +
!if $(LNK_DBFFPT) == YES
$(DBFFTP_LIB) +
!endif
!if $(LNK_DBFNTX) == YES
$(DBFNTX_LIB) +
!endif
!if $(LNK_DBFCDX) == YES
$(DBFCDX_LIB) +
!endif
!if $(LNK_DEBUG) == YES
$(DEBUG_LIB) +
!endif
$(COMMON_LIB) +
$(PP_LIB) +
!if $(LNK_ADVANTAGE) == YES
$(RDDADS_LIB) +
$(ACE32_LIB) +
!endif
!if $(LNK_ODBC) == YES
$(ODBC32_LIB) +
!endif
$(CW32_LIB) +
$(IMPORT32_LIB), +
!if $(RES_FILE) == YES
,$(APP_RES)
!endif
|
@$(DEL) $(APP_EXE_DIR)\$(APP_NAME).tds
Regards/Saludos
Paul

paul@pes-systems.net
User avatar
PAUL SIMM
 
Posts: 83
Joined: Fri Oct 07, 2005 7:59 am
Location: Madrid, Spain

Postby Antonio Linares » Tue May 15, 2007 9:20 pm

Paul,

You have a small typo:

Unable to open file 'DBFFTP.LIB'

The right name is: DBFFPT.lib
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Natter and 13 guests