Error al Crear la libreria de xHarbour con vc 64bits

Error al Crear la libreria de xHarbour con vc 64bits

Postby ruben Dario » 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: Select all  Expand view

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
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia


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

Postby ruben Dario » Wed Oct 18, 2023 2: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
Last edited by ruben Dario on Wed Oct 18, 2023 3:10 pm, edited 2 times in total.
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia


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

Postby ruben Dario » Wed Oct 18, 2023 3: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
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

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

Postby Enrico Maria Giordano » Thu Oct 19, 2023 7:55 am

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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby ruben Dario » Sat Oct 21, 2023 12:55 am

Gracias Enrico
Me funciono
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1069
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia



Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 54 guests