Menu

Open developers discussion

2021-10-04
2021-10-29
  • Wilfried Brunken

    Forum for HWMake developers and posting hints from users.

     
  • Aupeix Alain

    Aupeix Alain - 2021-10-04

    Hi, I have filled short description, features and screenshots. and some others details ...

    A+

     

    Last edit: Aupeix Alain 2021-10-04
  • Aupeix Alain

    Aupeix Alain - 2021-10-08

    Hi,
    I have solved the bug in libhwg_initools, and in hwmake.
    Here is the 1.59 version
    I have removed unneeded files, and update Changelog.

    Thanks
    A+

     
  • Wilfried Brunken

    Hi
    done (Revision 12):
    svn commit -m"Revision 1.59 from archive HwMake Linux 1.59.tar.bz2 \
    delivered by Alain Aupeix alain.aupeix@wanadoo.fr on Fri 08 Oct 2021"

    MNI TNX, 73 es 55 de
    DF7BE

     
  • Aupeix Alain

    Aupeix Alain - 2021-10-09

    Hi,
    I have added 1.59 .tar.bz2
    But I don't know how to remove unneeded files (from commit r2) :
    - .sync.ffs_db

    How to do it ?

    Thanks
    A+

     

    Last edit: Aupeix Alain 2021-10-09
  • Wilfried Brunken

    Hello Alain,
    it is very easy:

    svn update
    Aktualisiere ».«:
    Password:
    Revision 12.

    svn remove .sync.ffs_db
    D .sync.ffs_db
    svn commit -m"Remove unneeded file .sync.ffs_db instructed by Alain Aupaix"
    Password:
    Lösche .sync.ffs_db
    Sende Changelog
    Übertrage Daten .erledigt
    Übertrage Transaktion...
    Revision 13 übertragen.

    Hint:
    Learn more about usage of SVN, a complete free book "svn-book.pdf"
    published in many languages (e.g. german) is available in the
    internet.

    I collected some SVN commands in the developer manual of my
    project CLLOG (doc/de/cllogdev.htm), but i need some time to
    translate it to english.

    MNI TNX, 73 es 55 de
    DF7BE

     
    • Aupeix Alain

      Aupeix Alain - 2021-10-11



      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


      Le 11/10/2021 à 09:22, Wilfried Brunken
      a écrit :



      <meta http-equiv="content-type" content="text/html; charset=UTF-8">

      Hello Alain,

      it is very easy:


      svn update

      Aktualisiere ».«:

      Password:

      Revision 12.


      svn remove .sync.ffs_db

      D .sync.ffs_db

      svn commit -m"Remove unneeded file .sync.ffs_db instructed by
      Alain Aupaix"

      Password:

      Lösche .sync.ffs_db

      Sende Changelog

      Übertrage Daten .erledigt

      Übertrage Transaktion...

      Revision 13 übertragen.




      Thanks



      Hint:

      Learn more about usage of SVN, a complete free book
      "svn-book.pdf"

      published in many languages (e.g. german) is available in the

      internet.




      Nice, I have found it in french.


      About initools, could it be possible to include it in hwgui ?

      I will make a little sample to test it.




      Thanks
      A+

      --



      Alain Aupeix

      Sites web : JujuLand | Pissobi-Lacassagne
      |
      Gadel


      X.ubuntu 16.04 | H.arbour 3.2.0dev (r2021-04-28 18:02) |
      Hw.gui 2.22-4 (r3008) | G.ramps 5.1.2






       
  • Alexander S.Kresin

    About initools, could it be possible to include it in hwgui ?

    We have Harbour's hb_iniRead() and hb_iniWrite() already. Why do we need yet another?

    Regards, Alexander.

     
    • Aupeix Alain

      Aupeix Alain - 2021-10-11



      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">


      Le 11/10/2021 à 10:42, Alexander
      S.Kresin a écrit :



      <meta http-equiv="content-type" content="text/html; charset=windows-1252">


      About initools, could it be possible to include it in hwgui
      ?



      We have Harbour's hb_iniRead() and hb_iniWrite() already. Why
      do we need yet another?




      Yes, but why do we have hwg_GetIni() and hwg_WriteIni() for
      Windows, and not for Linux ?


      That's the purpose of th functions I put in initools.




      A+

      --



      Alain Aupeix

      Sites web : JujuLand | Pissobi-Lacassagne
      |
      Gadel


      X.ubuntu 16.04 | H.arbour 3.2.0dev (r2021-04-28 18:02) |
      Hw.gui 2.22-4 (r3008) | G.ramps 5.1.2






       
  • Alexander S.Kresin

    Yes, but why do we have hwg_GetIni() and hwg_WriteIni() for
    Windows, and not for Linux ?

    I'd like to delete them), but do not do this, because someone, probably, use them.
    Does your functions use the same parameters?

     
  • Aupeix Alain

    Aupeix Alain - 2021-10-11

    Yes, exactly the same parameters.
    But the linux version has an improvment which allows to pass an array.

    In this case :
    cValue is the array
    cEntry is the name of entries which will be indexed

    Example :
    Hwg_WriteIni( "FilesPRG", "prg", aPrgFiles, "hwmake.bld" )

    [FilesPRG]
    prg1="/opt/hwmake/source/colors.prg"
    prg2='/opt/hwmake/source/keyboard.prg"
    prg3= .....

    A+

     
  • Alexander S.Kresin

    Ok, added.

     
  • Aupeix Alain

    Aupeix Alain - 2021-10-25

    Hi Alexander,

    I have just build since you have added initools to hwgui.

    To test it, I just removed hwg_initools.a from hwmake.bld; and I try to build.
    I had the an error with gcc :

    /tmp/ccTJczSl.o:(.data+0x2a50) : référence indéfinie vers « HB_FUN_HWG_GETINI »
    /tmp/ccTJczSl.o:(.data+0x38f0) : référence indéfinie vers « HB_FUN_HWG_WRITEINI »
    /tmp/cc2i61nN.o:(.data+0x1f0) : référence indéfinie vers « HB_FUN_HWG_GETINI »
    /tmp/cc2i61nN.o:(.data+0xab0) : référence indéfinie vers « HB_FUN_HWG_WRITEINI »
    collect2: error: ld returned 1 exit status
    

    So I have a look to src folder, and I found initools.prg.
    So I have then a look to Makefile.linux, and I found that initools wasn't include in Makefile.linux.
    I added it and I tried to build (build.sh)

    alain@Gramps-JujuLand2:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/source/gtk$ cat a?.log
    /usr/local/bin/harbour -n -q -w -es2 -d__LINUX__ -w3 -es2 -I/usr/local/include/harbour -I../../include -o../../obj/initools.c initools.prg
    Makefile.linux:33 : la recette pour la cible « ../../obj/initools.c » a échouée
    make: /usr/local/bin/harbour : commande introuvable
    make: *** [../../obj/initools.c] Erreur 127
    

    So, I run the command in build.sh

    alain@Gramps-JujuLand2:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/source/gtk$ make -fMakefile.linux >a1.log 2>a2.log
    alain@Gramps-JujuLand2:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/source/gtk$ cat a?.log
    gcc -Wall -O3 -DHWG_USE_POINTER_ITEM -c -I./ -I../../include -I/usr/local/include/harbour `pkg-config --cflags gtk+-2.0` -o ../../obj/initools.o ../../obj/initools.c
    Makefile.linux:39 : la recette pour la cible « ../../obj/initools.o » a échouée
    ../../obj/initools.c:7:21: fatal error: hbvmpub.h: Aucun fichier ou dossier de ce type
    compilation terminated.
    make: *** [../../obj/initools.o] Erreur 1
    

    I then tried to add #include "hbvmpub.h"
    It failed.
    I change it to "/usr/include/harbour/hbvmpub.sh".
    I failed too :

    alain@Gramps-JujuLand2:/opt/TuxPrograms/trunks/harbour/addons/hwgui-src/hwgui/source/gtk$ harbour -n -w -es2 -d__LINUX__ -w3 -es2 -I/usr/local/include/harbour -I../../include -o../../obj/initools.c initools.prg
    Harbour 3.2.0dev (r2104281802)
    Copyright (c) 1999-2021, https://harbour.github.io/
    Compiling 'initools.prg'...
    /usr/include/harbour/hbvmpub.h(50) Error F0029  Can't open #include file 'hbdefs.h'
    

    I don't understand ...

     
  • Alexander S.Kresin

    I have inserted it into Makefile.linux (see latest Changelog) and it is build successfully.
    Regards, Alexander.

     
  • Aupeix Alain

    Aupeix Alain - 2021-10-29

    ok, now it's good.
    I just had a problem with Makefile.linux, as my harbour folders wheren't in /usr/local/..., but directly under /usr/...

    Thanks
    A+

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.