• Help on how to compile xHarbour Builder.

    From reinaldohf@gmail.com@21:1/5 to All on Sat Aug 26 16:48:38 2023
    I have the following error message:

    Type: C >>>\xhb\bin\bison.exe -o"\xbp\xcc\xhb.exe\harboury.c" -v -d "C:\xHarbour.com\xHarbour-Builder\xcc\source\compiler\harbour.sly"<<<

    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly:1.20-31: syntax error, unexpected {...}

    Type: C >>>Couldn't build: harboury.c<<<

    Thanks in advance,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to reina...@gmail.com on Sat Aug 26 16:58:03 2023
    On Saturday, August 26, 2023 at 6:48:39 PM UTC-5, reina...@gmail.com wrote:
    I have the following error message:

    Type: C >>>\xhb\bin\bison.exe -o"\xbp\xcc\xhb.exe\harboury.c" -v -d "C:\xHarbour.com\xHarbour-Builder\xcc\source\compiler\harbour.sly"<<<

    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly:1.20-31: syntax error, unexpected {...}

    Type: C >>>Couldn't build: harboury.c<<<

    Thanks in advance,

    Reynaldo Henrique

    Which version of Bison? You should get: https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip to get Bison 3.8.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to reina...@gmail.com on Sat Aug 26 17:37:39 2023
    On Saturday, August 26, 2023 at 7:28:58 PM UTC-5, reina...@gmail.com wrote:
    Which version of Bison? You should get: https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip to get Bison 3.8.

    Now I have the error:
    Type: C >>>\xhb\bin\bison.exe -o"\xbp\xcc\xhb.exe\harboury.c" -v -d "C:\xHarbour.com\xHarbour-Builder\xcc\source\compiler\harbour.sly"<<<
    bison.exe: fopen: Permission denied
    Type: C >>>Couldn't build: harboury.c<<<
    Thanks,

    Reynaldo Henrique

    You may want to restart your system.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Sat Aug 26 17:28:56 2023
    Which version of Bison? You should get: https://github.com/lexxmark/winflexbison/releases/download/v2.5.25/win_flex_bison-2.5.25.zip to get Bison 3.8.

    Now I have the error:

    Type: C >>>\xhb\bin\bison.exe -o"\xbp\xcc\xhb.exe\harboury.c" -v -d "C:\xHarbour.com\xHarbour-Builder\xcc\source\compiler\harbour.sly"<<<

    bison.exe: fopen: Permission denied

    Type: C >>>Couldn't build: harboury.c<<<

    Thanks,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Mon Aug 28 13:44:33 2023
    Hi,

    You may want to restart your system.
    Now I have the errors bellow:

    Type: C >>>xcc.exe -Fo"\xbp\xcc\xhb.exe\harboury.obj" -Ot -Zi -DHB_BACK_END=xHarbourBackEnd(szFileName) -D__HB_COMPILER__ -I"\xbp\xcc\xhb.exe" -I"\xHB\include" -I"\xHB\c_include" -I"\xHB\c_include\win" -I"\xHB\c_include\msvc" "\xbp\xcc\xhb.exe\harboury.
    c"<<<

    \xHB\include\harboury.h(237): warning #2099: Missing type specifier. \xHB\include\harboury.h(237): error #2001: Syntax error; found 'hb_comp_yylval' expecting ';'.
    \xHB\include\harboury.h(237): warning #2099: Missing type specifier. \\xbp\\xcc\\xhb.exe\\harboury.c(1041): error #2001: Syntax error; found 'HB_COMP_YYSTYPE' expecting '}'.
    \\xbp\\xcc\\xhb.exe\\harboury.c(1042): error #2156: Unrecognized declaration. \\xbp\\xcc\\xhb.exe\\harboury.c(4401): error #2095: Missing parameter type 'HB_COMP_YYSTYPE'.
    \\xbp\\xcc\\xhb.exe\\harboury.c(4401): warning #2099: Missing type specifier. \\xbp\\xcc\\xhb.exe\\harboury.c(4401): error #2001: Syntax error; found '*' expecting ')'.
    \\xbp\\xcc\\xhb.exe\\harboury.c(4403): error #2048: Undeclared identifier 'yyvaluep'.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): error #2144: Type error: pointer expected.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): error #2113: Left operand of . has incompatible type 'int'.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): error #2113: Left operand of . has incompatible type 'int'.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): error #2144: Type error: pointer expected.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): error #2113: Left operand of . has incompatible type 'int'.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): error #2113: Left operand of . has incompatible type 'int'.
    C:\\xHarbour.com\\xHarbour-Builder\\xcc\\source\\compiler\\harbour.sly(372): warning #2052: Conversion from 'void *' to 'int' is undefined.
    \\xbp\\xcc\\xhb.exe\\harboury.c(4428): warning #2099: Missing type specifier. \\xbp\\xcc\\xhb.exe\\harboury.c(4428): error #2001: Syntax error; found 'hb_comp_yylval' expecting ';'.
    \\xbp\\xcc\\xhb.exe\\harboury.c(4428): warning #2099: Missing type specifier.

    Thank for your help,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Mon Aug 28 14:36:42 2023
    Ignore my previous message.
    I resolved here.

    Thanks

    Reynaldo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Tue Aug 29 06:12:11 2023
    Hi,

    error: invalid xHb setting: incfolder,

    what may a do to resolve the error:


    Thanks,

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From reinaldohf@gmail.com@21:1/5 to All on Tue Aug 29 09:05:32 2023
    Hi Ron,

    Thanks but Eduardo Mota helped me.

    The error disappeared.

    Reynaldo Henrique

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)