Falta unicows.dll al crear librerias con Harbour

Post Reply
User avatar
ruben Dario
Posts: 1070
Joined: Thu Sep 27, 2007 3:47 pm
Location: Colombia

Falta unicows.dll al crear librerias con Harbour

Post by ruben Dario »

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

Re: Falta unicows.dll al crear librerias con Harbour

Post by Enrico Maria Giordano »

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

Re: Falta unicows.dll al crear librerias con Harbour

Post by ruben Dario »

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

y sigue igual
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Falta unicows.dll al crear librerias con Harbour

Post by Enrico Maria Giordano »

You did something wrong. Please double check. The solution I gave is 100% working. Try to download the repository again.
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

Post by ruben Dario »

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

Re: Falta unicows.dll al crear librerias con Harbour

Post by Enrico Maria Giordano »

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

Code: Select all | Expand

lib\3rd\win\bcc
And then rebuild everything with

Code: Select all | Expand

win-make.exe clean install
Nothing else.
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

Post by ruben Dario »

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

Re: Falta unicows.dll al crear librerias con Harbour

Post by Enrico Maria Giordano »

This is the batch I'm using:

Code: Select all | Expand

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

Re: Falta unicows.dll al crear librerias con Harbour

Post by ruben Dario »

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 _ para hacerlas para gcc y vc
Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Falta unicows.dll al crear librerias con Harbour

Post by Enrico Maria Giordano »

Unfortunately, hbmk2.exe does not work with BCC64 7.60 and I'm still investigating. I'll keep you updated.
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

Post by ruben Dario »

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
Post Reply