LIBhmg-64.a / LibLibPq-64.a

Moderator: Rathinagiri

User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: LIBhmg-64.a / LibLibPq-64.a

Post by AUGE_OHR »

have search about DLLTOOL.EXE and found out it need some work before with pexports

found pexports here
https://sourceforge.net/projects/mingw/ ... /pexports/

have download *.tar.XZ so what to do with it :?:
have installed mingw-get-setup.exe
have fun
Jimmy
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by jairpinho »

hello guys, I'm having trouble compiling the 64bit libraries follows the error says the .c file was not found but it is in the folder because I used incremental parameter with hbmk2
Attachments
erro build 64bits.png
erro build 64bits.png (28.61 KiB) Viewed 7011 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by jairpinho »

danielmaximiliano wrote: Sat Aug 31, 2019 10:01 pm
under c:\hmg.3.4.4\LIB-64\ i did not LIBhmg-64.a ... where do i get it :?:
p.s. what about LibLibPq.a ... is there a LibLibPq-64.a :?:
Try Unicode
2019_08_31_18_51_58_Window.png2019-08-31 18_56_47-Window.png
hello Daniel how did you compile i get this error message
Attachments
erro build 64bits.png
erro build 64bits.png (28.61 KiB) Viewed 6981 times
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by danielmaximiliano »

Unrar To
C:\hmg.3.4.4\SOURCE\HbPgSql
HbPgSql.rar
(152.97 KiB) Downloaded 297 times
Exec
buildlib64.bat
Exec .jpg
Exec .jpg (203.26 KiB) Viewed 6972 times
LIB-64.png
LIB-64.png (25.26 KiB) Viewed 6972 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by jairpinho »

danielmaximiliano wrote: Mon Sep 02, 2019 6:25 pm Unrar To
C:\hmg.3.4.4\SOURCE\HbPgSql
HbPgSql.rar
Exec
buildlib64.bat
Exec .jpg


LIB-64.png
Hola Daniel, tengo todas las 64 bibliotecas que descargué en el foro, pero quiero aprender a compilar en mi biblioteca de 64 bits, mis bibliotecas de 32 bits pueden compilarse sin problemas, porque la biblioteca 64 da este error al generar la biblioteca. Hay algún problema con el sistema operativo? ¡Demuestra que solo debe ejecutar .bat y tener las carpetas harbor-64 y mingw-64 y todo funciona! pero para mí no funciona solo libs de 32 bits.
use Windows 7 sp1 de 64 bits


english
Hello Daniel, I have all the 64 libs I downloaded in the forum, but I want to learn how to compile on my 64bit lib, my 32bit libs can compile without problems, because lib 64 gives this error when generating lib? Is something wrong with the operating system? You demonstrate that you should only run .bat and have the harbor-64 and mingw-64 folders and everything works! but for me it does not work only 32 bit libs.
use windows 7 sp1 64 bit
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by danielmaximiliano »

Hola Jair, no tengo nada especial. comparto mis carpetas ***64 para que pruebes compilar desde linea de comandos
o desde el IDE, recuerda primero generar todas las librerias.

https://drive.google.com/open?id=1Cw0wE ... hXZdSwAD90
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by jairpinho »

danielmaximiliano wrote: Mon Sep 02, 2019 8:28 pm Hola Jair, no tengo nada especial. comparto mis carpetas ***64 para que pruebes compilar desde linea de comandos
o desde el IDE, recuerda primero generar todas las librerias.

https://drive.google.com/open?id=1Cw0wE ... hXZdSwAD90
Hola Daniel, hice una prueba con tus carpetas y funcionó, luego fui a investigar mi carpeta estaba hablando del archivo Creo que mi antivirus se eliminó, lo descargué nuevamente en el foro y lo instalé en la carpeta hmg funcionó normalmente gracias

english
Hello Daniel, I did a test with your folders and it worked, then I went to investigate my folder was talking file I believe my antivirus deleted, I downloaded again in the forum and installed in the folder hmg worked normally thanks
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by danielmaximiliano »

Que bueno Jair !!!
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: LIBhmg-64.a / LibLibPq-64.a

Post by AUGE_OHR »

danielmaximiliano wrote: Mon Sep 02, 2019 6:25 pm Unrar To
C:\hmg.3.4.4\SOURCE\HbPgSql
HbPgSql.rar
Exec
buildlib64.bat
THX for Upload.

i have download HbPgSql.rar
run buildlib64.bat and got c:\hmg.3.4.4\LIB-64\libtpostgre-64.a
using

Code: Select all

libs=tpostgre-64
i still have Problem and got PQ* Error in Build.Log for my Test Code

---

then i saw MakeLib.bat
rem Builds Harbour library hbpgsql.lib and converts original POstgreSQL libpq.lib (COFF) to OMF format (for Borland)
THAT is what i need :!:

Question : are include 8.4 / 9.5 \libpq.lib for 32 or 64 Bit :?:
i have 64 Bit PG 9.5 LIB from Server and also 64 Bit DLL for Client so i can replace it.

other Problem with MakeLib.bat : it is for BCC32 which is for 32 Bit

how to modify MakeLib.bat and these lines for Ming64 :?:

Code: Select all

  call ..\..\batch\makelibopt.bat hbpgsql h %1 %2 %3 %4 %5 %6 %7 %8 %9
...
  call ..\..\batch\makelibend.bat
need help please
MakeLib.zip
(651 Bytes) Downloaded 281 times
have fun
Jimmy
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: LIBhmg-64.a / LibLibPq-64.a

Post by danielmaximiliano »

i still have Problem and got PQ* Error in Build.Log for my Test Code
I am not a user of any database engine, nor do my network and client applications use servers connected to the web.
If you have a simple example to use, you can upload it and try to help it, also the DLL-64 to see if you can make use of its internal functions from Harbour using callDLL
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply