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

LIBhmg-64.a / LibLibPq-64.a

Post by AUGE_OHR »

hi,

i try HMG 64 bit and have download 3 Files

HMG.3.4.4.Setup.exe
HMG.3.4.4.Setup.exe "HARBOUR-64 (nightly 2016-04-20).rar"
MinGW-64_ver.5.3.0.rar

after install HMG.3.4.4.Setup.exe i have copy *.RAR file into c:\hmg.3.4.4\
than i run _BuildAllLib64.bat -> OK

now i start IDE and try c:\hmg.3.4.4\hmg64.hbp but it fail with
Harbour 3.2.0dev (r1604201603)
Copyright (c) 1999-2016, http://harbour-project.org/
C:/hmg.3.4.4/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhmg-64
...
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 :?:
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 »

AUGE_OHR wrote: Sat Aug 31, 2019 5:34 am hi,

i try HMG 64 bit and have download 3 Files

HMG.3.4.4.Setup.exe
HMG.3.4.4.Setup.exe "HARBOUR-64 (nightly 2016-04-20).rar"
MinGW-64_ver.5.3.0.rar

after install HMG.3.4.4.Setup.exe i have copy *.RAR file into c:\hmg.3.4.4\
than i run _BuildAllLib64.bat -> OK

now i start IDE and try c:\hmg.3.4.4\hmg64.hbp but it fail with
Harbour 3.2.0dev (r1604201603)
Copyright (c) 1999-2016, http://harbour-project.org/
C:/hmg.3.4.4/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhmg-64
...
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 :?:
Follow
viewtopic.php?f=43&t=5198
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
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 »

hi,
jairpinho wrote: Sat Aug 31, 2019 6:55 pm Follow
viewtopic.php?f=43&t=5198
thx for Link.

i have download these 3 files an search in that Thread for "Libpq" but there is nothing.
also search in Forum does not give any result :?:

---

i have read about DLLTOOL.EXE (c:\hmg.3.4.4\MinGW-64\x86_64-w64-mingw32\bin\dlltool.exe) but there is not help how to use it. :|

with BCC and 32 Bit i can use this
In cmd, type:

Code: Select all

implib -a libpq.lib libpq.dll.
the libpq.lib is generate.

how to do it with Ming64 :?:
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 »

AUGE_OHR wrote: Sat Aug 31, 2019 9:09 pm hi,
jairpinho wrote: Sat Aug 31, 2019 6:55 pm Follow
viewtopic.php?f=43&t=5198
thx for Link.

i have download these 3 files an search in that Thread for "Libpq" but there is nothing.
also search in Forum does not give any result :?:

---

i have read about DLLTOOL.EXE (c:\hmg.3.4.4\MinGW-64\x86_64-w64-mingw32\bin\dlltool.exe) but there is not help how to use it. :|

with BCC and 32 Bit i can use this
In cmd, type:

Code: Select all

implib -a libpq.lib libpq.dll.
the libpq.lib is generate.

how to do it with Ming64 :?:

hello, at 64 bits we don't have much support because hmg is stuck in your 32 bit update and was starting at 64bits, i couldn't use mysql at 64bits, we are trying to solve our problems here on the forum and sometimes we have the masters that They have already worked on this project to help us according to their available time.

viewtopic.php?f=5&t=5362&p=52182&hilit= ... bit#p52182
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 »

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.png
2019_08_31_18_51_58_Window.png (67.2 KiB) Viewed 8708 times
2019-08-31 18_56_47-Window.png
2019-08-31 18_56_47-Window.png (7.56 KiB) Viewed 8708 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 »

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 »

Builds Harbour library hbpgsql.lib and converts original POstgreSQL libpq.lib (COFF) to OMF format (for Borland) in Minigui Extended
HbPgSql.rar
(152.78 KiB) Downloaded 328 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. 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: Sat Aug 31, 2019 10:26 pm Builds Harbour library hbpgsql.lib and converts original POstgreSQL libpq.lib (COFF) to OMF format (for Borland) in Minigui Extended
HbPgSql.rar
THX for CLASS TPQServer
have fun
Jimmy
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 »

thx all for your Answer.

i have use c:\hmg.3.4.4\_BuildAllLib64.bat but it does not include
c:\hmg.3.4.4\SOURCE\HMGSQL\
to build HMG_SQL_Bridge libhmgpgsql.a

---

file LIB-64.ZIP*** include libhmgpgsql-64.a so i will try that.
*** hmgforum.com/viewtopic.php?f=46&t=5479&p=53574
have fun
Jimmy
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 »

AUGE_OHR wrote: Sun Sep 01, 2019 3:43 am file LIB-64.ZIP*** include libhmgpgsql-64.a so i will try that.
does not help when have no LibLibPg-64.a :cry:

i have 32 Bit

Code: Select all

c:\hmg.3.4.4\HARBOUR\lib\win\mingw\liblibpq.a
i search for 64 Bit Version but not find under

Code: Select all

c:\hmg.3.4.4\HARBOUR-64\lib\win\mingw64\
or somewhere else (Everything Search)

my *.HBC

Code: Select all

libpaths=c:\hmg.3.4.4\LIB-64
libs=hmgpgsql-64
libpaths=c:\hmg.3.4.4\HARBOUR\lib\win\mingw
libs=libpq
mt=yes
i and i got this
Harbour 3.2.0dev (r1604201603)
Copyright (c) 1999-2016, http://harbour-project.org/
C:/hmg.3.4.4/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible c:/hmg.3.4.4/HARBOUR/lib/win/mingw\liblibpq.a when searching for -llibpq
C:/hmg.3.4.4/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibpq
collect2.exe: error: ld returned 1 exit status
hbmk2[DBF2PG3]: Error: Running linker. 1
gcc.exe R:/Temp/hbmk_ofj64e.dir/DBF2PG2.o R:/Temp/hbmk_ofj64e.dir/PGRDD.o R:/Temp/hbmk_ofj64e.dir/tpostgre.o R:/Temp/hbmk_ofj64e.dir/hbmk_6xeh0k.o D:/ALASKA/_hrb_dev/HB3/DBF2PG/64/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mwindows -Wl,--start-group -l"hmg-64" -l"crypt-64" -l"edit-64" -l"editex-64" -l"graph-64" -l"ini-64" -l"report-64" -l"hfcl-64" -lmsvfw32 -lvfw32 -l"hbvpdf-64" -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lhbodbc -lodbc32 -lhbhpdf -lhbnetio -lxhb -lpng -llibhpdf -lhbzebra -l"hmgpgsql-64" -llibpq -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oDBF2PG3.exe -L"C:/hmg.3.4.4/harbour-64/lib/win/mingw64" -L"C:/hmg.3.4.4/lib-64" -L"c:/hmg.3.4.4/LIB-64" -Lc:/hmg.3.4.4/HARBOUR/lib/win/mingw


have fun
Jimmy
Post Reply