Error Upgrade From FWH115 To FWH1110

Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Mon Nov 14, 2011 2:40 pm

Hi
I Have this error:

MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Error test1.mak 161: No match found for wildcard '$**'
Error test1.mak 161: Command syntax error
Error test1.mak 164: No match found for wildcard '$**'
Error test1.mak 164: Command syntax error
Error test1.mak 177: Command syntax error
Error test1.mak 178: Command syntax error
Error test1.mak 179: Command syntax error
Error test1.mak 180: Command syntax error
Error test1.mak 181: Command syntax error
Error test1.mak 182: Command syntax error
Error test1.mak 184: Command syntax error
Error test1.mak 185: Command syntax error
Error test1.mak 186: Command syntax error
Error test1.mak 187: Command syntax error
Error test1.mak 188: Command syntax error
Error test1.mak 189: Command syntax error
Error test1.mak 190: Command syntax error
Error test1.mak 191: Command syntax error
Error test1.mak 192: Command syntax error
Error test1.mak 193: Command syntax error
Error test1.mak 194: Command syntax error
Error test1.mak 195: Command syntax error
Error test1.mak 196: Command syntax error
Error test1.mak 197: Command syntax error
Error test1.mak 198: Command syntax error
Error test1.mak 200: Command syntax error
Error test1.mak 201: Command syntax error
Error test1.mak 202: Command syntax error
Error test1.mak 203: Command syntax error
Error test1.mak 204: Command syntax error
Error test1.mak 205: Command syntax error
Error test1.mak 206: Command syntax error
Error test1.mak 208: Command syntax error
Error test1.mak 209: Command syntax error
Error test1.mak 210: Command syntax error
Error test1.mak 211: Command syntax error
Error test1.mak 212: Command syntax error
Error test1.mak 213: Command syntax error
Error test1.mak 215: Command syntax error
Error test1.mak 216: Command syntax error
Error test1.mak 217: Command syntax error
Error test1.mak 218: Command syntax error
Error test1.mak 219: Command syntax error
Error test1.mak 220: Command syntax error
Error test1.mak 221: Command syntax error
Error test1.mak 222: Command syntax error
Error test1.mak 223: Command syntax error
Error test1.mak 229: Command syntax error
Error test1.mak 230: Command syntax error
Error test1.mak 231: Command syntax error
*** 50 errors during make ***

The Make File:
##############################################################################
# Template make file for FWH and Borland Make tool #
# Copyright FiveTech 2002 #
##############################################################################


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

.autodepend
.swap
.suffixes: .prg .hrb
# .suffixes: .prg .obj

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

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

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

APP_NAME = test1 # (Your EXE name without extension)
APP_PRG_DIR = .
# APP_OBJ_DIR = obj # (create the app\obj directory first)
APP_OBJ_DIR = . # (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 = \
test1.prg \
vrd.prg \
vrdbcode.prg \
vrdini.prg \
vrditem.prg \
easyprev.prg \
tfilexls.prg \
xlsError.prg \
xlsfunc.prg


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

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

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

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

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

FIVE_LIB = $(FIVEWIN_LIB_DIR)\fiveH.lib
FIVEC_LIB = $(FIVEWIN_LIB_DIR)\fiveHC.lib

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

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

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


HBRTL_LIB = $(HARBOUR_LIB_DIR)\hbrtl.lib
HBVM_LIB = $(HARBOUR_LIB_DIR)\hbvm.lib
GTGUI_LIB = $(HARBOUR_LIB_DIR)\gtgui.lib
HBLANG_LIB = $(HARBOUR_LIB_DIR)\hblang.lib
HBMACRO_LIB = $(HARBOUR_LIB_DIR)\hbmacro.lib
HBRDD_LIB = $(HARBOUR_LIB_DIR)\hbrdd.lib

RDDNTX_LIB = $(HARBOUR_LIB_DIR)\rddntx.lib
RDDCDX_LIB = $(HARBOUR_LIB_DIR)\rddcdx.lib
RDDFTP_LIB = $(HARBOUR_LIB_DIR)\rddfpt.lib
HBSIX_LIB = $(HARBOUR_LIB_DIR)\hbsix.lib
HBDEBUG_LIB = $(HARBOUR_LIB_DIR)\hbdebug.lib
HBCOMMON_LIB = $(HARBOUR_LIB_DIR)\hbcommon.lib
HBPP_LIB = $(HARBOUR_LIB_DIR)\hbpp.lib
HBCPAGE_LIB = $(HARBOUR_LIB_DIR)\hbcpage.lib
HBWIN_LIB = $(HARBOUR_LIB_DIR)\hbwin.lib

HBCPLR_LIB = $(HARBOUR_LIB_DIR)\hbcplr.lib
HBCT_LIB = $(HARBOUR_LIB_DIR)\hbct.lib
XHB_LIB = $(HARBOUR_LIB_DIR)\xhb.lib
HBZIPARC_LIB = $(HARBOUR_LIB_DIR)\hbziparc.lib
HBMZIP_LIB = $(HARBOUR_LIB_DIR)\hbmzip.lib
HBZLIB_LIB = $(HARBOUR_LIB_DIR)\hbzlib.lib
MINIZIP_LIB = $(HARBOUR_LIB_DIR)\minizip.lib


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

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

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

BORLANDC_INCLUDE_DIR = c:\bcc582\include
BORLANDC_EXE_DIR = c:\bcc582\bin
BORLANDC_LIB_DIR = c:\bcc582\lib
#BORLANDC_INCLUDE_DIR = f:\bcc582\include
#BORLANDC_EXE_DIR = f:\bcc582\bin
#BORLANDC_LIB_DIR = f:\bcc582\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_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
UUID_LIB = $(BORLANDC_LIB_DIR)\uuid.lib
IMPORT32_LIB = $(BORLANDC_LIB_DIR)\import32.lib
ODBC32_LIB = $(BORLANDC_LIB_DIR)\psdk\odbc32.lib
NDDEAPI_LIB = $(BORLANDC_LIB_DIR)\psdk\nddeapi.lib
IPHLPAGI_LIB = $(BORLANDC_LIB_DIR)\psdk\iphlpapi.lib
MSIMG32_LIB = $(BORLANDC_LIB_DIR)\psdk\msimg32.lib
RASAPI32_LIB = $(BORLANDC_LIB_DIR)\psdk\rasapi32.lib
WS2_32_LIB = $(BORLANDC_LIB_DIR)\ws2_32.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)
@echo $(STARTUP_OBJ) + > make.tmp
@echo $(**), + >> make.tmp
@echo $(APP_EXE), + >> make.tmp
@echo $(APP_MAP), + >> make.tmp
@echo $(FIVE_LIB) + >> make.tmp
@echo $(FIVEC_LIB) + >> make.tmp

@echo $(HBRTL_LIB) + >> make.tmp # must have
@echo $(HBVM_LIB) + >> make.tmp # must have
@echo $(GTGUI_LIB) + >> make.tmp
@echo $(HBLANG_LIB) + >> make.tmp
@echo $(HBMACRO_LIB) + >> make.tmp # must have
@echo $(HBRDD_LIB) + >> make.tmp # must have
@echo $(RDDNTX_LIB) + >> make.tmp # must have
@echo $(RDDCDX_LIB) + >> make.tmp
@echo $(RDDFTP_LIB) + >> make.tmp # must have
@echo $(HBSIX_LIB) + >> make.tmp # must have
@echo $(HBDEBUG_LIB) + >> make.tmp
@echo $(HBCOMMON_LIB) + >> make.tmp # must have
@echo $(HBPP_LIB) + >> make.tmp
@echo $(HBCPAGE_LIB) + >> make.tmp
@echo $(HBWIN_LIB) + >> make.tmp # must have

@echo $(HBCPLR_LIB) + >> make.tmp
@echo $(HBCT_LIB) + >> make.tmp
@echo $(XHB_LIB) + >> make.tmp
@echo $(HBZIPARC_LIB) + >> make.tmp
@echo $(HBMZIP_LIB) + >> make.tmp
@echo $(HBZLIB_LIB) + >> make.tmp
@echo $(MINIZIP_LIB) + >> make.tmp

@echo EASYPREV.LIB + >> make.tmp
@echo FIVEHN.LIB + >> make.tmp
@echo MAIL.LIB + >> make.tmp
@echo VRD.LIB + >> make.tmp
@echo EASYPREVIEW.LIB + >> make.tmp
@echo FILEXLS.LIB + >> make.tmp

@echo $(CW32_LIB) + >> make.tmp # must have
@echo $(UUID_LIB) + >> make.tmp
@echo $(IMPORT32_LIB) + >> make.tmp # must have
@echo $(ODBC32_LIB) + >> make.tmp
@echo $(NDDEAPI_LIB) + >> make.tmp
@echo $(IPHLPAGI_LIB) + >> make.tmp
@echo $(MSIMG32_LIB) + >> make.tmp
@echo $(RASAPI32_LIB) + >> make.tmp
@echo $(WS2_32_LIB) + >> make.tmp


!if $(RES_FILE) == YES
@echo ,$(APP_RES) >> make.tmp
!endif
$(BORLANDC_LINK_EXE) $(BORLANDC_LINK_FLAGS) @make.tmp
@del $(APP_EXE_DIR)\$(APP_NAME).tds
@del make.tmp

The prg File:
#include "FiveWin.ch"

static oWnd

function Main()

local oFont
local obtn1

skinbuttons()

DEFINE FONT oFont NAME "Arial" SIZE 0, -22 BOLD
if !file("tax3.dbf")
createfilea()
endif

DEFINE WINDOW oWnd FROM 1, 1 TO 20, 70 ;
TITLE "Test"

@ 1.5, 1 BUTTON obtn1 PROMPT "Test1" OF oWnd ACTION test1() ;
SIZE 100, 24

SET MESSAGE OF oWnd ;
TO "WELCOME" CENTERED TIME DATE
ACTIVATE WINDOW oWnd MAXIMIZED

DEFINE FONT oFont NAME "Arial" SIZE 0, -11 BOLD
oFont:End()

return nil
*******************************************
function createfilea()

// "File : tax3.dbf"
tmpdbf:= {}
AAdd(tmpdbf, {"recnum1", "n", 5, 0})
AAdd(tmpdbf, {"recnum", "c", 8, 0})
AAdd(tmpdbf, {"desp", "c", 100, 0})
dbcreate("tax3.dbf", tmpdbf)
close
****************************
function test1()

#include "fivewin.ch"
local oDlg

mrecnum1 = 0
mrecnum = space(8)
mdesp = space(100)


if (Select("tax3") == 0)
use tax3 new
index on recnum to temp
else
select Select("tax3")
endif


DEFINE DIALOG oDlg FROM 0, 0 TO 26, 79 ;
TITLE "Test 1"

@ -0.361, -0.1 to 13.945, 44.714
@ -0.361, -0.1 to 12.545, 44.714

@ 0, 1 say "No."
@ 0.9, 1 say "Ref. No."
@ 1.8, 1 say "Desp"
@ 0, 6 get mrecnum1 OF oDlg SIZE 38, 11 picture "99999"
@ 1, 6 get mrecnum OF oDlg SIZE 100, 11
@ 2, 6 get mdesp OF oDlg SIZE 150, 11


@ 4, 0.4 LISTBOX oLbx FIELDS str(tax3->recnum1,5,0),;
tax3->recnum, tax3->desp ;
HEADERS "No", "Ref. No.", "Desp" ;
FIELDSIZES 40, 80, 390 ;
SIZE 307, 116 OF oDlg

@ 9.95, 18.7 BUTTON "&Save" OF oDlg SIZE 40, 12 ;
ACTION (test1a("2"), oLbx:Refresh())
@ 9.95, 25.7 BUTTON "&Exit" OF oDlg SIZE 40, 12 ;
ACTION ( lreturn := .t., oDlg:End())

ACTIVATE DIALOG oDlg CENTERED
close databases
return nil
************************************************
function test1a()

parameter Newedit

local oDlg
local oFont
local oLbx
local lreturn := .f.
local oc1desp
local time1:= 1
local newref1:= "N"

DEFINE FONT oFont NAME "Arial" SIZE 0, -11 BOLD

select tax3
append blank
onerror("APPEND")
replace recnum1 with mrecnum1
replace recnum with mrecnum
replace desp with mdesp
goto top
return nil
********************************************
function ONERROR

parameters errortype
errortype:= Upper(errortype)
do case
case errortype == "RLOCK"
if (RLock())
return .T.
endif
do while (!RLock())
InKey(3)
enddo
case errortype == "APPEND"
if (!neterr())
onerror("RLOCK")
return .T.
endif
do while (neterr())
InKey(3)
append blank
enddo
onerror("RLOCK")
endcase
return .T.

********************************

Please help

Regards
ACWoo
Using FWH1110 + Harbour + BCC582
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Antonio Linares » Tue Nov 15, 2011 9:24 am

Acwoo,

Please use FWH\makes\bormake.zip as it is much simpler and easier to use :-)
regards, saludos

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

Re: Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Tue Nov 15, 2011 10:33 am

Thanks For Your Help

I tested the bormake.zip, I get this message:

Error: Unresolved external '_HB_FUN_NUMTOHEX' referenced from C:\FWH1110\LIB\FIVEH.LIB|GETSYSIN
Error: Unresolved external 'GetModuleFileNameExA' referenced from C:\FWH1110\LIB\FIVEH.LIB|GETTASKS

Please help

Regards
AC Woo
Using FWH1110 + harbour + bcc582
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Antonio Linares » Tue Nov 15, 2011 10:56 am

Acwoo,

Please replace NumToHex() with hb_NumToHex()

Also you have to include in the make:
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc

for GetModuleFileNameExA
regards, saludos

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

Re: Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Mon Nov 21, 2011 9:09 am

Hi
I have this error in bormake.zip

echo c:\harbour1110\lib\hbcommon.lib + >> b32.bc
echo c:\harbour1110\lib\hbpp.lib + >> b32.bc
echo c:\harbour1110\lib\hbwin.lib + >> b32.bc
echo c:\harbour1110\lib\hbcpage.lib + >> b32.bc
echo c:\harbour1110\lib\hbct.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
rem echo c:\harbour1110\lib\rddads.lib + >> b32.bc
rem echo c:\harbour1110\lib\Ace32.lib + >> b32.bc
echo c:\bcc582\lib\cw32.lib + >> b32.bc
echo c:\bcc582\lib\import32.lib + >> b32.bc
echo c:\bcc582\lib\psdk\odbc32.lib + >> b32.bc
echo c:\bcc582\lib\psdk\nddeapi.lib + >> b32.bc
echo c:\bcc582\lib\psdk\iphlpapi.lib + >> b32.bc
echo c:\bcc582\lib\psdk\msimg32.lib + >> b32.bc
echo c:\bcc582\lib\psdk\psapi.lib + >> b32.bc
echo c:\bcc582\lib\psdk\rasapi32.lib, >> b32.bc
IF EXIST Alert.res echo Alert.res >> b32.bc
c:\bcc582\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\TEST1110\
OBJ\ALERT.OBJ

** error 2 ** deleting Alert.exe

Please help

Regards
Eddy
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Antonio Linares » Mon Nov 21, 2011 11:11 am

Eddy,

Please recompile C:\TEST1110\OBJ\ALERT.PRG with the Harbour version that you are using now :-)
regards, saludos

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

Re: Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Fri Nov 25, 2011 2:30 am

Thanks For your help

#Borland make sample, (c) FiveTech Software 2005-2009

HBDIR=c:\harbour1110
BCDIR=c:\bcc582
FWDIR=c:\fwh1110

#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 obj\two.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\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

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 Alert.res echo Alert.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc

.PRG.OBJ:
$(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

How do I change the make file to ignore ambiguous reference.

Thanks

Regard
acwoo
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Antonio Linares » Fri Nov 25, 2011 10:33 am

Acwoo,

Remove /W from this line:

$(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
regards, saludos

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

Re: Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Fri Nov 25, 2011 11:42 am

Thanks for the help

I tried the fwh1111, I get this error on bormake.zip

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_png_get_io_ptr' referenced from C:\FWH1111\LIB\FIVE
HC.LIB|FWPNG
Error: Unresolved external '_png_create_read_struct' referenced from C:\FWH1111\
LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_read_fn' referenced from C:\FWH1111\LIB\FIV
EHC.LIB|FWPNG
Error: Unresolved external '_png_read_info' referenced from C:\FWH1111\LIB\FIVEH
C.LIB|FWPNG
Error: Unresolved external '_png_get_valid' referenced from C:\FWH1111\LIB\FIVEH
C.LIB|FWPNG
Error: Unresolved external '_png_set_tRNS_to_alpha' referenced from C:\FWH1111\L
IB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_gray_to_rgb' referenced from C:\FWH1111\LIB
\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_bgr' referenced from C:\FWH1111\LIB\FIVEHC.
LIB|FWPNG
Error: Unresolved external '_png_set_strip_16' referenced from C:\FWH1111\LIB\FI
VEHC.LIB|FWPNG
Error: Unresolved external '_png_get_IHDR' referenced from C:\FWH1111\LIB\FIVEHC
.LIB|FWPNG
Error: Unresolved external '_png_read_update_info' referenced from C:\FWH1111\LI
B\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_channels' referenced from C:\FWH1111\LIB\FI
VEHC.LIB|FWPNG
Error: Unresolved external '_png_get_rowbytes' referenced from C:\FWH1111\LIB\FI
VEHC.LIB|FWPNG
Error: Unresolved external '_png_read_image' referenced from C:\FWH1111\LIB\FIVE
HC.LIB|FWPNG
Error: Unresolved external '_png_destroy_read_struct' referenced from C:\FWH1111
\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_sig_cmp' referenced from C:\FWH1111\LIB\FIVEHC.
LIB|FWPNG
Error: Unresolved external '_png_create_write_struct' referenced from C:\FWH1111
\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_info_struct' referenced from C:\FWH1111\
LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_longjmp_fn' referenced from C:\FWH1111\LIB\
FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_IHDR' referenced from C:\FWH1111\LIB\FIVEHC
.LIB|FWPNG
Error: Unresolved external '_png_malloc' referenced from C:\FWH1111\LIB\FIVEHC.L
IB|FWPNG
Error: Unresolved external '_png_init_io' referenced from C:\FWH1111\LIB\FIVEHC.
LIB|FWPNG
Error: Unresolved external '_png_set_rows' referenced from C:\FWH1111\LIB\FIVEHC
.LIB|FWPNG
Error: Unresolved external '_png_write_png' referenced from C:\FWH1111\LIB\FIVEH
C.LIB|FWPNG
Error: Unresolved external '_png_free' referenced from C:\FWH1111\LIB\FIVEHC.LIB
|FWPNG
Error: Unresolved external '_png_destroy_write_struct' referenced from C:\FWH111
1\LIB\FIVEHC.LIB|FWPNG

** error 2 ** deleting Alert.exe

Please help

Regards
ACWoo
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Antonio Linares » Fri Nov 25, 2011 6:36 pm

Acwoo,

You have to link Harbour's png.lib
regards, saludos

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


Re: Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Sat Nov 26, 2011 2:03 am

Thanks for your help

After linking harbour's png.lib, I get this error:

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_crc32' referenced from C:\HARBOUR1111\LIB\PNG.LIB|p
ng
Error: Unresolved external '_inflateReset' referenced from C:\HARBOUR1111\LIB\PN
G.LIB|png
Error: Unresolved external '_inflateInit_' referenced from C:\HARBOUR1111\LIB\PN
G.LIB|pngread
Error: Unresolved external '_inflate' referenced from C:\HARBOUR1111\LIB\PNG.LIB
|pngrutil
Error: Unresolved external '_inflateEnd' referenced from C:\HARBOUR1111\LIB\PNG.
LIB|pngread
Error: Unresolved external '_deflateEnd' referenced from C:\HARBOUR1111\LIB\PNG.
LIB|pngwutil
Error: Unresolved external '_deflateInit2_' referenced from C:\HARBOUR1111\LIB\P
NG.LIB|pngwutil
Error: Unresolved external '_deflateReset' referenced from C:\HARBOUR1111\LIB\PN
G.LIB|pngwutil
Error: Unresolved external '_deflate' referenced from C:\HARBOUR1111\LIB\PNG.LIB
|pngwutil

** error 2 ** deleting Alert.exe

Please help

Regards
ACWoo
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Daniel Garcia-Gil » Sat Nov 26, 2011 2:11 am

Hello

add hbzlib.lib (from harbour's lib)
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Error Upgrade From FWH115 To FWH1110

Postby acwoo1 » Sat Nov 26, 2011 8:20 am

Thanks For Your Help

With skinbuttons(), the buttons are changed.

Regards
Eddy
acwoo1
 
Posts: 173
Joined: Tue Nov 10, 2009 10:56 am

Re: Error Upgrade From FWH115 To FWH1110

Postby Antonio Linares » Sat Nov 26, 2011 8:03 pm

Eddy,

Do they look fine ? :-)
regards, saludos

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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 60 guests

cron