Linking problems with xHarbour builder ...

Linking problems with xHarbour builder ...

Postby Rimantas » Thu Sep 21, 2006 4:52 pm

Hi ,

Today I bought the latest FWH ( libs dated 2006.09.17 ) and tried with xHarbour binaries from FW site and with xHB Builder ( 2006.August ) . With free xHarbour all compiles and links are OK . But with xHB builder I'm getting the following error :

xLINK: error: Unresolved external symbol '_HB_FUN___CLSCNTCLASSES'.
xLINK: fatal error: 1 unresolved external(s).

How to solve this problem ?

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

Postby Antonio Linares » Thu Sep 21, 2006 5:25 pm

Rimantas,

Please remove this code is source\function\errsysw.prg:
Code: Select all  Expand view
   #ifndef __XHARBOUR__
      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
   #else   
      while n <= __ClsCntClasses()
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
   #endif   

and change it:
Code: Select all  Expand view
      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end
regards, saludos

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

Postby Rimantas » Thu Sep 21, 2006 6:39 pm

Antonio Linares wrote:Rimantas,

and change it:
Code: Select all  Expand view
      while ! Empty( __ClassName( n ) )
         cErrorLog += "   " + Str( n, 3 ) + " " + __ClassName( n++ ) + CRLF
      end


OK . I'll try it .. :-))

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


Return to FiveWin for Harbour/xHarbour

Who is online

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