Page 1 of 1

Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Wed Oct 18, 2023 12:25 pm
by ruben Dario
Saludos.
Estoy tratando de crear las Librerias de Xharbour para (Microsoft Visual Studio\2022) vc de 64 bits y me da error con 32 bist la construyo bien
lo ejecuto asi make_vc all
este es el error

Code: Select all  Expand view

WARNING: __MSC__ is not defined
2      type source\common\hbver.c > obj\vc\hbver.cxx
 

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Wed Oct 18, 2023 2:37 pm
by Enrico Maria Giordano
Which libraries?

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Wed Oct 18, 2023 2:58 pm
by ruben Dario
Saludos Enrico,
Lo que quiero es construir la librerias de xHarbour con vc (VIsual Studio 2022) de 64bits

Tambien he tratado de construirlos con gcc (MINGW) para 32 y 64 bits no me da errores

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Wed Oct 18, 2023 3:08 pm
by Enrico Maria Giordano

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Wed Oct 18, 2023 3:11 pm
by ruben Dario
Gracias enrico.
si ya la habia visto el objetivo era que queria constuirlas.

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Thu Oct 19, 2023 7:55 am
by Enrico Maria Giordano
First: download the current repository from here:

http://xharbour.org/index.asp?page=download/sources

Then use this batch:

Code: Select all  Expand view
@ ECHO OFF

SET MSC=put your path here!!!

SET __MSC__=1
SET USE_MSVCRT=1

SET CC_DIR=%MSC%

SET CFLAGS=-O1

SET HB_ARCH=64

SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
SET LIB=%MSC%\lib;%MSC%\lib\sdk

REM SET HB_DIR_OPENSSL=e:\xhbsvn\openssl-win64

SET HB_GUI=1
SET HB_NO_BACKGROUND=1
SET HB_NO_DV_MEMCPY=1
SET HB_NO_FM_DL_ALLOC=1
SET HB_NO_VM_ALL=1

CALL make_vc clean
CALL make_vc core
CALL make_vc contrib

PAUSE


Try and let me know.

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Sat Oct 21, 2023 12:55 am
by ruben Dario
Gracias Enrico
Me funciono

Re: Error al Crear la libreria de xHarbour con vc 64bits

PostPosted: Sat Oct 21, 2023 6:45 am
by Enrico Maria Giordano
Great! :-)