New Fwh 11.09 . TFolderEx error

New Fwh 11.09 . TFolderEx error

Postby Rimantas » Fri Oct 14, 2011 2:38 pm

Hi,
Upgraded to new FWH . I tried to build testfx1.prg with harbour ( harbour 2.1 from FiveTech FTP ) . It return error :

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_RASCAN' referenced from D:\FWH\LIB\FIVEH.LIB|TFOLDEX
* Linking errors *

Borlands 5.8.2 .

What I must to do ?

[ Added ] With xHarbour it works fine ...

Regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Fri Oct 14, 2011 6:09 pm

Rimantas,

You have to link Harbour xhb.lib too
regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Fri Oct 14, 2011 6:34 pm

Antonio Linares wrote:Rimantas,

You have to link Harbour xhb.lib too


Antonio , I tried buildh.bat from fwh\samples folder . This xhb.lib exist in lib list , after hbct.lib . I only changed paths in bat . I can to say that with previuos version I worked with xHarbour and cfg settings in BCC\bin are for xHrabour . Maybe they are doing wrong job ?

Here are cfg . Bcc32.cfg :
Code: Select all  Expand view

-5
-d
-k-
-O1
-O2
-v-
-WC
-wS
-w-inl-
-I"\bcc58\include;\bcc58\include\gl;\bcc58\include\rw;\bcc58\include\sys;\hrb\include;\fwh\include"
-L"\bcc58\lib;\bcc58\lib\psdk;\hrb\lib;\fwh\lib"
-lj"\bcc58\lib;\bcc58\lib\psdk;\hrb\lib;\fwh\lib"



harbour.cfg :
Code: Select all  Expand view

CC=BCC32.EXE
CFLAGS=-c -I\bcc\include;\bcc58\include\gl;\bcc58\include\rw;\bcc58\include\sys;\hrb\include;\fwh\include
-DHB_GUI
-DHB_BUILD_ST
-DHB_INCLUDE_WINEXCHANDLER
-DHB_NO_PROFILER
-DHB_NO_TRACE
-DHB_WIN32_IO
VERBOSE=NO
DELTMP=YES
-6
-a4
-d
-g0
-k-
-O
-O1
-O2
-OS
-Ob
-Oc
-Ov
-v-
-W
-w



Many thanks in advance for help !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Fri Oct 14, 2011 7:31 pm

Rimantas,

samples\buildh.bat testfx1

and

samples\buildx.bat testfx1

are both working fine here. Please check that you are using those files and not different ones, thanks :-)

And it is fine to use these config files for Borland:
viewtopic.php?f=17&t=13098
regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Fri Oct 14, 2011 7:58 pm

Antonio Linares wrote:Rimantas,
samples\buildh.bat testfx1
and
samples\buildx.bat testfx1
are both working fine here. Please check that you are using those files and not different ones, thanks :-)
And it is fine to use these config files for Borland:
viewtopic.php?f=17&t=13098


Antonio , buildx.bat testfx1 is working OK . It create application , I'm seeing extended folders , very fine ... But buildh.bat testfx1 return error .

Compiling...
Harbour 2.1.0beta1 (Rev. 14559)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'testfx1.prg' and generating preprocessed output to 'testfx1.ppo'...

Lines 4226, Functions/Procedures 5
Generating C source output to 'testfx1.c'... Done.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
testfx1.c:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_RASCAN' referenced from C:\FWH\LIB\FIVEH.LIB|TFOLDEX
* Linking errors *

I only downloaded today new FWH and wanted to try samples . Instaled your distributed harbour ( from FTP with new FWH ) to c:\hrb , borlands I have in bcc58 . Its 5.8.2 version as you can see in bellow message of error . So I changed in buildh.bat borlands and harbour paths . Also instaled xharbour from your FTP to c:\xhrb and changed paths for borlands and xHarbour in buildx.bat . That is working . Cfg files I changed . And I need harbour , because I want to run separated prg's as scripts , but I need and FolderEx ... :-)

With best regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Fri Oct 14, 2011 8:05 pm

Rimantas,

function RAScan() is provided in Harbour xhb.lib, so if you link it then it will build fine. Somehow (wrong path, wrong version used) you are not linking it.

If we review xhb.lib we can check that RAscan() is there:

Image
regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Sat Oct 15, 2011 5:13 am

Antonio Linares wrote:Rimantas,

function RAScan() is provided in Harbour xhb.lib, so if you link it then it will build fine. Somehow (wrong path, wrong version used) you are not linking it.
If we review xhb.lib we can check that RAscan() is there:


It's seems that problem it's here . I repetead harbour install ( from FWH FTP ) , to c:\harbour directory . And with xplorer2 searched rascan in *.lib . Here is the result :
Image . Sorry , can't to add image ... :-( . You can view this image in http://imageshack.us/photo/my-images/832/rascan.jpg/

This function used in libs harbour-21, harbourmt-21, hbextern, hbvm, hbvmmt . All files created 2010.05.23 .
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Sat Oct 15, 2011 6:49 am

regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Sat Oct 15, 2011 7:16 am



Now I get new error :

Compiling...
Harbour 2.1.0beta1 (Rev. 14559)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'testfx1.prg' and generating preprocessed output to 'testfx1.ppo'...

Lines 4226, Functions/Procedures 5
Generating C source output to 'testfx1.c'... Done.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
testfx1.c:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_hb_parns' referenced from C:\HRB\LIB\XHB.LIB|xhbarr
* Linking errors *

Maybe you can update all harbour distribution ?

With best regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Sat Oct 15, 2011 7:47 am

regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Sat Oct 15, 2011 8:01 am



Compiling...
Harbour 3.1.0dev (Rev. 17025)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'testfx1.prg' and generating preprocessed output to 'testfx1.ppo'...

Lines 4223, Functions/Procedures 5
Generating C source output to 'testfx1.c'... Done.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
testfx1.c:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: 'C:\HRB\LIB\HBRTL.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
* Linking errors *
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Sat Oct 15, 2011 8:08 am

Rimantas,

My apologizes, I posted a wrong one (I need a coffee) :-)

Here you have the right one:
http://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_bcc582_20111015_2.zip&can=2&q=
regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Sat Oct 15, 2011 10:39 am

Antonio Linares wrote:Rimantas,

My apologizes, I posted a wrong one (I need a coffee) :-)

Here you have the right one:
http://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_bcc582_20111015_2.zip&can=2&q=


Oh ... At last ! :-) Thanks , Antonio !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: New Fwh 11.09 . TFolderEx error

Postby Antonio Linares » Sat Oct 15, 2011 12:52 pm

Rimantas,

many thanks for your feedback and patience :-)
regards, saludos

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

Re: New Fwh 11.09 . TFolderEx error

Postby Rimantas » Sun Oct 16, 2011 2:13 pm

Antonio Linares wrote:Rimantas,

many thanks for your feedback and patience :-)


Antonio , excuse but I'll not give rest to you ... :-) . I tried with MinGw . It return suchs errors :

Compiling...
Harbour 3.1.0dev (Rev. 17025)
Copyright (c) 1999-2011, http://harbour-project.org/
Compiling 'testfx1.prg' and generating preprocessed output to 'testfx1.ppo'...

Lines 4223, Functions/Procedures 5
Generating C source output to 'testfx1.c'... Done.
testfx1.o:testfx1.c:(.data+0x48): undefined reference to `HB_FUN_TFOLDEREX'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0xa8): undefined reference to `HB_FUN_GETGIFINFO'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0xc8): undefined reference to `HB_FUN_FWGIFPLAY'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0xd8): undefined reference to `HB_FUN_FWGIFSTOP'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0xe8): undefined reference to `HB_FUN_FWGIFRESTART'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0xf8): undefined reference to `HB_FUN_FWGIFISRUNNING'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0x108): undefined reference to `HB_FUN_FWGIFEND'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0x138): undefined reference to `HB_FUN_FWSETGIFSIZING'
.\..\lib/fivehg.lib(TGIF.o):TGIF.c:(.data+0x328): undefined reference to `HB_FUN_FWGIFWINDOW'
collect2: ld returned 1 exit status
* Link errors *

All other samples , excluding with resources and folderex , are working . With resources return such similar errors :

testfx3.rc:5: unrecognized escape sequence
testfx3.rc:5: unrecognized escape sequence
C:\hrb\comp\mingw\bin\windres: testfx3.rc:12: syntax error
* Resources errors *

Maybe I'm wrong , but Harbour with MinGw it looks more faster . So this version is interesting ... :-)

With best regards !
Rimantas U.
User avatar
Rimantas
 
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 59 guests