mmm ... actually after the upper modification to my code I obtain these error (not building error but compile error)
*reference not defined to: (these the error ... repeat for every call below)* "set_rcs_print_destination" "emcGetArgs" "set_print_rcs_error_info" "print_rcs_error_new" "emc_inifile" "IniFile::Open(char const*)" "set_print_rcs_error_info" "IniFile::Find(char const*, char const*, int, int*)" "emc_nmlfile" "NML::operator new(unsigned long)" "emcFormat(int, void*, CMS*)" "emcFormat (int, void *, CMS *)" "RCS_CMD_CHANNEL::RCS_CMD_CHANNEL(int (*)(int, void*, CMS*), char const*, char const*, char const*, int)" "IniFile::IniFile(int, _IO_FILE*)" "NML::get_address()" "IniFile::Close()" this is my test file ... only for study pourpouse ... so actually signal and slot is not connected ... https://drive.google.com/open?id=1-GMmWgDZ5iuzg_tPnKhYxVj9XX7kfadS Il giorno lun 8 ott 2018 alle ore 17:54 theman whosoldtheworld < [email protected]> ha scritto: > OK .... addind this insclude statement I get no error about messaging ... > > #include "include/cmd_msg.hh" > #include "include/stat_msg.hh" > > but the right call was: > > emcCommandBuffer = new RCS_CMD_CHANNEL(emcFormat, "emcCommand", > "xemc", emc_nmlfile, 0); ..... because, as RCS_STAT_CHANNEL the class > definition is: > > class RCS_STAT_CHANNEL:public NML { > public: > RCS_STAT_CHANNEL(NML_FORMAT_PTR, const char *, const char *, const > char *, int set_to_server = 0); > ~RCS_STAT_CHANNEL(); > RCS_STAT_MSG *get_address() { > return ((RCS_STAT_MSG *) NML::get_address()); > }; > }; > regards > bkt > > > > > > Il giorno lun 8 ott 2018 alle ore 12:59 theman whosoldtheworld < > [email protected]> ha scritto: > >> -2- EMC_NMLFILE is not declared in this scope ... is not recognized as >> "EMC_NMLFILE" .... but as "emc_nmlfile" .... just see .... now I search for >> the reason in Lcnc folder >> >> regards >> bkt >> >> Il giorno mer 3 ott 2018 alle ore 11:12 theman whosoldtheworld < >> [email protected]> ha scritto: >> >>> I know these and the file seems to locate in >>> home/mypc/linuxcnc-dev/src/emc/nml_intf/emccfg.h .... these path is in my >>> .pro file with macro INCLUDEPATH += home/mypc/linuxcnc-dev/src/emc/nml_intf >>> similar to other ..... buth these is an error from the system so : >>> >>> -2- EMC_NMLFILE is not declared in this scope ... why? this question is >>> still valid .... >>> >>> for Inifile ... not understand very well .... in teory emc.hh .... but >>> not know how Inifile inifile; is signed as an error .... is because Lcnc >>> not run? >>> >>> thanks for any suggest >>> >>> bkt >>> >>> Il giorno mar 2 ott 2018 alle ore 20:23 Przemek Klosowski < >>> [email protected]> ha scritto: >>> >>>> On Tue, Oct 2, 2018 at 12:30 PM theman whosoldtheworld >>>> <[email protected]> wrote: >>>> > >>>> > I'm trying to study QtDro and upgrade to the new QT5.11 both in the >>>> > linking library version >>>> > and in the included library version. >>>> > >>>> > Unfortunately I run into two errors that I can not understand: >>>> > >>>> > -1- Inifile inifile; -> inifile is not declared in these scope ... >>>> why? >>>> > -2- EMC_NMLFILE is not declared in this scope ... why? >>>> >>>> I am not familiar with this software, but just on general principle, >>>> you are missing the definitions of the type/class Infiile and the >>>> defined symbol EMC_NMLFILE. >>>> what I'd do is find where they are---e.g. >>>> grep -r EMC_NMLFILE ~ >>>> Hopefully this will find the files that define them, and then you'll >>>> just add them to the compile options. Not LIBS though---it probably >>>> should be something like INCLUDES or some such. >>>> >>>> > >>>> > in my .pro file I add the right >>>> > LIBS += home/mypc/linuxcnc-dev/include >>>> > LIBS += home/mypc/linuxcnc-dev/src >>>> > LIBS += home/mypc/linuxcnc-dev/lib ... etc etc >>>> > >>>> > so the library and class added in #incluse become from righ path >>>> > >>>> > ... >>>> > >>>> > >>>> > >>>> > thanks for every suggest >>>> > bkt >>>> > >>>> > >>>> > https://drive.google.com/open?id=1c6NW9mQN2ypxXtPiCujofYd6zO2SUpnm >>>> > https://drive.google.com/open?id=1pvjWwnKTr2xjkY8OTMTlUUkBJsczP2QH >>>> > >>>> > _______________________________________________ >>>> > Emc-users mailing list >>>> > [email protected] >>>> > https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>>> >>>> _______________________________________________ >>>> Emc-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
