compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

Postby gabo » Tue Dec 04, 2018 1:02 am

Hola!
Alguien ha podido compilar TDolphing con msys64/cLang a 64 Bits.. me marca algunos errores y no logro crear la libreria :-(
    Harbour 3.4.0dev () (2017-12-20 13:40)
    Copyright (c) 1999-2017, https://github.com/vszakats/harbour-core/
    Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpexp.prg'...
    Lines 1201, Functions/Procedures 0
    Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpexp.c'... Done.
    Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpqry.prg'...
    Lines 3369, Functions/Procedures 45
    Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c'... Done.
    Compiling 'E:\ToolsDeveloper\tdolphin\source\prg\tdolpsrv.prg'...
    Lines 4438, Functions/Procedures 86
    Generating C source output to 'C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpsrv.c'... Done.
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    clang++.exe: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecate]
    In file included from C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c:3:
    In file included from E:\ToolsDeveloper\harbour-core-3.4.0\include\hbvmpub.h:50:
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:159:22: warning: 'long long' is a C++11 extension
    [-Wc++11-long-long]
    typedef signed long long HB_LONGLONG;
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:160:24: warning: 'long long' is a C++11 extension
    [-Wc++11-long-long]
    typedef unsigned long long HB_ULONGLONG;
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:528:7: warning: 'long long' is a C++11 extension
    [-Wc++11-long-long]
    # if HB_VMLONG_MAX > HB_LL( 9999999999 )
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:444:34: note: expanded from macro 'HB_VMLONG_MAX'
    # define HB_VMLONG_MAX LONGLONG_MAX
    ^
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:176:37: note: expanded from macro 'LONGLONG_MAX'
    #define LONGLONG_MAX _I64_MAX
    ^
    E:\msys64\mingw32\i686-w64-mingw32\include\limits.h:71:18: note: expanded from macro '_I64_MAX'
    #define _I64_MAX 9223372036854775807ll
    ^
    In file included from C:\Users\gabri\AppData\Local\Temp\hbmk_yrcheq.dir\tdolpqry.c:3:
    In file included from E:\ToolsDeveloper\harbour-core-3.4.0\include\hbvmpub.h:50:
    E:\ToolsDeveloper\harbour-core-3.4.0\include/hbdefs.h:528:23: warning: 'long long' is a C++11 extension
Saludos!
Gabriel Ornelas
gabo
 
Posts: 128
Joined: Tue Jan 03, 2006 8:31 pm

Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

Postby xmanuel » Tue Dec 04, 2018 6:21 pm

Parece que no hay errores...
______________________________________________________________________________
Sevilla - Andalucía
xmanuel
 
Posts: 763
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla

Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

Postby gabo » Tue Dec 04, 2018 8:10 pm

xmanuel wrote:Parece que no hay errores...

Gracias Manuel!
Revisare entonce a detalle en donde queda la libreria.. Pero parece que si Hay !
ya logre quitar la mayoria solo me faltan lo siguientes
    E:\ToolsDeveloper\tdolphin\source\c\function.c:572:4: error: unknown type name 'UINT'
    UINT ui, uiNumFields;
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:578:7: error: use of undeclared identifier 'uiNumFields'
    uiNumFields = hb_parnl( 2 );
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:580:7: error: use of undeclared identifier 'uiNumFields'
    uiNumFields = mysql_num_fields( mresult );
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:587:41: error: use of undeclared identifier 'uiNumFields'
    itRow = hb_itemArrayNew( uiNumFields );
    ^
    E:\ToolsDeveloper\tdolphin\source\c\function.c:588:25: error: use of undeclared identifier 'uiNumFields'
    for ( ui = 0; ui < uiNumFields; ui++ )

    E:\ToolsDeveloper\tdolphin\source\c\function.c:1112:41: error: use of undeclared identifier 'FALSE'
    iSize = hb_fsFSize( szFile, FALSE );

    E:\ToolsDeveloper\tdolphin\source\c\function.c:1118:60: error: expected expression
    iSize = hb_fsReadLarge( fHandle , ( BYTE * ) FromBuffer , iSize );

    E:\ToolsDeveloper\tdolphin\source\c\function.c:1133:26: error: use of undeclared identifier 'TRUE'
    bResult = TRUE ;
Alguna idea ?
Saludos!
gabo
 
Posts: 128
Joined: Tue Jan 03, 2006 8:31 pm

Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

Postby xmanuel » Fri Dec 07, 2018 9:41 am

Pordrias probar a cambiar:

UINT por HB_UINT
FALSE por HB_FALSE
y
TRUE por HB_TRUE
______________________________________________________________________________
Sevilla - Andalucía
xmanuel
 
Posts: 763
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla

Re: compilar TDolphin Harbour 3.4 alguien que me pueda orientar?

Postby xmanuel » Fri Dec 07, 2018 9:42 am

iSize = hb_fsReadLarge( fHandle , ( BYTE * ) FromBuffer , iSize );
por
iSize = hb_fsReadLarge( fHandle , ( void * ) FromBuffer , iSize );
______________________________________________________________________________
Sevilla - Andalucía
xmanuel
 
Posts: 763
Joined: Sun Jun 15, 2008 7:47 pm
Location: Sevilla


Return to FiveWin para Harbour/xHarbour

Who is online

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