Menu

#22 GTK-WARNINGS, ERRORS on LINUX UBUNTU 18.08.3 LTS

v1.0_(example)
closed
nobody
1
2020-11-30
2019-09-19
No

Hi Alexander, thanks for your last commit, now enter on numeric pad works.

this is not a real problem, becouse all is working, but when i start or close an app that use hwgui lib i have these messages in the terminal :

1) GLib-GObject-CRITICAL **: 12:16:00.752: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed

2) IA__gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed

3) Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

4) Pango-CRITICAL **: pango_layout_set_text: assertion 'length == 0 || text != NULL' failed

is a my programming fault or a problem in the library, and if it is a problem of the library could be solved

regards

domenico

Discussion

  • Wilfried Brunken

    Posted on 22 Sept 2019:
    Hello,
    i hope this helps you:
    i attched my shell-script for building my HWGUI-App "cllogw" (hwmk.sh).
    It works well and try to use it for your application.
    Modify it for your own needs (resource files, install path ..)
    Please check, that Harbour and HWGUI were built correct,
    see my listing of libs and executables.
    Use -w0, because -w2 prints out a lot of warnings.
    Many success (55) es 73 good luck

    DF7BE, Wilfried

    To Alex:
    i suggest to create a new directory "samples/build-scripts" and put my skript into it.

    HW-Gui libs:
    /home/cltest/hwgui/lib:
    libhbxml.a libhwgdebug.a libhwgui.a libprocmisc.a

    Harbour libs:
    /home/cltest/Harbour/core-master/lib/linux/gcc
    libbz2.a libhbcomio.a libhblang.a libhbsms.a liblzf.a
    libgtalleg.a libhbcomm.a libhblzf.a libhbsqlit3.a libminilzo.a
    libgtcgi.a libhbcommon.a libhbmacro.a libhbssl.a libminizip.a
    libgtcrs.a libhbcpage.a libhbmemio.a libhbtcpio.a libmxml.a
    libgtpca.a libhbcplr.a libhbmisc.a libhbtest.a librddbm.a
    libgtqtc.a libhbct.a libhbmlzo.a libhbtinymt.a librddcdx.a
    libgtsln.a libhbcurl.a libhbmxml.a libhbtip.a librddfpt.a
    libgtstd.a libhbdebug.a libhbmzip.a libhbtpathy.a librddnsx.a
    libgttrm.a libhbexpat.a libhbnetio.a libhbuddall.a librddntx.a
    libgtxwc.a libhbextern.a libhbnf.a libhbunix.a librddsql.a
    libharbour.so libhbformat.a libhbnortl.a libhbusrrdd.a libsddsqlt3.a
    libharbour.so.3.2 libhbfoxpro.a libhbnulrdd.a libhbvm.a libtiff.a
    libharbour.so.3.2.0 libhbfship.a libhboslib.a libhbvmmt.a libtinymt.a
    libhbamf.a libhbgt.a libhbpipeio.a libhbxdiff.a libxdiff.a
    libhbblink.a libhbgzio.a libhbpp.a libhbxpp.a libxhb.a
    libhbbz2.a libhbhpdf.a libhbrdd.a libhbzebra.a
    libhbbz2io.a libhbhsx.a libhbrtl.a libhbziparc.a
    libhbcairo.a libhbhttpd.a libhbsix.a liblibhpdf.a

    /home/cltest/Harbour/core-master/bin/linux/gcc
    harbour hbmk2 hbmk2.es.hbl hbmk2.hu.hbl hbnetio hbtest
    hbformat hbmk2.el.hbl hbmk2.fr.hbl hbmk2.it.hbl hbpp
    hbi18n hbmk2.es_419.hbl hbmk2.gl.hbl hbmk2.pt_BR.hbl hbrun

     
  • Wilfried Brunken

    Hello,
    in addition to my last post i send you my entries added in the .profile of the userid
    compiling Harbour and HWGUI and compiling and running my application.
    I prefer a non root installation, so it is necessary to Set and export environment
    variables
    73 es 55 de DF7BE

    Eigene Erweiterungen

    HARBOUR_INSTALL=$HOME/Harbour/core-master
    PATH=$PATH:$HARBOUR_INSTALL/bin/linux/gcc
    export PATH
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HARBOUR_INSTALL/lib/linux/gcc
    export LD_LIBRARY_PATH

     
  • Wilfried Brunken

    Hello Domenico,
    my Application "CLLOG" is online:
    https://sourceforge.net/projects/cllog/
    I works with Windows 10, Ubuntu 16.04 TLS, Ubuntu 18.04 TLS, MintLinux 19.2 Cinnamon.
    (I have several old computers)
    I hope, this is "example" enough. Some Documents i'll add ASAP (Build instructions, ..), i hope during the following week. Most inline comments are in german, but translation to english started.
    Please send a feedback to Alexander, if you have success, so that he can close the case.

    MNI TNX es with Regards.
    DF7BE, Wilfried

     
  • Wilfried Brunken

    Hello Domenico,
    do you have success during the long period up to today ?
    I think, these GTK messages could be ignored, i have some of these in the
    terminal running my app "CLLOG", but no failure is detected, the app does his job
    correct.
    Could this ticket be closed ?

    With regards,
    MNI TXN, 73 es 55 de
    DF7BE, Wilfried

     
  • domenico d'oria

    domenico d'oria - 2020-08-25

    Ho Wilfried, all is working, these GTK messages for me could be ignored, becouse all software is used in my company, but if you consider them as a customer, probably these are not a good presentation for an app.
    but for me you can close the ticket.

     
  • Maurizio la Cecilia

    • status: open --> closed
     

Log in to post a comment.