Errors in New Build

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 4:02 pm

I am now ... I still had the October 2012 version of Harbour.

It now works. Thank you.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Richard Chidiak » Fri May 03, 2013 4:33 pm

Tim

Are you using Msvc 2012 now ?

Can you comment on it ?

Thank you

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 6:58 pm

OK ... so that created a nightmare.

First I tried changing the settings to use Visual Studio ( C ) 11.0 ( 2012 ). It didn't link the program, and maybe didn't even complete the build of the files.

So then I reverted back to 2010 and rebuilt the program. Of course now I have the latest Harbour. I selected to Rebuild All which brought to light the following errors:

Code: Select all  Expand view
--------------------Configuration: ASW2013 - Release--------------------
FiveH32.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_COMPILEFROMBUF
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_CONNECT
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_SET_FD
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_SET_MODE
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_ERR_ERROR_STRING
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_GET_ERROR
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_SSL_READ_ALL
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_HB_SSL_READ_LINE
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_READ
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_WRITE
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_SHUTDOWN
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_NEW
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_CTX_NEW
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_RAND_SEED
hbtipssl.lib(client.obj) : error LNK2001: unresolved external symbol _HB_FUN_SSL_INIT
hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__WSAIoctl@36 referenced in function _hb_socketGetIFaces

asw2012.exe : fatal error LNK1120: 16 unresolved externals


I am assuming that the builds previously ( done with the October 2012 version of Harbour ) were OK so they didn't get re-compiled. Now when I rebuild all with the newer version of Harbour, and the current FWH, I have some problems.

I imagine these are just needing a library added to the build.

Any help would be GREATLY appreciated.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Antonio Linares » Fri May 03, 2013 7:34 pm

Tim,

You have to link Harbour hbcplr.lib for HB_CompileFromBuf()
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

Re: Errors in New Build

Postby Antonio Linares » Fri May 03, 2013 7:42 pm

And Harbour hbssl.lib for the SSL ones.

This one I think it is missing from our Harbour distribution. Try with your previous one (just use the hbssl.lib).
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

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 8:00 pm

Down to this one:

hbrtl.lib(hbsocket.obj) : error LNK2019: unresolved external symbol __imp__WSAIoctl@36 referenced in function _hb_socketGetIFaces
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Horizon » Fri May 03, 2013 8:08 pm

back to 13.03.
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 8:23 pm

I'm not going back ... I'm down to one item and I'll be fine.

Also 13.04 is now working fine with the xHarbour.com build ...

ALL problems get resolved here. I've never been hung out over something ... Antonio and others always have the fixes to make problems go away.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Antonio Linares » Fri May 03, 2013 9:24 pm

Tim,

Please check if you have this library: WS2_32.LIB and link it
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

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 9:34 pm

Sorry, but I can't find it on my computer.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 9:49 pm

I found it and can now build the program ...

Then the following code:

Code: Select all  Expand view

// Declare EXTERNAL variables
    MEMVAR aPassWord, hBorland, oMfont, oWnd, oBrush, cPath
    // Declare LOCAL variables
    LOCAL login, xy
    LOCAL retval := .F.
    LOCAL cUser      := SPACE( 20 )
    LOCAL cPass      := SPACE( 20 )
    LOCAL oTmp := tdata():new(, "emuser" )
    LOCAL oBmpg

 // Open the user file
    oTmp:use()
    IF ! FILE( cpath + "emuser.cdx" )
        oTmp:createIndex( "emuser", "upper(userid)",,, .t., 10 )
    ENDIF
    oTmp:setorder( "emuser" )
    oTmp:gotop()
    AFILL( aPassWord, .F. )

    // Build the dialog to log in
    DEFINE DIALOG login RESOURCE "LOGIN" TITLE "MasterLink Software Service Management Login" ;
      BRUSH oBrush TRANSPARENT
    REDEFINE BITMAP oBmpg ID 513 OF login NAME "MLSTR"
    REDEFINE GET cUser ID 101 OF login MESSAGE "Enter your user code"
    REDEFINE GET cPass ID 102 OF login MESSAGE "Enter your unique password"
    REDEFINE BTNBMP RESOURCE "HROK" ID 103 OF login TOOLTIP "Click to Log In" ;
        ACTION login:end( ) MESSAGE "Submit the user and password" NOBORDER TRANSPARENT

    // Activate the dialog
    ACTIVATE DIALOG login CENTERED

 


Yields the following error on startup:

Code: Select all  Expand view

detailled error description
---------------------------
   Error BASE/1003  Variable does not exist: SUPER

Stack-List
----------
   called by TGET:INITIATE(0)
   called by __OBJSENDMSG(0)
   called by OSEND(270)
   called by ASEND(238)
   called by TDIALOG:INITIATE(627)
   called by TDIALOG:HANDLEEVENT(872)
   called by DIALOGBOX(0)
   called by TDIALOG:ACTIVATE(270)
   called by SIGNON(0)
   called by MAIN(0)
   CPU type: Intel(R) Core(TM) i5-2390T CPU @ 2.70GHz -2147483648 Mhz
   Hardware memory: 8138 MB ( available: 5344 MB )
 


This occurs when trying to initiate a very simple Dialog ! The dialog does not even begin to display ...

I bypassed this code, and then built the primary window. ANY Dialog that I tried to create failed. The error is in creating a dialog ( and I'm doing it from resources ).

Harbour 03/13 release, FWH 13.04, MSVC 2010


Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby TimStone » Fri May 03, 2013 10:35 pm

RESOLVED =

On previous versions we had modified tGet and I had the old version in there.

Now we are fine.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Errors in New Build

Postby Antonio Linares » Sat May 04, 2013 12:06 am

Very good :-)
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

Re: Errors in New Build

Postby Richard Chidiak » Sat May 04, 2013 11:45 am

Antonio or Tim

Can tou send me hbssl.lib for harbour/msvc i plan to install fwh 13.04 in the next few days .

Thanks in advance,

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Errors in New Build

Postby Antonio Linares » Sat May 04, 2013 12:52 pm

Richard,

We don't get it built here as we haven't installed openssl (my guess)

I have emailed Tim asking him to send it to me so we publish it here for all users :-)
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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

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