Hallo Jeff,
you push solved that problem, but there is another error.
In short:
Compiling emc/rs274ngc/nurbs_additional_functions.cc
Compiling emc/rs274ngc/interp_namedparams.cc
Compiling emc/rs274ngc/interp_python.cc
Compiling emc/rs274ngc/interp_remap.cc
emc/rs274ngc/interp_remap.cc: In member function ‘int
Interp::add_parameters(setup*, block*, char*)’:
emc/rs274ngc/interp_remap.cc:200: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:201: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:202: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:203: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:204: error: ‘end’ is not a member of ‘std’
make: *** [objects/emc/rs274ngc/interp_remap.o] Fehler 1
(.virtualenv)emcmesa@emc-mesa:~/linuxcnc-org/src$
or with V=1 Flag:
Compiling emc/rs274ngc/interp_remap.cc
g++ -c -I. -Ilibnml/linklist -Ilibnml/cms -Ilibnml/rcs -Ilibnml/inifile
-Ilibnml/os_intf -Ilibnml/nml -Ilibnml/buffer -Ilibnml/posemath -Irtapi
-Ihal -Iemc/nml_intf -Iemc/kinematics -Iemc/tp -Iemc/motion -Iemc/ini
-Iemc/rs274ngc -Iemc/pythonplugin
-I/usr/realtime-2.6.32-122-rtai/include -I/usr/include/python2.7 -g -O2
-std=c++0x -DULAPI -g -Wall -Os -fwrapv -fPIC \
-MP -MD -MF "objects/emc/rs274ngc/interp_remap.d" -MT
"objects/emc/rs274ngc/interp_remap.o" \
emc/rs274ngc/interp_remap.cc -o objects/emc/rs274ngc/interp_remap.o
emc/rs274ngc/interp_remap.cc: In member function ‘int
Interp::add_parameters(setup*, block*, char*)’:
emc/rs274ngc/interp_remap.cc:200: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:201: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:202: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:203: error: ‘end’ is not a member of ‘std’
emc/rs274ngc/interp_remap.cc:204: error: ‘end’ is not a member of ‘std’
make: *** [objects/emc/rs274ngc/interp_remap.o] Fehler 1
Thanks for your help
Norbert
Am 03.01.2016 um 20:55 schrieb Jeff Epler:
> use make V=1 to print the commands as they are executed.
>
> Hm, in my example program I made sure to include <cmath>, but <cmath>
> isn't included in rs274ngc_interp.hh.
>
> I just pushed this change to master branch which may fix it:
>
> commit 18517a3ee9cffe35a27c12d14b314e77794459aa
> Author: Jeff Epler <[email protected]>
> Date: Sun Jan 3 13:54:04 2016 -0600
>
> task: include <cmath> for std::nearbyint
>
> Signed-off-by: Jeff Epler <[email protected]>
>
> diff --git a/src/emc/rs274ngc/interp_internal.hh
> b/src/emc/rs274ngc/interp_internal.hh
> index 6df90b1..f2eb3a9 100644
> --- a/src/emc/rs274ngc/interp_internal.hh
> +++ b/src/emc/rs274ngc/interp_internal.hh
> @@ -24,6 +24,7 @@
> #include "emcpos.h"
> #include "libintl.h"
> #include <boost/python/object_fwd.hpp>
> +#include <cmath>
>
>
> #define _(s) gettext(s)
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers