Falta unicows.dll al crear librerias con Harbour

Falta unicows.dll al crear librerias con Harbour

Postby ruben Dario » Fri Oct 20, 2023 12:00 am

Saludos al forum

S.O windows 11
Trato de crear las librerias de harbour con bcc
me da este error falta unicows.dll
Ya hice este procedimiento y sigue igual.
Copia el fichero:
c:\harbour\lib\3rd\win\bcc\unicows.lib
a la carpeta:
c:\bcc76\lib\psdk\unicows.lib
Last edited by ruben Dario on Fri Oct 20, 2023 2:41 pm, edited 1 time in total.
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia


Re: Falta unicows.dll al crear librerias con Harbour

Postby Enrico Maria Giordano » Fri Oct 20, 2023 8:31 am

Reference:

2012-09-11 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
* harbour/config/win/bcc.mk
+ added support for BCC6.5 - please verify me.
; unicows library does not support BCC 6.5. BCC users who want
to compile Harbour should delete harbour/lib/3rd/win/bcc directory.
TODO: add build time option to disable unicows in windows harbour
builds
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Falta unicows.dll al crear librerias con Harbour

Postby ruben Dario » Fri Oct 20, 2023 2:37 pm

Borre
delete harbour/lib/3rd/win/bcc

y sigue igual
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Falta unicows.dll al crear librerias con Harbour

Postby Enrico Maria Giordano » Fri Oct 20, 2023 2:51 pm

You did something wrong. Please double check. The solution I gave is 100% working. Try to download the repository again.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Falta unicows.dll al crear librerias con Harbour

Postby ruben Dario » Fri Oct 20, 2023 4:56 pm

Gracias Enrico
como lo desabilito
add build time option to disable unicows in windows harbour

Agregar la opción de tiempo de compilación para deshabilitar unicows en Windows Harbor
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Falta unicows.dll al crear librerias con Harbour

Postby Enrico Maria Giordano » Fri Oct 20, 2023 5:13 pm

You don't have to disable anything. You only have to rename the directory

Code: Select all  Expand view
lib\3rd\win\bcc


And then rebuild everything with

Code: Select all  Expand view
win-make.exe clean install


Nothing else.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Falta unicows.dll al crear librerias con Harbour

Postby ruben Dario » Fri Oct 20, 2023 5:25 pm

Gracias Enrico
Esto fue lo que hice

Me podrias proporcionar el .bat o que defines antes de ejecutar win-make.exe clean install
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Falta unicows.dll al crear librerias con Harbour

Postby Enrico Maria Giordano » Fri Oct 20, 2023 5:39 pm

This is the batch I'm using:

Code: Select all  Expand view
@ ECHO OFF

SET PATH=your_BCC32\bin_path
SET HB_INSTALL_PREFIX=%cd%\harbour32

SET HB_USER_CFLAGS=-w-spa -w-sus
SET HB_USER_LDFLAGS=-ap

SET HB_BUILD_DYN=no
SET HB_BUILD_CONTRIB_DYN=no

win-make clean install

PAUSE
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Falta unicows.dll al crear librerias con Harbour

Postby ruben Dario » Fri Oct 20, 2023 8:34 pm

Gracias Enrico
Ya funciono

Lo que veo me crea 92 librerias.

Para 64 bits como seria,por que no funciona
tomo el mismo y cambio el path del bc

Hay muchos cambios para hacerlas para gcc y vc
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Re: Falta unicows.dll al crear librerias con Harbour

Postby Enrico Maria Giordano » Sat Oct 21, 2023 6:54 am

Unfortunately, hbmk2.exe does not work with BCC64 7.60 and I'm still investigating. I'll keep you updated.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Falta unicows.dll al crear librerias con Harbour

Postby ruben Dario » Sat Oct 21, 2023 3:01 pm

Saudos
Enrico, hay perdona por el ingles pero no soy experto.

Thank you for your information, enrico, I appreciate your collaboration
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
ruben Dario
 
Posts: 1070
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 46 guests