Working on a JSON Project

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

User avatar
sudip
Posts: 1446
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 5 times
Been thanked: 1 time

Re: Working on a JSON Project

Post by sudip » Thu Mar 28, 2019 12:35 pm

Hello Rathi,

Thanks a ton. I have a few days to work for my own. Your codes will be helpful for me.
With best regards,
Sudip

User avatar
sudip
Posts: 1446
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 5 times
Been thanked: 1 time

Post by sudip » Thu Mar 28, 2019 2:21 pm

Hello,
When I am trying to compile, getting a blank error screen and following error.log:
hbmk2: Linking... json.exe
C:/hmg/mingw/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmgsqlite
collect2.exe: error: ld returned 1 exit status
hbmk2[json]: Error: Running linker. 1
gcc.exe .hbmk/win/mingw/Main.o .hbmk/win/mingw/about.o .hbmk/win/mingw/htmlcreate.o .hbmk/win/mingw/htmlreport.o .hbmk/win/mingw/htmlviewer.o .hbmk/win/mingw/xlexport.o .hbmk/win/mingw/xmlcreate.o .hbmk/win/mingw/_hbmkaut_Main.o C:/HMGProjects/HBJSON3.0/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbmysql -lmysql -lhbfimage -lhbpgsql -lsddmy -lhbvpdf -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lhbodbc -lodbc32 -lhbhpdf -lhbnetio -lxhb -lpng -llibhpdf -lhbzebra -lhmgsqlite -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 -ojson.exe -LC:/hmg/harbour/lib/win/mingw -LC:/hmg/lib

Here is the build.log:
hbmk2: Linking... json.exe
C:/hmg/mingw/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lhmgsqlite
collect2.exe: error: ld returned 1 exit status
hbmk2[json]: Error: Running linker. 1
gcc.exe .hbmk/win/mingw/Main.o .hbmk/win/mingw/about.o .hbmk/win/mingw/htmlcreate.o .hbmk/win/mingw/htmlreport.o .hbmk/win/mingw/htmlviewer.o .hbmk/win/mingw/xlexport.o .hbmk/win/mingw/xmlcreate.o .hbmk/win/mingw/_hbmkaut_Main.o C:/HMGProjects/HBJSON3.0/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbmysql -lmysql -lhbfimage -lhbpgsql -lsddmy -lhbvpdf -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lhbodbc -lodbc32 -lhbhpdf -lhbnetio -lxhb -lpng -llibhpdf -lhbzebra -lhmgsqlite -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 -ojson.exe -LC:/hmg/harbour/lib/win/mingw -LC:/hmg/lib

As I'm using HMG after a long time, I couldn't solve it now. Can anyone please help me.

Thanks in advance ;-)
With best regards,
Sudip

Post Reply