Page 1 of 1

hbvpdf-64

Posted: Sat Sep 28, 2019 7:26 am
by AUGE_OHR
have made other Test with

Code: Select all

c:\hmg.3.4.4\SOURCE\hbvpdf\tests\pdf_demo.prg
have build Libs before and it work with 32 Bit. :!:
when press F5 under 64 Bit it fail :evil: ... while using wrong LIB :?:
hbmk2: Processing local make script: hbmk.hbm
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 -lhbvpdf
collect2.exe: error: ld returned 1 exit status
hbmk2[demo]: Error: Running linker. 1
gcc.exe R:/Temp/hbmk_nec2al.dir/pdf_demo.o R:/Temp/hbmk_nec2al.dir/hbmk_qdsodz.o C:/hmg.3.4.4/SOURCE/hbvpdf/tests/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mwindows -Wl,--start-group -lhbvpdf -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 -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 -odemo.exe -L"C:/hmg.3.4.4/harbour-64/lib/win/mingw64" -L"C:/hmg.3.4.4/lib-64"
than i add

Code: Select all

libpaths=c:\hmg.3.4.4\LIB-64
libs=hbvpdf-64
hbmk2: Processing local make script: hbmk.hbm
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 -lhbvpdf
collect2.exe: error: ld returned 1 exit status
hbmk2[demo]: Error: Running linker. 1
gcc.exe R:/Temp/hbmk_jgjtga.dir/pdf_demo.o R:/Temp/hbmk_jgjtga.dir/hbmk_sxdqoc.o C:/hmg.3.4.4/SOURCE/hbvpdf/tests/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mwindows -Wl,--start-group -lhbvpdf -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 -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 -odemo.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"
as i can say it have "-lhbvpdf" before "-lhbvpdf-64" so it fail under 64 Bit.

Re: hbvpdf-64

Posted: Sun Sep 29, 2019 12:59 am
by AUGE_OHR
hi,

got it :D
hbmk2: Processing local make script: hbmk.hbm
so i look into hbmk.hbm

Code: Select all

../hbvpdf.hbc
-w3 -es2 
this is for 32 Bit :!:

i change it into

Code: Select all

../hbvpdf-64.hbc
-w3 -es2 
and Voila , now it work under 64 Bit

Re: hbvpdf-64

Posted: Sun Sep 29, 2019 7:31 am
by serge_girard
Great !