TO MANUEL : COMPILING A TEST SAMPLE (revolved)

TO MANUEL : COMPILING A TEST SAMPLE (revolved)

Postby Silvio » Tue Sep 22, 2009 9:47 am

Progetto: NEWSHAPE, Ambiente: xFiveWin:
[1]:Harbour.Exe NEWSHAPE.prg /m /n /es2 /iC:\work\FWH\include /ic:\work\xHarbour\Include /iinclude;c:\work\fwh\include;c:\work\xHarbour\include /oObj\NEWSHAPE.c
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'NEWSHAPE.prg'...
Lines 228, Functions/Procedures 7
Generating C source output to 'Obj\NEWSHAPE.c'...
Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\work\FWH\include -Ic:\work\BCC55\Include;c:\work\xHarbour\Include -nObj Obj\NEWSHAPE.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Obj\NEWSHAPE.c:
[1]:Brc32.Exe -r -foResource\NEWSHAPE.Res NEWSHAPE.rc
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
[1]:iLink32.Exe -Gn -aa -Tpe -s @NEWSHAPE.bcl
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_GETFONTHEIGHT' referenced from C:\WORK\LIB_32\TSBUTTON\SBUTTONX.LIB|TSBUTTON
Error: Unresolved external '_HB_FUN_ISALPHABITMAP' referenced from C:\WORK\LIB_32\TSBUTTON\SBUTTONX.LIB|TSBUTTON
Error: Unresolved external '_HB_FUN_SBTNPAINT' referenced from C:\WORK\LIB_32\TSBUTTON\SBUTTONX.LIB|TSBUTTON
Error: Unresolved external '_HB_FUN_SBARNEW' referenced from C:\WORK\LIB_32\TSBUTTON\SBUTTONX.LIB|TSBAR
Error: Unresolved external '_HB_FUN_MAKESEPARATOR' referenced from C:\WORK\LIB_32\TSBUTTON\SBUTTONX.LIB|TSBAR
Error: Unresolved external '_HB_FUN_DARKCOLOR' referenced from C:\WORK\LIB_32\TSBUTTON\SBUTTONX.LIB|TSTSAY
Error: Unresolved external '_HB_FUN_GRADCOLOR' referenced from C:\WORK\LIB_32\TSBUTTON\SAMPLES\OBJ\NEWSHAPE.OBJ



the lib created not give me these errors

where I can found these function ?
Last edited by Silvio on Thu Sep 24, 2009 9:18 am, edited 1 time in total.
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: TO MANUEL : COMPILING A TEST SAMPLE WITH SBUTTON LIB

Postby mmercado » Wed Sep 23, 2009 12:08 am

Hi Silvio:

The program BPaint.c was no compiled and Bpaint.obj is missing in SButtonX.lib.

Check carefuly the way you are building the library and check that all the components are present in the library before you try to build the sample programs or your own application.

Best regards.

Manuel Mercado Gomez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TO MANUEL : COMPILING A TEST SAMPLE WITH SBUTTON LIB

Postby Silvio » Wed Sep 23, 2009 7:29 am

this is the log creating sbuttonx for fwh .
there are some error on sbpaint.c



xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SOURCE\CLASSES\TSLINES.PRG'...
Lines 262, Functions/Procedures 6
Generating C source output to 'Obj\TSLINES.c'...
Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\work\FWH\include -Ic:\work\BCC55\Include;c:\work\xHarbour\Include -nObj Obj\TSLINES.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Obj\TSLINES.c:
[1]:Harbour.Exe SOURCE\CLASSES\TSRADIO.PRG /m /n /es2 /iC:\work\FWH\include /ic:\work\xHarbour\Include /iinclude;c:\work\fwh\include;c:\work\xHarbour\include /oObj\TSRADIO.c
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Copyright 1999-2009, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'SOURCE\CLASSES\TSRADIO.PRG'...
Lines 1627, Functions/Procedures 30
Generating C source output to 'Obj\TSRADIO.c'...
Done.
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\work\FWH\include -Ic:\work\BCC55\Include;c:\work\xHarbour\Include -nObj Obj\TSRADIO.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Obj\TSRADIO.c:
[1]:Bcc32.Exe -M -c -O2 -tW -v- -X -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IC:\work\FWH\include -Ic:\work\BCC55\Include;c:\work\xHarbour\Include -nObj SOURCE\FUNCTION\BPAINT.C
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
SOURCE\FUNCTION\BPAINT.C:
Warning W8065 SOURCE\FUNCTION\BPAINT.C 2337: Call to function 'hb_parnl' with no prototype in function HB_FUNC
Warning W8065 SOURCE\FUNCTION\BPAINT.C 2338: Call to function 'hb_parnl' with no prototype in function HB_FUNC
Warning W8065 SOURCE\FUNCTION\BPAINT.C 2345: Call to function 'hb_retl' with no prototype in function HB_FUNC
Warning W8070 SOURCE\FUNCTION\BPAINT.C 2346: Function should return a value in function HB_FUNC
Warning W8057 SOURCE\FUNCTION\BPAINT.C 2346: Parameter 'ISALPHABITMAP' is never used in function HB_FUNC
[1]:TLib.Exe sbuttonx.Lib /P512 @sbuttonx.bcl , Debug\sbuttonx.Lst
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
+C:\work\LIB_32\TSBUTTON\Obj\TSTSAY.Obj &
+C:\work\LIB_32\TSBUTTON\Obj\TSBAR.Obj &
+C:\work\LIB_32\TSBUTTON\Obj\TSBUTTON.Obj &
+C:\work\LIB_32\TSBUTTON\Obj\TSGRADIE.Obj &
+C:\work\LIB_32\TSBUTTON\Obj\TSLINES.Obj &
+C:\work\LIB_32\TSBUTTON\Obj\TSRADIO.Obj &
+C:\work\LIB_32\TSBUTTON\Obj\BPAINT.Obj




it create the sbuttonx.lib 147 kb
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: TO MANUEL : COMPILING A TEST SAMPLE WITH SBUTTON LIB

Postby StefanHaupt » Wed Sep 23, 2009 7:56 am

Silvio,

SOURCE\FUNCTION\BPAINT.C:
Warning W8065 SOURCE\FUNCTION\BPAINT.C 2337: Call to function 'hb_parnl' with no prototype in function HB_FUNC
Warning W8065 SOURCE\FUNCTION\BPAINT.C 2338: Call to function 'hb_parnl' with no prototype in function HB_FUNC
Warning W8065 SOURCE\FUNCTION\BPAINT.C 2345: Call to function 'hb_retl' with no prototype in function HB_FUNC
Warning W8070 SOURCE\FUNCTION\BPAINT.C 2346: Function should return a value in function HB_FUNC
Warning W8057 SOURCE\FUNCTION\BPAINT.C 2346: Parameter 'ISALPHABITMAP' is never used in function HB_FUNC


These are only warnings, I think you can safely ignore them
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: TO MANUEL : COMPILING A TEST SAMPLE WITH SBUTTON LIB

Postby Silvio » Wed Sep 23, 2009 11:29 am

yes but then I cannot compile a test with this lib ..see the first message of this topic
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: TO MANUEL : COMPILING A TEST SAMPLE WITH SBUTTON LIB

Postby mmercado » Wed Sep 23, 2009 7:47 pm

Hi Silvio:
Silvio wrote:yes but then I cannot compile a test with this lib ..see the first message of this topic

I have provided a RMAKE script file (SButtonX.rmk) wich is working ok to build the library. You can use it just by changing the corresponding paths to fit your own environment. Assure that your environment variable "Include" points to FWH\Include and xHarbour\Include directories to avoid changing #include paths in programs.

If you are using other mean (I don't know which one) to build the library, it's up to you to adapt your script changing paths, preprocessor's defines and compiler flags to fit your environment and your builder's requirements.

Best regards.

Manuel Mercado Gomez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: TO MANUEL : COMPILING A TEST SAMPLE WITH SBUTTON LIB

Postby Silvio » Thu Sep 24, 2009 9:06 am

sorry I missed this "__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF"

NOW RUN OK
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 94 guests