Page 1 of 1

Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 12:00 am
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

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 8:27 am
by Enrico Maria Giordano
Just rename this directory:

lib\3rd\win\bcc

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 8:31 am
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

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 2:37 pm
by ruben Dario
Borre
delete harbour/lib/3rd/win/bcc

y sigue igual

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 2:51 pm
by Enrico Maria Giordano
You did something wrong. Please double check. The solution I gave is 100% working. Try to download the repository again.

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 4:56 pm
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

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 5:13 pm
by Enrico Maria Giordano
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.

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 5:25 pm
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

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 5:39 pm
by Enrico Maria Giordano
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

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Fri Oct 20, 2023 8:34 pm
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 muchos cambios para hacerlas para gcc y vc

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Sat Oct 21, 2023 6:54 am
by Enrico Maria Giordano
Unfortunately, hbmk2.exe does not work with BCC64 7.60 and I'm still investigating. I'll keep you updated.

Re: Falta unicows.dll al crear librerias con Harbour

PostPosted: Sat Oct 21, 2023 3:01 pm
by ruben Dario
Saudos
Enrico, hay perdona por el ingles pero no soy experto.

Thank you for your information, enrico, I appreciate your collaboration