FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error al Crear la libreria de xHarbour con vc 64bits
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Error al Crear la libreria de xHarbour con vc 64bits
Posted: Wed Oct 18, 2023 12:25 PM
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 (fw): Select all Collapse
WARNING: __MSC__ is not defined
2      type source\common\hbver.c > obj\vc\hbver.cxx
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error al Crear la libreria de xHarbour con vc 64bits
Posted: Wed Oct 18, 2023 02:37 PM

Which libraries?

Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Error al Crear la libreria de xHarbour con vc 64bits
Posted: Wed Oct 18, 2023 02:58 PM

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

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Error al Crear la libreria de xHarbour con vc 64bits
Posted: Wed Oct 18, 2023 03:11 PM

Gracias enrico.

si ya la habia visto el objetivo era que queria constuirlas.

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error al Crear la libreria de xHarbour con vc 64bits
Posted: Thu Oct 19, 2023 07:55 AM
First: download the current repository from here:

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

Then use this batch:
Code (fw): Select all Collapse
@ 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.
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Error al Crear la libreria de xHarbour con vc 64bits
Posted: Sat Oct 21, 2023 12:55 AM

Gracias Enrico

Me funciono

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error al Crear la libreria de xHarbour con vc 64bits
Posted: Sat Oct 21, 2023 06:45 AM
Great! :-)

Continue the discussion