Why did the 64-bit program fail to compile?But 32-bit compilation works.
I am from here download the binaries compiled in 64 bits
https://github.com/asistex/hmg_tools_compilation
HMG 35
harbour 32
mingw 102 release 5
Code: Select all
hbmk2: Linking... test64.exe
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libhmg-64.a when searching for -lhmg-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhmg-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libcrypt-64.a when searching for -lcrypt-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcrypt-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libedit-64.a when searching for -ledit-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ledit-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libeditex-64.a when searching for -leditex-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -leditex-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libgraph-64.a when searching for -lgraph-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgraph-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libini-64.a when searching for -lini-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lini-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libreport-64.a when searching for -lreport-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lreport-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libhfcl-64.a when searching for -lhfcl-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhfcl-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/HMG.3.5/lib-64\libhbvpdf-64.a when searching for -lhbvpdf-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhbvpdf-64
c:/hmg.3.5/mingw-64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibintl-8
collect2.exe: error: ld returned 1 exit status
hbmk2[test64]: Error: Running linker. 1
gcc.exe .hbmk/win/mingw64/Main.o .hbmk/win/mingw64/_hbmkaut_Main.o D:/u盘备份/www/test/_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"libintl-8" -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 -lwinmm -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -otest64.exe -L"C:/HMG.3.5/harbour-64/lib/win/mingw64" -L"C:/HMG.3.5/lib-64"