Where are located definition of class RCS_CMD_CHANNEL ??
I try to use it on my c++ program but everytime compare the warning:
warning: ‘emcCommandBuffer’ has incomplete type static RCS_CMD_CHANNEL
*emcCommandBuffer = 0;
and than some error such as:
error: invalid use of incomplete type ‘class R
On Mon, Oct 8, 2018 at 8:54 AM theman whosoldtheworld
wrote:
>
> Where are located definition of class RCS_CMD_CHANNEL ??
It's in src/libnml/nml/cmd_msg.hh
cscope is really good at answering questions like this.
--
Sebastian Kuzminsky
___
Emc-user
Refer to our testsuite for a simple standalone "UI" program which is
tested to correctly link in every build of LinuxCNC.
https://github.com/LinuxCNC/linuxcnc/blob/master/tests/build/ui/nml-position-logger.cc
Removing the inclusion of "emc_nml.hh" causes errors similar to the ones
you encountered
Thaks to all for the reply ... I try to do these (see the link wit NEW
qtdro.cpp file && qtdro.pro file) ...
https://drive.google.com/file/d/1Beefv6R0g2f3az3_0n-smr9Q5rYZ4WgM/view?usp=sharing
and obtain these type of error:
qtdro.cpp:90: error: invalid static_cast from type ‘RCS_STAT_MSG*’ to typ
I try to make some change to mi qtdro.pro file ... (see the new link) ...
https://drive.google.com/file/d/1tQRPmSvsVtKzujWfG5mLW2WzxOooIL6v/view?usp=sharing
(in the code NOTE the reinterpreted_cast in these way no build error
about with simply static_cast I have more error)
but obtain still