• Build Build contents of the xHarbourBuilder folder with VS2022

    From =?UTF-8?Q?Marco_Aur=C3=A9lio?=@21:1/5 to All on Tue Sep 12 05:09:10 2023
    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder into the
    e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in several
    parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Tue Sep 12 14:18:12 2023
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder into
    the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in
    several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?

    As far as I know, xHarbour.com used LLC as C compiler (or something
    similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Marco_Aur=C3=A9lio?=@21:1/5 to All on Tue Sep 12 06:18:55 2023
    Em terça-feira, 12 de setembro de 2023 às 09:18:13 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder into
    the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in
    several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?
    As far as I know, xHarbour.com used LLC as C compiler (or something similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg

    Ok, I will fork the project, and create a branch to try fix the paths, If I'm successful, I'll make a pull request.

    If I have any questions, I'll post them here

    Thanks for a while.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Marco_Aur=C3=A9lio?=@21:1/5 to All on Tue Sep 12 10:51:55 2023
    Em terça-feira, 12 de setembro de 2023 às 14:33:48 UTC-3, Richard Visscher escreveu:
    Hi

    Go into the xHarbourBuilder/xHarbour-Builder folder

    - copy xbldfull-vc8.bat to xbldfull-2022.bat
    - edit this file for what needs to be compiled
    - copy vc8 dir to vc2022
    - edit xbuild.vc8.ini with the correct flags and directorys
    - start a visual prompt
    - run xbldfull-2022.bat
    - run xbldfull2.bat

    make sure the directory xharbour exists with the source files

    xharbour
    - source
    - contribs
    - utils
    - include

    it wil copy the needed *.xbp files into that directory
    and starts building, the compiled libs and exe are copied into the targetfolder defined in the .xbp files


    Richard


    Op dinsdag 12 september 2023 om 15:18:56 UTC+2 schreef Marco Aurélio:
    Em terça-feira, 12 de setembro de 2023 às 09:18:13 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder
    into the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in
    several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?
    As far as I know, xHarbour.com used LLC as C compiler (or something similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Ok, I will fork the project, and create a branch to try fix the paths, If I'm successful, I'll make a pull request.

    If I have any questions, I'll post them here

    Thanks for a while.


    I'm doing this and trying to clean up the file, removing the demo and personal version builds, and correcting the paths so that it's not necessary to copy the files to the \xharbour folder, and I can compile directly from within the git folder. The idea
    is to go to xHarbourBuilder\xHarbour-Builder, type xbldfull and compile everything in the folder.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Visscher@21:1/5 to All on Tue Sep 12 10:33:46 2023
    Hi

    Go into the xHarbourBuilder/xHarbour-Builder folder

    - copy xbldfull-vc8.bat to xbldfull-2022.bat
    - edit this file for what needs to be compiled
    - copy vc8 dir to vc2022
    - edit xbuild.vc8.ini with the correct flags and directorys
    - start a visual prompt
    - run xbldfull-2022.bat
    - run xbldfull2.bat

    make sure the directory xharbour exists with the source files

    xharbour
    - source
    - contribs
    - utils
    - include

    it wil copy the needed *.xbp files into that directory
    and starts building, the compiled libs and exe are copied into the
    targetfolder defined in the .xbp files


    Richard


    Op dinsdag 12 september 2023 om 15:18:56 UTC+2 schreef Marco Aurélio:
    Em terça-feira, 12 de setembro de 2023 às 09:18:13 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder
    into the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in
    several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?
    As far as I know, xHarbour.com used LLC as C compiler (or something similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Ok, I will fork the project, and create a branch to try fix the paths, If I'm successful, I'll make a pull request.

    If I have any questions, I'll post them here

    Thanks for a while.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From culikr@gmail.com@21:1/5 to All on Tue Sep 12 13:30:49 2023
    Marcos

    Build correctly with msvc 2022 here

    before calling xbldfull.bat do
    copy bison.exe to \xharbour\bin
    copy the data folder from the bison instalation to c:\xharbour\bin
    then
    on and command line shell do

    set hb_dir_ads=c:\acesdk\acesdk ( point to where your ace_sdk is)
    set XBUILD_VC8=YES
    XBLDFULL.BAT -ALL

    Regards
    Luiz



    Em terça-feira, 12 de setembro de 2023 às 09:09:12 UTC-3, Marco Aurélio escreveu:
    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder into
    the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in
    several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Marco_Aur=C3=A9lio?=@21:1/5 to All on Tue Sep 12 13:16:27 2023
    Em terça-feira, 12 de setembro de 2023 às 14:51:58 UTC-3, Marco Aurélio escreveu:
    Em terça-feira, 12 de setembro de 2023 às 14:33:48 UTC-3, Richard Visscher escreveu:
    Hi

    Go into the xHarbourBuilder/xHarbour-Builder folder

    - copy xbldfull-vc8.bat to xbldfull-2022.bat
    - edit this file for what needs to be compiled
    - copy vc8 dir to vc2022
    - edit xbuild.vc8.ini with the correct flags and directorys
    - start a visual prompt
    - run xbldfull-2022.bat
    - run xbldfull2.bat

    make sure the directory xharbour exists with the source files

    xharbour
    - source
    - contribs
    - utils
    - include

    it wil copy the needed *.xbp files into that directory
    and starts building, the compiled libs and exe are copied into the targetfolder defined in the .xbp files


    Richard


    Op dinsdag 12 september 2023 om 15:18:56 UTC+2 schreef Marco Aurélio:
    Em terça-feira, 12 de setembro de 2023 às 09:18:13 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder folder
    into the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked that in
    several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?
    As far as I know, xHarbour.com used LLC as C compiler (or something similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Ok, I will fork the project, and create a branch to try fix the paths, If I'm successful, I'll make a pull request.

    If I have any questions, I'll post them here

    Thanks for a while.
    I'm doing this and trying to clean up the file, removing the demo and personal version builds, and correcting the paths so that it's not necessary to copy the files to the \xharbour folder, and I can compile directly from within the git folder. The
    idea is to go to xHarbourBuilder\xHarbour-Builder, type xbldfull and compile everything in the folder.

    I'm starting to make the adjustments, and the first problem arose, in the xbldfull2.bat file there is the following line:

    IF "%_XB_Compiler%"=="vc2022" XCOPY .\bin\vc\harbour.dll \xHB\bin\vc2022 /d /y /i

    but there is no such file, but the file xharbour.dll
    How to proceed?

    And am I on the right path?


    My Fork
    https://github.com/marcoprodata/xharbour/tree/build_vs2022

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to All on Tue Sep 12 13:38:16 2023
    On Tuesday, September 12, 2023 at 3:16:28 PM UTC-5, Marco Aurélio wrote:
    Em terça-feira, 12 de setembro de 2023 às 14:51:58 UTC-3, Marco Aurélio escreveu:
    Em terça-feira, 12 de setembro de 2023 às 14:33:48 UTC-3, Richard Visscher escreveu:
    Hi

    Go into the xHarbourBuilder/xHarbour-Builder folder

    - copy xbldfull-vc8.bat to xbldfull-2022.bat
    - edit this file for what needs to be compiled
    - copy vc8 dir to vc2022
    - edit xbuild.vc8.ini with the correct flags and directorys
    - start a visual prompt
    - run xbldfull-2022.bat
    - run xbldfull2.bat

    make sure the directory xharbour exists with the source files

    xharbour
    - source
    - contribs
    - utils
    - include

    it wil copy the needed *.xbp files into that directory
    and starts building, the compiled libs and exe are copied into the targetfolder defined in the .xbp files


    Richard


    Op dinsdag 12 september 2023 om 15:18:56 UTC+2 schreef Marco Aurélio:
    Em terça-feira, 12 de setembro de 2023 às 09:18:13 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder
    folder into the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked
    that in several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?
    As far as I know, xHarbour.com used LLC as C compiler (or something similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Ok, I will fork the project, and create a branch to try fix the paths, If I'm successful, I'll make a pull request.

    If I have any questions, I'll post them here

    Thanks for a while.
    I'm doing this and trying to clean up the file, removing the demo and personal version builds, and correcting the paths so that it's not necessary to copy the files to the \xharbour folder, and I can compile directly from within the git folder. The
    idea is to go to xHarbourBuilder\xHarbour-Builder, type xbldfull and compile everything in the folder.
    I'm starting to make the adjustments, and the first problem arose, in the xbldfull2.bat file there is the following line:

    IF "%_XB_Compiler%"=="vc2022" XCOPY .\bin\vc\harbour.dll \xHB\bin\vc2022 /d /y /i

    but there is no such file, but the file xharbour.dll
    How to proceed?

    This might be a typo - I don't remember if/when we changed harbour.dll to xharbour.dll or it might be a typo, but I suspect it should be xharbour.dll. FWIW - xbldfull expect you to first build correctly xHarbour itself, using same compiler - If you do
    the \xharbour\bin\vc\xharbour.dll should exist. I truly did not build in over a decade so I might very well be wrong.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From culikr@gmail.com@21:1/5 to All on Tue Sep 12 13:33:06 2023
    Marcos

    dont change the _xb_compiler

    on xharbour root build all xharbour with
    make_vc all
    Regards
    Luiz







    Em terça-feira, 12 de setembro de 2023 às 17:16:28 UTC-3, Marco Aurélio escreveu:
    Em terça-feira, 12 de setembro de 2023 às 14:51:58 UTC-3, Marco Aurélio escreveu:
    Em terça-feira, 12 de setembro de 2023 às 14:33:48 UTC-3, Richard Visscher escreveu:
    Hi

    Go into the xHarbourBuilder/xHarbour-Builder folder

    - copy xbldfull-vc8.bat to xbldfull-2022.bat
    - edit this file for what needs to be compiled
    - copy vc8 dir to vc2022
    - edit xbuild.vc8.ini with the correct flags and directorys
    - start a visual prompt
    - run xbldfull-2022.bat
    - run xbldfull2.bat

    make sure the directory xharbour exists with the source files

    xharbour
    - source
    - contribs
    - utils
    - include

    it wil copy the needed *.xbp files into that directory
    and starts building, the compiled libs and exe are copied into the targetfolder defined in the .xbp files


    Richard


    Op dinsdag 12 september 2023 om 15:18:56 UTC+2 schreef Marco Aurélio:
    Em terça-feira, 12 de setembro de 2023 às 09:18:13 UTC-3, Enrico Maria Giordano escreveu:
    Il 12/09/2023 14:09, Marco Aurélio ha scritto:

    Dear Friends,

    I'm trying to build the contents of the xHarbourBuilder folder with VS2022, I compiled the contents of the xharbour folder and copied it to e:\xharbour, I installed bison in e:\djgpp, then I copied all the contents of the xHarbourBuilder
    folder into the e:\xharbour folder , and then I ran xbldfull.bat from inside the E:\xharbour\xHarbourBuilder\xHarbour-Builder> folder, and the only thing that happened was copying several files, without any compilation. So I opened the file, and checked
    that in several parts it references VC8. Would it be possible for someone with more knowledge than me to add the resources for compilation with VC2022?
    As far as I know, xHarbour.com used LLC as C compiler (or something similar). Are you sure that the source code are compatible with MSC? Ron?

    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    Ok, I will fork the project, and create a branch to try fix the paths, If I'm successful, I'll make a pull request.

    If I have any questions, I'll post them here

    Thanks for a while.
    I'm doing this and trying to clean up the file, removing the demo and personal version builds, and correcting the paths so that it's not necessary to copy the files to the \xharbour folder, and I can compile directly from within the git folder. The
    idea is to go to xHarbourBuilder\xHarbour-Builder, type xbldfull and compile everything in the folder.
    I'm starting to make the adjustments, and the first problem arose, in the xbldfull2.bat file there is the following line:

    IF "%_XB_Compiler%"=="vc2022" XCOPY .\bin\vc\harbour.dll \xHB\bin\vc2022 /d /y /i

    but there is no such file, but the file xharbour.dll
    How to proceed?

    And am I on the right path?


    My Fork
    https://github.com/marcoprodata/xharbour/tree/build_vs2022

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Ron Pinkas on Tue Sep 12 13:40:48 2023
    On Tuesday, September 12, 2023 at 3:38:18 PM UTC-5, Ron Pinkas wrote:
    but there is no such file, but the file xharbour.dll
    How to proceed?
    This might be a typo - I don't remember if/when we changed harbour.dll to xharbour.dll or it might be a typo, but I suspect it should be xharbour.dll. FWIW - xbldfull expect you to first build correctly xHarbour itself, using same compiler - If you do
    the \xharbour\bin\vc\xharbour.dll should exist. I truly did not build in over a decade so I might very well be wrong.

    Luiz, for sure is more up to date than I am.

    Ron

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Marco_Aur=C3=A9lio?=@21:1/5 to All on Tue Sep 12 13:48:10 2023
    Em terça-feira, 12 de setembro de 2023 às 17:40:49 UTC-3, Ron Pinkas escreveu:
    On Tuesday, September 12, 2023 at 3:38:18 PM UTC-5, Ron Pinkas wrote:
    but there is no such file, but the file xharbour.dll
    How to proceed?
    This might be a typo - I don't remember if/when we changed harbour.dll to xharbour.dll or it might be a typo, but I suspect it should be xharbour.dll. FWIW - xbldfull expect you to first build correctly xHarbour itself, using same compiler - If you
    do the \xharbour\bin\vc\xharbour.dll should exist. I truly did not build in over a decade so I might very well be wrong.
    Luiz, for sure is more up to date than I am.

    Ron

    Luiz,

    Setting XBUILD_VC8 will build with vs2022?

    Thanks to advance,

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From culikr@gmail.com@21:1/5 to All on Tue Sep 12 14:05:17 2023
    Marcos

    Yes. thats why first you build xharbour with make_vc all before entering xHarbourBuilder\xHarbour-Builder folder and call xbldfull.bat

    Regards
    Luiz

    Em terça-feira, 12 de setembro de 2023 às 17:48:12 UTC-3, Marco Aurélio escreveu:
    Em terça-feira, 12 de setembro de 2023 às 17:40:49 UTC-3, Ron Pinkas escreveu:
    On Tuesday, September 12, 2023 at 3:38:18 PM UTC-5, Ron Pinkas wrote:
    but there is no such file, but the file xharbour.dll
    How to proceed?
    This might be a typo - I don't remember if/when we changed harbour.dll to xharbour.dll or it might be a typo, but I suspect it should be xharbour.dll. FWIW - xbldfull expect you to first build correctly xHarbour itself, using same compiler - If you
    do the \xharbour\bin\vc\xharbour.dll should exist. I truly did not build in over a decade so I might very well be wrong.
    Luiz, for sure is more up to date than I am.

    Ron
    Luiz,

    Setting XBUILD_VC8 will build with vs2022?

    Thanks to advance,

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