Re: [Emc-users] Errors when compiling kinematics

2012-05-02 Thread Andrew
2012/5/2 Andrew > I changed genhexkins for my 3 axis platform. It's pretty simple, inverse > kins only, forward to be done. Pity, it won't compile for realtime without forward kinematics. Though it worked on simulator. Have to program the forward now... Andrew -

Re: [Emc-users] Errors when compiling kinematics

2012-05-02 Thread Andrew
2012/5/2 andy pugh > Looking in your genhexkins.h file I can't help feeling that: > #define l 200 > looks like a disaster waiting to happen. > > I think that subsititution will be used in any "downstream" file... Exactly! Thank you, Andy! I'm generally far from programming, particularly C++. An

Re: [Emc-users] Errors when compiling kinematics

2012-05-02 Thread andy pugh
On 2 May 2012 13:39, Andrew wrote: > #include "rtapi.h" /* RTAPI realtime OS API */ > #include "rtapi_app.h" /* RTAPI realtime module decls */ My first thought was that the includes were not being found, but they clearly are, looking at the errors. When you get that sort of mess it normally ind

Re: [Emc-users] Errors when compiling kinematics

2012-05-02 Thread Andrew
2012/5/2 Viesturs Lācis > >From the error message I understand that it does not like 2 lines: > line nr. 94 - this line is repeated at least 4 times: > from /home/pkm/linuxcnc-dev/src/emc/kinematics/genhexkins.c:94: > > and also line 95 - mentioned 3 times: > from /home/pkm/linuxcnc-dev/src/emc/k

Re: [Emc-users] Errors when compiling kinematics

2012-05-02 Thread Viesturs Lācis
2012/5/2 Andrew : > > There's obviuosly some error in genhexkins, whish causes those errors in > other modules (with original genhexkins it compiles OK). >From the error message I understand that it does not like 2 lines: line nr. 94 - this line is repeated at least 4 times: from /home/pkm/linuxcn

[Emc-users] Errors when compiling kinematics

2012-05-02 Thread Andrew
Hi, I changed genhexkins for my 3 axis platform. It's pretty simple, inverse kins only, forward to be done. It is compiled and works well on simulator. But on realtime PC it compiles with lot of errors, and I can't identify the source. There's obviuosly some error in genhexkins, whish causes those