Re: [Emc-developers] Linuxcnc gui on c++ gui ... segmentation

2019-12-30 Thread N
> @ N *for sure problem is related to gcc version and qt * because if > run other ubuntu 18.04 with gcc 5.x all work like my develop pc that > contains gcc 5.5. It could also be a coincidence, at least my myself quite often make wrong conclusion then similar errors happen so I use to

Re: [Emc-developers] Linuxcnc gui on c++ gui ... segmentation

2019-12-30 Thread theman whosoldtheworld
Finally sometings change I arrange the code in these manner: const char *nmlfile = "/home/bkt/linuxcnc-dev/configs/common/linuxcnc.nml"; RCS_STAT_CHANNEL *stat = new RCS_STAT_CHANNEL(emcFormat, "emcStatus", "xemc", nmlfile); RCS_CMD_CHANNEL *cmd = new RCS_CMD_CHANNEL(emcFormat,

Re: [Emc-developers] Linuxcnc gui on c++ gui ... segmentation

2019-12-30 Thread theman whosoldtheworld
@ N *for sure problem is related to gcc version and qt * because if run other ubuntu 18.04 with gcc 5.x all work like my develop pc that contains gcc 5.5. Any how now I have other problem related previous post . if(counter>=50 && counter<51) {