Page 1 of 5

LIBhmg-64.a / LibLibPq-64.a

Posted: Sat Aug 31, 2019 5:34 am
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 :?:

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

Posted: Sat Aug 31, 2019 6:55 pm
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

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

Posted: Sat Aug 31, 2019 9:09 pm
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 :?:

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

Posted: Sat Aug 31, 2019 9:49 pm
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

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

Posted: Sat Aug 31, 2019 10:01 pm
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 8716 times
2019-08-31 18_56_47-Window.png
2019-08-31 18_56_47-Window.png (7.56 KiB) Viewed 8716 times

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

Posted: Sat Aug 31, 2019 10:16 pm
by jairpinho

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

Posted: Sat Aug 31, 2019 10:26 pm
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

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

Posted: Sun Sep 01, 2019 3:30 am
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

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

Posted: Sun Sep 01, 2019 3:43 am
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

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

Posted: Sun Sep 01, 2019 5:56 am
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