FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Falta unicows.dll al crear librerias con Harbour
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Falta unicows.dll al crear librerias con Harbour
Posted: 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

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 08:27 AM

Just rename this directory:

lib\3rd\win\bcc

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 08: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
    
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 02:37 PM

Borre

delete harbour/lib/3rd/win/bcc

y sigue igual

Ruben Dario Gonzalez
Cali-Colombia
rubendariogd@hotmail.com - rubendariogd@gmail.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 02:51 PM

You did something wrong. Please double check. The solution I gave is 100% working. Try to download the repository again.

Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 04: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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 05:13 PM
You don't have to disable anything. You only have to rename the directory
Code (fw): Select all Collapse
lib\3rd\win\bcc
And then rebuild everything with
Code (fw): Select all Collapse
win-make.exe clean install
Nothing else.
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 05: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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 05:39 PM
This is the batch I'm using:
Code (fw): Select all Collapse
@ 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
Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Fri Oct 20, 2023 08: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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Sat Oct 21, 2023 06:54 AM

Unfortunately, hbmk2.exe does not work with BCC64 7.60 and I'm still investigating. I'll keep you updated.

Posts: 1078
Joined: Thu Sep 27, 2007 03:47 PM
Re: Falta unicows.dll al crear librerias con Harbour
Posted: Sat Oct 21, 2023 03: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

Continue the discussion